<?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>Halfbrown &#187; Development</title>
	<atom:link href="http://www.halfbrown.com/categories/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.halfbrown.com</link>
	<description>100% Hapa Powered</description>
	<lastBuildDate>Tue, 25 May 2010 00:42:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>

   <image>
    <title>Halfbrown</title>
    <url>http://1.gravatar.com/avatar/b0faa8acf06a36f46a1c962145ebe0b2?s=48&amp;d=i</url>
    <link>http://www.halfbrown.com</link>
   </image>
		<item>
		<title>Stop those hotlinking SOBs with .htaccess.</title>
		<link>http://www.halfbrown.com/stop-those-hotlinking-sobs-with-htaccess/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=stop-those-hotlinking-sobs-with-htaccess</link>
		<comments>http://www.halfbrown.com/stop-those-hotlinking-sobs-with-htaccess/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 07:37:23 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[hotlinking]]></category>
		<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://www.halfbrown.com/?p=1701</guid>
		<description><![CDATA[Is your bandwidth meter spinning like a top, but your page views just aren't where you think they should be for all that "traffic"? It's possible that you, my friend, are a victim of bandwidth theft due to hotlinking. Hotlinkers are dirty SOBs who steal your bandwidth by streaming your graphics, videos and/or music files [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.halfbrown.com%2Fstop-those-hotlinking-sobs-with-htaccess%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.halfbrown.com%2Fstop-those-hotlinking-sobs-with-htaccess%2F&amp;style=normal" height="61" width="50" />
			</a>
		</div><a href="http://www.halfbrown.com/stop-those-hotlinking-sobs-with-htaccess/#attribution"><img src="http://www.halfbrown.com/wp-content/uploads/3485511121_b92e7e64ff_m.jpg" width="240" height="135" alt="Stop those hotlinking SOBs with .htaccess." border="0" class="blogPic imgLeft" /></a>

<p>Is your bandwidth meter spinning like a top, but your page views just aren't where you think they should be for all that "traffic"? It's possible that you, my friend, are a victim of <b>bandwidth theft due to hotlinking</b>. Hotlinkers are dirty <acronym title="Son of a Bitch">SOB</acronym>s who steal your bandwidth by streaming your graphics, videos and/or music files onto their web site(s) directly from yours. Luckily daddy has a relatively simple solution to fix all the badness for you.</p>

<p>While there are a few options you have when you want to deal with hotlinkers, I'm going to demonstrate the easiest and often best suited solution: displaying an alternate graphic instead of the one that the hotlinkers are stealing from your web site. If you'd like more options or want to do something different feel free to leave a comment below and I'll answer as best as I can.</p>

<p>Now for the fun stuff. In the root of your blog's web space, find and download (or create, if necessary) the <code>.htaccess</code> file. After you have a local version, copy and paste the following (and we'll get into why some of the text is in <b>bold</b> in a moment) into the very <em>beginning</em> of the file:</p>

<form action="#">
<fieldset>
<legend>.htaccess file</legend>
<pre>
<code>
#   HOTLINK STOPPER
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?<b>example</b>\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?bloglines\.com/ [NC]
RewriteRule .*\.(jpe?g|gif)$ <b>http://yourothersite.com/hotlink.jpg</b> [R,NC,L]
</code>
</pre>
</fieldset>
</form>

<p>If you don't copy+paste the text above into the beginning of your <code>.htaccess</code> file you may run into problems if you break something that already exists, so please use caution. Also, don't let all the mumbo-jumbo scare you off. It's pretty simple stuff. In fact, there are only six lines, and I'll walk you through what each one does.</p>

<ol>
<li>
<code>&#35;   HOTLINK STOPPER</code>
<p>This line is just a comment (delineated by the &#35; at the beginning of the line) to let you know what this section of your <code>.htaccess</code> file is for. You can comment out any line by prepending it with a &#35; symbol.</p>
</li>
<li>
<code>RewriteEngine On</code>
<p>Turns on the rewrite engine in <a href="http://httpd.apache.org/" rel="nofollow">Apache</a>. Without this, none of the rest of the changes are necessary. Or possible.</p>
</li>
<li>
<code>RewriteCond %{HTTP_REFERER} !^$</code>
<p>Sets a condition for the rewrite engine to ignore anyone with a blank referer. Don't worry about the <code>!^$</code>, it's a regular expression, or "regex", and it works when looking for a blank referer. And yes, that's spelled correctly... for Internet purposes, anyhow. If you're interested in the details, read up on <a href="http://en.wikipedia.org/wiki/Referer" rel="nofollow">how a referrer came to be a referer</a>.</p>
</li>
<li>
<code>RewriteCond %{HTTP_REFERER} !^http://(.+\.)?<b>example</b>\.com/ [NC]</code>
<p>Sets a condition for the rewrite engine to ignore anyone that doesn't have the domain <code><b>example</b>\.com</code> in their referer. Replace the <code><b>example</b></code> portion with your blog's domain name, but make sure that if you've got a .org blog that you keep the backslash in from of the period, otherwise the regex will break.</p>
</li>
<li>
<code>RewriteCond %{HTTP_REFERER} !^http://(.+\.)?bloglines\.com/ [NC]</code>
<p>Sets a condition for the rewrite engine to ignore bloglines.com. This line is optional, but I kept it in this example since Bloglines is a pretty popular RSS reader, and you're probably going to want your readers who use it to see the pictures on your server.</p>
</li>
<li>
<code>RewriteRule .*\.(jpe?g|gif)$ <b>http://yourothersite.com/hotlink.jpg</b> [R,NC,L]</code>
<p>Here's where the fun begins. This line sets up a rule that will server any graphic (in this case a .jpg or .gif file) that is not ruled out from the conditions above to the file <code><b>http://yourothersite.com/hotlink.jpg</b></code>, thereby circumventing those damned, dirty <strike>apes</strike> hotlinkers. To add more file types, just add a pipe ("|") character after <code>gif</code> and the extension (like a <code>png</code>) and you're good to go.</p>
<p>A word of caution: do not use a graphic that is on the domain that you are trying to dissuade hotlinkers from using as you'll cause an infinite loop and in some cases may actually take down your own web server. I've seen it happen, and it ain't pretty. I suggest you set up a free blog account somewhere, such as wordpress.com, and add your hotlink graphic there.</p>
</li>
</ol>

<p>That's pretty much it. All you have to do now is upload your new <code>hotlink.jpg</code> graphic and your <code>.htaccess</code> file and you're good to go. If you've done everything right then the days of your bandwidth being stolen by hotlinkers should be coming to a close.</p>

<a name="attribution"></a>
<div class="txtTiny" xmlns:cc="http://creativecommons.org/ns#" title="http://www.flickr.com/photos/ronin691/3485511121/">Image courtesy of <a rel="cc:attributionURL" href="http://www.flickr.com/photos/ronin691/">http://www.flickr.com/photos/ronin691/</a> / <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.0/">CC BY-SA 2.0</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.halfbrown.com/stop-those-hotlinking-sobs-with-htaccess/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>A 6-Pack of Mac OS X Terminal Tricks.</title>
		<link>http://www.halfbrown.com/a-6-pack-of-mac-os-x-terminal-tricks/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=a-6-pack-of-mac-os-x-terminal-tricks</link>
		<comments>http://www.halfbrown.com/a-6-pack-of-mac-os-x-terminal-tricks/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 18:29:22 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[macintosh]]></category>

		<guid isPermaLink="false">http://www.halfbrown.com/?p=1626</guid>
		<description><![CDATA[I've been a proud Apple Switcher since 2006, but it took me a while to take all of my (not so) secret Windows knowledge and learn all new tips and tricks on the Mac. Being able to become as efficient in the world of Apple as I was with Windows didn't take as long as [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.halfbrown.com%2Fa-6-pack-of-mac-os-x-terminal-tricks%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.halfbrown.com%2Fa-6-pack-of-mac-os-x-terminal-tricks%2F&amp;style=normal" height="61" width="50" />
			</a>
		</div><a href="http://www.halfbrown.com/a-6-pack-of-mac-os-x-terminal-tricks/#attribution"><img src="http://www.halfbrown.com/wp-content/uploads/3328269169_a82df893c2_m.jpg" width="240" height="150" alt="A 6-Pack of Mac OS X Terminal Tricks." border="0" class="blogPic imgLeft" /></a>

<p>I've been a proud Apple Switcher since 2006, but it took me a while to take all of my (not so) secret Windows knowledge and learn all <b>new tips and tricks on the Mac</b>. Being able to become as efficient in the world of Apple as I was with Windows didn't take as long as I thought, but it did have its bumpy parts.</p>

<p>Because of that, and my natural tendency to share knowledge, I've compiled a list of fun tips and tricks in Terminal (i.e. command-line stuff) that I've learned over the last few years. By no means did I discover these on my own... they are a compilation of OSX tips that I’ve found online or from friends with much more Mac knowledge that I.</p>

<ol>
<li>
<b>Show all files, even system files, in Finder</b>:
    <ol>
    <li><p>Open Terminal and type "<code>defaults write com.apple.Finder AppleShowAllFiles YES</code>".</p></li>
    <li><p>Hold down the Option key and click on the Finder icon in the Dock and press Relaunch. You may have to wait a second or two for the relaunch option to display.</p></li>
    </ol>
<p>This one is a life saver for me. I hate not being able to see all files, so this is a must in my Mac machines.</p>
</li>
<li>
<b>Show full file paths in Finder</b>:
<p>Open Terminal and type "<code>defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES</code>".</p>
<p>Another must-have! There are so many useful reasons to see the full file path in Finder, I don't get why it's not on by default.</p>
</li>
<li>
<b>Change the default (PNG) file format for screenshots</b>:
<p>Open Terminal and type "<code>defaults write com.apple.screencapture type EXTENSION</code>", where <code>EXTENSION</code> can be any of the following: BMP, GIF, JPEG-2000, JPEG, PDF, PICT, PNG, PSD, SGI, TGA, or TIFF.</p>
<p>Don't get me wrong, I love PNGs, but sometimes you want a JPG and don't want to crack open Photoshop or some other graphics tool to do it.</p>
</li>
<li>
<b>Securely delete files from a drive</b>:
<p>Open Terminal and type "<code>diskutil secureErase freespace 3 /Volumes/DRIVE</code>" where <code>DRIVE</code> is the drive you want to securely delete.</p>
<p>If you’re not comfortable using the command line, perhaps you should skip this one... it can be a dangerous tool in the wrong hands.</p>
</li>
<li>
<b>Create your own audio book with your Mac's default voice synth</b>:
<p>Open Terminal and type "<code>say -o AUDIOBOOK.aiff -f FILE.txt</code>", where <code>FILE.txt</code> is the path to a text file you want read.</p>
<p>My kids love this one because they think there's a robot inside my MacBook Pro that is reading to them. <img src='http://www.halfbrown.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</li>
<li>
<b>Force Apple Mail to show plaintext vs. HTML email</b>:
<p>Open Terminal and type "<code>defaults write com.apple.mail PreferPlainText -bool TRUE</code>".</p>
<p>I love HTML, but HTML email is, more often than not, a huge annoyance. I turn it off whenever possible.</p>
</li>
</ol>

<p>I hope you've enjoyed these Mac OSX tips and tricks. If you have any that you feel are a must-have, or if you know of another way of doing any of the above, please let me know in the comments for this post.</p>

<a name="attribution"></a>
<div class="txtSmall" xmlns:cc="http://creativecommons.org/ns#" title="http://www.flickr.com/photos/90949166@N00/3328269169/"><a rel="cc:attributionURL" href="http://www.flickr.com/photos/90949166@N00/">http://www.flickr.com/photos/90949166@N00/</a> / <a rel="license" href="http://creativecommons.org/licenses/by/2.0/">CC BY 2.0</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.halfbrown.com/a-6-pack-of-mac-os-x-terminal-tricks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>10 &#8220;Gotta Have&#8221; WordPress Plugins for Your Blog.</title>
		<link>http://www.halfbrown.com/10-gotta-have-wordpress-plugins-for-your-blog/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=10-gotta-have-wordpress-plugins-for-your-blog</link>
		<comments>http://www.halfbrown.com/10-gotta-have-wordpress-plugins-for-your-blog/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 01:10:37 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[gravatar]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.halfbrown.com/?p=1271</guid>
		<description><![CDATA[One of the quickest ways to make blogging easier on yourself is to use WordPress plugins. From automating tasks like backing up your blog articles to guarding your site from spam, plugins enhance your website and help you maintain a top notch blog. Luckily for us all, WordPress makes installing and using plugins as simple [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.halfbrown.com%2F10-gotta-have-wordpress-plugins-for-your-blog%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.halfbrown.com%2F10-gotta-have-wordpress-plugins-for-your-blog%2F&amp;style=normal" height="61" width="50" />
			</a>
		</div><a href="http://www.halfbrown.com/10-gotta-have-wordpress-plugins-for-your-blog/#attribution"><img src="http://www.halfbrown.com/wp-content/uploads/3657331200_7a847d60fe_m.jpg" width="240" height="183" alt="10 &#8220;Gotta Have&#8221; WordPress Plugins for Your Blog." border="0" class="blogPic imgLeft" /></a>

<p>One of the quickest ways to make blogging easier on yourself is to use <b>WordPress plugins</b>. From automating tasks like backing up your blog articles to guarding your site from spam, plugins enhance your website and help you maintain a top notch blog. Luckily for us all, WordPress makes installing and using plugins as simple as a few button clicks.</p>

<p>There are literally thousands of plugins available, but the ones I've listed are ones I use over and over for many reasons. Some are optional depending on your level of blogging or code expertise (and will be noted in the descriptions below), but most of these plugins can be used on any blog to immediately improve things. If you have any questions, comments, or suggestions on plugins please leave me a comment below!</p>

<ol>
<li>
<b><a href="http://akismet.com/" rel="nofollow">Akismet</a></b>:
<p>Akismet is a spam control plugin. Installed by default on all WordPress blogs, Akismet shouldn't even be a question. It's ridiculously accurate in separating spam from real comments and it just works.</p>
</li>
<li>
<b><a href="http://semperfiwebdesign.com/" rel="nofollow">All in One SEO Pack</a></b>:
<p>If you're looking to increase the search engine friendliness of your site, start with this plugin. Coupled with some smart markup (read: HTML) and decent content, your blog will start seeing the love it deserves from Google, Bing, and other search engines. There are some great customization options available, too.</p>
</li>
<li>
<b><a href="http://bluesome.net/post/2005/08/18/50/" rel="nofollow">Exec-PHP</a></b>:
<p>In a nutshell, this WordPress plugin lets you add PHP code inside of posts. If you're even slightly tech-minded, or if you want to add more functionality to your posts, the Exec-PHP plugin is a no brainer. If you don't plan on using PHP I wouldn't worry about this plugin; but if you do this is a must have.</p>
</li>
<li>
<b><a href="http://flagrantdisregard.com/feedburner/" rel="nofollow">FD Feedburner Plugin</a></b>:
<p>Get your RSS feed out there with more panache with a Feedburner account (easily logged into with your iGoogle account). This plugin replaces the default feed and uses the Feedburner feed instead. Once you've set up your Feedburner account you can customize it with a ton of options that will help spread your blog around and gather interest to your site.</p>
</li>
<li>
<b><a href="http://yoast.com/wordpress/analytics/#utm_source=wordpress&#038;utm_medium=plugin&#038;utm_campaign=google-analytics-for-wordpress" rel="nofollow">Google Analytics for WordPress</a></b>:
<p>This plugin <em>automagically</em> puts your Google Analytics code on each page/post as appropriate. It's a great way to get some basic stats and easily integrates with your website. There are plenty of free analytics packages out there, but this one is really simple to get started with and monitor.</p>
</li>
<li>
<b><a href="http://www.arnebrachhold.de/redir/sitemap-home/" rel="nofollow">Google XML Sitemaps</a></b>:
<p>When you update your blog this plugin makes all the necessary updates so Google can parse your site more easily. Highly recommended, especially in conjunction with the "All in One SEO Pack" above!</p>
</li>
<li>
<b><a href="http://www.microkid.net/wordpress/permalinks-moved-permanently/" rel="nofollow">Permalinks Moved Permanently</a></b>:
<p>If you ever rethink how you've categorized posts or decide to update posts on the back-end, there's a good chance that you'll eventually run into a problem with broken permalinks. This plugin is a great go-between that helps you out while you're finding the broken links because it tries to find the update permalink and send them to the right page, all seamlessly.</p>
</li>
<li>
<b><a href="http://www.web-strategy.jp/wp_plugin/ps_disable_auto_formatting/" rel="nofollow">PS Disable Auto Formatting</a></b>:
<p>The PS Disable Auto Formatting plugin lets you get rid of the automated formatting that exists in WordPress posts. Take control of your blog's posts and sculpt the markup as you wish. There are a few minor things to update and/or remember when using this one, but if you want to control your HTML in a post it's a great plugin to have.</p>
</li>
<li>
<b><a href="http://www.ilfilosofo.com/blog/wp-db-backup" rel="nofollow">WordPress Database Backup</a></b>:
<p>Don't get caught with your pants down! If your WordPress ever gets corrupted or if you get hacked, make sure you have a backup with this plugin. It can be configured to automatically backup your content so you can repair if/when necessary.</p>
</li>
<li>
<b><a href="http://wordpress.org/extend/plugins/wp-gravatar/" rel="nofollow">WordPress Gravatars</a></b>:
<p>So you've read my <a href="http://www.halfbrown.com/do-you-want-a-custom-blog-comment-avatar/">Gravatar</a> post and want to hook up your blog readers, have you? Just install the WordPress Gravatars plugin and you'll be on your way. This plugin makes it really easy to have your commenters feel like a part of the blog.</p>
</li>
</ol>

<p>One more thing to note: To make sure your WordPress blog runs as efficiently as possible, be careful how many plugins you install and use. Too many plugins can actually slow things down on your website.</p>

<a name="attribution"></a>
<div class="txtSmall" xmlns:cc="http://creativecommons.org/ns#" title="http://www.flickr.com/photos/ivanwalsh/3657331200/"><a rel="cc:attributionURL" href="http://www.flickr.com/photos/ivanwalsh/">http://www.flickr.com/photos/ivanwalsh/</a> / <a rel="license" href="http://creativecommons.org/licenses/by/2.0/">CC BY 2.0</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.halfbrown.com/10-gotta-have-wordpress-plugins-for-your-blog/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Valid Twitter HTML Widget.</title>
		<link>http://www.halfbrown.com/a-valid-twitter-html-widget/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=a-valid-twitter-html-widget</link>
		<comments>http://www.halfbrown.com/a-valid-twitter-html-widget/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 06:51:33 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.halfbrown.com/?p=430</guid>
		<description><![CDATA[I was a bit surprised when I found out the (now older and difficult, if not impossible, to find anywhere on Twitter) Twitter HTML widget didn't validate. They've got an empty &#060;ul&#062; (e.g. without any &#060;li&#062;'s) in their code, and that makes the W3 HTML validator cranky. The fix (in bold below) is simple enough: [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.halfbrown.com%2Fa-valid-twitter-html-widget%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.halfbrown.com%2Fa-valid-twitter-html-widget%2F&amp;style=normal" height="61" width="50" />
			</a>
		</div><a href="http://www.halfbrown.com/a-valid-twitter-html-widget/#attribution"><img src="http://www.halfbrown.com/wp-content/uploads/twitter-bird-dead-e1263621260812.jpg" width="180" height="137" alt="A Valid Twitter HTML Widget." border="0" class="blogPic imgLeft" /></a>

<p>I was a bit surprised when I found out the (now older and difficult, if not impossible, to find anywhere on Twitter) <b><a href="http://www.twitter.com/" rel="nofollow">Twitter</a> HTML widget</b> didn't <a href="http://validator.w3.org/" rel="nofollow">validate</a>. They've got an empty &#060;ul&#062; (e.g. without any &#060;li&#062;'s) in their code, and that makes the W3 HTML validator cranky.</p>

<p>The fix (in <b>bold</b> below) is simple enough:</p>

<div class="codebg"><code>&#060;ul id="twitter_update_list"&#062;<b>&#060;li style="display: none;"&#062;&#060;/li&#062;</b>&#060;/ul&#062;<br />
&#060;script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"&#062;&#060;/script&#062;<br />
&#060;script type="text/javascript" src="http://twitter.com/statuses/user_timeline/<span style="color: #F00;">YOUR_USER_NAME</span>.json?callback=twitterCallback2&amp;count=5"&#062;&#060;/script&#062;</code></div>

<p>That's it! Easy peasy, Mac-n-Cheesey. Just make sure to also replace "<span style="color: #F00;">YOUR_USER_NAME</span>" with your actual Twitter username. And keep in mind that this is clay... I didn't do anything fancy to any of the resulting HTML, there's no CSS to style the return all prettified and whatnot. I leave that up to you.</p>

<p>If you want to talk about this Twitter HTML widget fix, please feel free to leave a comment here on the blog. You can also <a href="http://twitter.com/halfbrown/" title="Follow halfbrown on Twitter">follow me on Twitter</a> to talk about it, or just say "Hi". </p>

<a name="attribution"></a>
<div  class="txtSmall"><p>Image by <a href="http://www.halfbrown.com/">halfbrown</a>.</p></div>]]></content:encoded>
			<wfw:commentRss>http://www.halfbrown.com/a-valid-twitter-html-widget/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
