<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>archGFX &#187; javascript</title>
	<atom:link href="http://archgfx.net/tag/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://archgfx.net</link>
	<description>Austin web designer - Adam Freetly</description>
	<lastBuildDate>Wed, 28 Sep 2011 13:50:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>four times in two months</title>
		<link>http://archgfx.net/blog/2007/geek/blogging/four-times-in-two-months</link>
		<comments>http://archgfx.net/blog/2007/geek/blogging/four-times-in-two-months#comments</comments>
		<pubDate>Fri, 23 Feb 2007 16:38:56 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[2.1]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://archgfx.net/blog/2007/asides/four-times-in-two-months</guid>
		<description><![CDATA[i upgraded my blog again last night, to help joen with some bugsquashing on Fauna RC2. after not touching my wordpress install for the better part of a year, it's odd to be updating it this many times in 2 months. I still had to do a manual hack to get my WYSIWYG tabbed editor [...]]]></description>
			<content:encoded><![CDATA[<p>i <a href="http://wordpress.org/development/2007/02/new-releases/">upgraded my blog</a> again last night, to help joen with some bugsquashing on <a href="http://www.noscope.com/fauna/2007/02/fauna-rc-on-wordpress-21-fauna-rc2#respond">Fauna RC2</a>.  after not touching my wordpress install for the better part of a year, it's odd to be updating it this many times in 2 months.  I still had to do a <a href="http://http://trac.wordpress.org/ticket/3572#comment:20">manual hack to get my <acronym title='What You See Is What You Get'><span class='caps'>WYSIWYG</span></acronym> tabbed editor to work</a>.  Nazgul's suggesting that i should keep doing this, so i used my handy new <strike>computer hacking</strike>  SVN skillz to make a patch, so i don't have to work so hard next time:  <strong>UPDATE</strong>: something in 2.1.1/2.1.2 changed, and my patch stopped fixing it.  this is a new version.  you may also need to <a href="http://sunburntkamel.archgfx.net/2006/04/03/validator-me/">hack gzhandler() out of functions.php</a>.</p>
<p><a href="http://archgfx.net/aspnet_client/tiny_mce_gzip.php.2.1.2.patch" class="download">tiny_mce_gzip.php.patch</a></p>
<p>the upgrade also means that my <acronym title='What You See Is What You Get'><span class='caps'>WYSIWYG</span></acronym> editor is <a href="http://wordpress.org/support/topic/105082?replies=5">back to the standard font and padding</a>.  i dunno how i feel about that.</p>
<p><span id="more-997"></span></p>
<p><strong>UPDATE:</strong> to apply the patch, i highly recommend using <a href="http://tortoisesvn.net/">tortoise SVN</a>.  because i like GUI's and not having to remember the command line syntax.</p>
<p>download the patch, and right click on it, like so:</p>
<p><img src="http://sunburntkamel.files.wordpress.com/2007/02/applypatch.jpg" alt="right click" /></p>
<p>tortoise will ask you where to apply it, choose the directory where you've downloaded wordpress 2.1.1.  it should then tell you that it's found a similar file in <code>wp-includes/js/tinymce</code>.  it'll bring up a split panel window showing the patch and the current version of the file.  double click the file in the little window that shows up, close it, hit save, and then upload the changed file to your blog.</p>
<p><img src="http://sunburntkamel.files.wordpress.com/2007/02/tortoisemerge.jpg" alt="merge window" /></p>
]]></content:encoded>
			<wfw:commentRss>http://archgfx.net/blog/2007/geek/blogging/four-times-in-two-months/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Save your contact page from spam</title>
		<link>http://archgfx.net/blog/2007/geek/blogging/save-your-contact-page-from-spam</link>
		<comments>http://archgfx.net/blog/2007/geek/blogging/save-your-contact-page-from-spam#comments</comments>
		<pubDate>Thu, 18 Jan 2007 18:59:39 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://archgfx.net/blog/2007/asides/save-your-contact-page-from-spam</guid>
		<description><![CDATA[there are a couple of different methods for blocking email harvesting bots from your contact page. Some involve javascript and obfuscating the email address. some involve putting the address in an image. my new favorite trick involves both. first, go get your email address turned into escaped HTML characters. Take the code they give you, [...]]]></description>
			<content:encoded><![CDATA[<p>there are a couple of different methods for blocking email harvesting bots from your contact page.  Some involve javascript and obfuscating the email address.  some involve putting the address in an image.  my new favorite trick involves both.<br />
first, go <a href="http://www.golivecentral.com/pages/txttut/scramble.shtml">get your email address turned into escaped <acronym title='HyperText Markup Language'><span class='caps'>HTML</span></acronym> characters</a>.  Take the code they give you, and wrap it in a span with a specific class, and add the same class to the link:</p>
<pre>&lt;span class="jsmail"&gt;&lt;!--
document.write("&lt;a href='mailto:<code><font color="red">put your scrambled address here</font></code>' class='jsmail'&gt; wp-admin [at] archgfx [dot] net&lt;/a&gt;"))
// --&gt; 

&lt;/script&gt;

&lt;/span&gt;</pre>
<p>I also changed the 'contact us!' text to a human readable, but not copyable version of the email address.  Now, <a href="http://safemail.justlikeed.net/">get your email turned into an image</a>, and we're going to use the image in <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym>, so that even if a real person is browsing the site with javascript disabled, they'll still see the email address:</p>
<pre>
.jsmail {

display: block;

width: 129px;

height: 11px;

background: url('http://safemail.justlikeed.net/e/dd6330802be7d20f41dc95336e2acbfa.png') no-repeat 0 0;

text-indent: -9000px;

}</pre>
<p>i like it.  it's not completely accessible, but it's pretty good.  it's reliable, and it won't be confusing to people with older browsers or strict security settings.  <a href="http://www.archgfx.net/aspnet_client/obfuscated1.html">Here's an example</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://archgfx.net/blog/2007/geek/blogging/save-your-contact-page-from-spam/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exposing the Lurkers</title>
		<link>http://archgfx.net/blog/2007/geek/blogging/exposing-the-lurkers</link>
		<comments>http://archgfx.net/blog/2007/geek/blogging/exposing-the-lurkers#comments</comments>
		<pubDate>Mon, 15 Jan 2007 20:21:22 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[meme]]></category>
		<category><![CDATA[widgets]]></category>
		<category><![CDATA[wordpress.com]]></category>

		<guid isPermaLink="false">http://archgfx.net/blog/2007/asides/exposing-the-lurkers</guid>
		<description><![CDATA[Engtech is posting everywhere about MyBlogLog making a widget for WordPress.com blogs. I don't know that the Custom CSS upgrade is actually necessary. I hope not, background-color:teal; is really ugly, so i changed it. Kudos to MyBlogLog. they're pulling the same trick as feedburner's feedflare, calling images that are actually generated on the fly. It's [...]]]></description>
			<content:encoded><![CDATA[<p>Engtech is posting everywhere about <a href="http://engtech.wordpress.com/2007/01/15/mybloglog-widget-for-wordpresscom-blogs-one-of-the-best-web-widgets-available/">MyBlogLog making a widget for WordPress.com blogs</a>. I don't know that the Custom <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> upgrade is actually necessary.  I hope not, <code>background-color:teal;</code> is really ugly, so i changed it.</p>
<p><a href="http://mybloglogb.typepad.com/my_weblog/2006/12/myspace_and_wor.html" title="their announcement">Kudos to MyBlogLog</a>.  they're pulling the same trick as feedburner's feedflare, calling images that are actually generated on the fly.  It's a much better solution than javascript.  the more companies that realize this, and starting running GD scripts in order to appeal to the myspace crowd, the less whining from people like scoble about wordpress.com's perfectly valid security settings.</p>
<p>i have yet to see whether it works, though.  I don't know if i should have the community pointed at sbk.wp.com, or sbk.archgfx.net.</p>
]]></content:encoded>
			<wfw:commentRss>http://archgfx.net/blog/2007/geek/blogging/exposing-the-lurkers/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>turning off akismet</title>
		<link>http://archgfx.net/blog/2007/geek/blogging/turning-off-akismet</link>
		<comments>http://archgfx.net/blog/2007/geek/blogging/turning-off-akismet#comments</comments>
		<pubDate>Tue, 09 Jan 2007 15:22:38 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[ads]]></category>
		<category><![CDATA[akismet]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://archgfx.net/blog/2007/asides/turning-off-akismet</guid>
		<description><![CDATA[my attempts at delurking aren't going very well.  nonetheless, raven's anti-spam has brought spam to a dead stop.  after commenting myself (man i'm uncool), i found this:  akismet was blocking the good comments.  not that they were hard to find in the list, since there were no spam comments. there's a simple choice. akismet is [...]]]></description>
			<content:encoded><![CDATA[<p>my attempts at <a href="http://www.archgfx.net/blog/index.php/2007/asides/lurking-and-spamming#comment-8276">delurking</a> aren't going very well.  nonetheless, <a href="http://kahi.cz/blog/ravens-antispam-for-wordpress">raven's anti-spam</a> has brought spam to a dead stop.  after commenting myself (man i'm uncool), i found this:  akismet was blocking the good comments.  not that they were hard to find in the list, since there were <em>no spam comments</em>.</p>
<p>there's a simple choice. akismet is disabled.  akismet is great if you're willing to accept some false positives.  i'm not.</p>
]]></content:encoded>
			<wfw:commentRss>http://archgfx.net/blog/2007/geek/blogging/turning-off-akismet/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>in which it becomes clear that scoble is, in fact, a freeloader.</title>
		<link>http://archgfx.net/blog/2006/geek/blogging/in-which-it-becomes-clear-that-scoble-is-in-fact-a-freeloader</link>
		<comments>http://archgfx.net/blog/2006/geek/blogging/in-which-it-becomes-clear-that-scoble-is-in-fact-a-freeloader#comments</comments>
		<pubDate>Mon, 09 Oct 2006 13:01:30 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[ads]]></category>
		<category><![CDATA[Custom-CSS]]></category>
		<category><![CDATA[greed]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[selfishness]]></category>
		<category><![CDATA[wordpress.com]]></category>

		<guid isPermaLink="false">http://archgfx.net/blog/2006/asides/in-which-it-becomes-clear-that-scoble-is-in-fact-a-freeloader</guid>
		<description><![CDATA[You're a VIP, and you're still not happy? Whiskey. Tango. Foxtrot. Seriously, you already got a custom template, and the right to run ads on a service that no one else does, and you want more? I mean, there are people asking for this stuff every day on the forums. but they didn't get a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://scobleizer.wordpress.com/2006/09/18/how-to-beat-scoble-on-wordpresscom/">You're a VIP, and you're still not happy</a>? Whiskey.  Tango.  Foxtrot.</p>
<p>Seriously, you already got a <a href="http://wordpress.com/vip-hosting/" title="what robert gets, but apparently doesn't pay for">custom template</a>, and the right to run ads on a service that no one else does, and you want more?</p>
<p>I mean, there are people asking for this stuff every day on the forums.  but they didn't get a sweet deal from matt.  they got face value, possibly before there was even so much as a <acronym title='Terms of Service'><span class='caps'>TOS</span></acronym>.</p>
<p>They don't have the ability to change their <a href="http://sunburntkamel.wordpress.com/2006/09/21/themes-vs-skins/" title="do you really need to?">template files</a>, but they can buy a <a href="http://sunburntkamel.wordpress.com/2006/09/15/the-thin-line/" title="you can do pretty much all the appearance modifying you want with this stuff."><acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> upgrade</a>.  Components from other web companies?  did you  mean like meebo?  or like flickr?  del.icio.us?  or perhaps you have an <acronym title='Rich Site Summary'><span class='caps'>RSS</span></acronym> feed you'd like to display?</p>
<p>wordpress.com stops you short in one place, and one place only.  <a href="http://sunburntkamel.wordpress.com/2006/08/07/i-hate-javascript/" title="i hate javascript">javascript</a>. (well, flash too, but i've seen few complaints about that).  the only reason you think that javascript is a limitation is because the <a href="http://blogger.com" title="go google, it's you birthday">host of a million splogs</a> lets you add them.  And you see where that got them.  It's not a new limitation to the million of mypace users.  or livejournal users.  or xanga users. or msn spaces users.</p>
<p>so, yes, robert, i'd choose wordpress.com for any blog for myself or any of my friends.  it's got the <a href="http://wordpress.com/features/" title="what you can do with wordpress.com">horsepower under the hood</a>, without the stigma of being a <a href="http://livejournal.com" title="sorry, sixapart.  other than that it's a really good service">dramafest for teenage girls</a>. But then, I know more <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> tricks than most folks.  and the flexibility of the <a href="http://plaintxt.org/themes/sandbox" title="the background #fff guy's finest hour">sandbox</a> is lost on those who don't.</p>
]]></content:encoded>
			<wfw:commentRss>http://archgfx.net/blog/2006/geek/blogging/in-which-it-becomes-clear-that-scoble-is-in-fact-a-freeloader/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

