<?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"
	>

<channel>
	<title>Zilla Smash!</title>
	<atom:link href="http://patcavit.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://patcavit.com</link>
	<description>I </description>
	<pubDate>Sat, 21 Jun 2008 09:09:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Xbox Live Friends Sidebar Gadget 1.2</title>
		<link>http://patcavit.com/2008/06/20/xbox-live-friends-sidebar-gadget-12/</link>
		<comments>http://patcavit.com/2008/06/20/xbox-live-friends-sidebar-gadget-12/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 01:42:19 +0000</pubDate>
		<dc:creator>Pat Cavit</dc:creator>
		
		<category><![CDATA[Gadgets]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[No Category]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[xboxfriendsgadget]]></category>

		<guid isPermaLink="false">http://patcavit.com/?p=191</guid>
		<description><![CDATA[I&#8217;ve had this sitting on my hard drive for quite some time. I think there was something else I wanted to do with it, but I&#8217;m not really sure.  It&#8217;s been running pretty well for me for months though, so I think it&#8217;s about time I released it!
Version 1.2 has a bunch of small fixes [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had this sitting on my hard drive for quite some time. I think there was something else I wanted to do with it, but I&#8217;m not really sure.  It&#8217;s been running pretty well for me for months though, so I think it&#8217;s about time I released it!</p>
<p>Version 1.2 has a bunch of small fixes in it and some cleaned up graphics. There&#8217;s some issues with the API I&#8217;m hitting causing ghost friends to show up, not much I can do about that. I&#8217;m also noticing some weirdness with the scroll bar in the config panel. It&#8217;s not worth fixing right now.</p>
<p><strong>You know what time it is!</strong></p>
<p><a href="http://patcavit.com/dev/gadgets/Xbox Live Friends.gadget"><img style="border-right: 0px; border-top: 0px; margin: 0px 0px 50px; border-left: 0px; border-bottom: 0px" src="http://patcavit.com/wp-content/uploads/2008/04/download-it.png" border="0" alt="Download the gadget" width="636" height="296" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://patcavit.com/2008/06/20/xbox-live-friends-sidebar-gadget-12/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Xbox Live Friends Sidebar Gadget 1.1</title>
		<link>http://patcavit.com/2008/04/19/xbox-live-friends-sidebar-gadget-11/</link>
		<comments>http://patcavit.com/2008/04/19/xbox-live-friends-sidebar-gadget-11/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 00:11:22 +0000</pubDate>
		<dc:creator>Pat Cavit</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Gadgets]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[YUI]]></category>

		<category><![CDATA[xboxfriendsgadget]]></category>

		<guid isPermaLink="false">http://patcavit.com/?p=189</guid>
		<description><![CDATA[
I said I was working on it this morning, and I wasn&#8217;t even lying!  I&#8217;ve just updated the Xbox Live Friends Gadget to version 1.1 which brings with it almost everything I promised in the previous post!
New Stuff!
I&#8217;ve created an actual landing page for the gadget, http://patcavit.com/xbox-live-gadget/. There&#8217;s also a page helping people copy gadgets [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://patcavit.com/dev/gadgets/Xbox Live Friends.gadget"><img style="border-right: 0px; border-top: 0px; margin: 0px 0px 50px; border-left: 0px; border-bottom: 0px" src="http://patcavit.com/wp-content/uploads/2008/04/download-it.png" border="0" alt="Download the gadget" width="636" height="296" /></a></p>
<p>I said I was working on it this morning, and I wasn&#8217;t even lying!  I&#8217;ve just updated the Xbox Live Friends Gadget to version 1.1 which brings with it almost everything I promised in the <a href="http://patcavit.com/2008/04/19/closing-in-on-xbox-gadget-11/">previous post</a>!</p>
<h3>New Stuff!</h3>
<p>I&#8217;ve created an actual landing page for the gadget, <a title="http://patcavit.com/xbox-live-gadget/" href="http://patcavit.com/xbox-live-gadget/">http://patcavit.com/xbox-live-gadget/</a>. There&#8217;s also a page helping people copy gadgets from their old install to a new one, <a title="http://patcavit.com/xbox-live-gadget/how-to-update/" href="http://patcavit.com/xbox-live-gadget/how-to-update/">http://patcavit.com/xbox-live-gadget/how-to-update/</a>. Both of these pages need a lot of work but it&#8217;s a start. Had to learn a lot of wordpress knowledge I had long forgotten to be able to do that stuff!</p>
<p>So here&#8217;s what did end up making the cut for 1.1</p>
<ul>
<li>The backend web service caches results now, makes updating faster (but the data is no less fresh!)</li>
<li>Expanding in height was retarded, the guidelines were correct. To solve the problem of more than 5 online contacts without expanding there’s now pagination!</li>
<li>Undocked state exists now, might even be marginally useful.</li>
<li>Flyout has a link to open up xbox.com to send user a message over XBL</li>
<li>Error Handling for bad data from the WS</li>
<li>New background images, no longer quite so boring!</li>
<li>List updates are animated with a subtle fade effect. Probably needs more tweaking, but I think it makes a big difference.</li>
<li>Checks to make sure you have the latest version of the gadget and will nag you if not</li>
<li>(Online) Instructions for updating the gadget to save you from having to retype your friends list</li>
<li>(Online) Actual web page for the gadget to provide some useful info</li>
</ul>
<p>Unfortunately showing offline contacts didn&#8217;t make it. That task is quite a bit bigger than I originally though, but may still be coming down the pipe in a future update. There&#8217;s already a list of things I&#8217;m going to be working on next, so here&#8217;s a peek</p>
<ul>
<li>Show total count of online friends somewhere</li>
<li>Flyout wonkiness</li>
<li>Make flyout more useful (it&#8217;s getting there slowly!)</li>
<li>List update fades interfere with the hover effect. This will be amusing to fix, I just know it.</li>
</ul>
<p>So there&#8217;s still plenty for me to do and that was just after having one other person look at this. I&#8217;d love to get some feedback so I could keep working on this. After really getting into it I&#8217;m having a blast working with gadgets.</p>
<p>And now, <strong>pictures</strong>!</p>
<div id="scid:887EC618-8FBE-DEAD-BEEF-2339AF2EC721:1bf9e9b0-ab09-4378-a48b-d374f0fbf405" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"><a title="Upgrade notification" rel="thumbnail" href="http://patcavit.com/wp-content/uploads/2008/04/upgrade-available-8x6.png"><img src="http://patcavit.com/wp-content/uploads/2008/04/upgrade-available.png" border="0" alt="" /></a></div>
<div id="scid:887EC618-8FBE-DEAD-BEEF-2339AF2EC721:bab44337-d0f3-4612-889b-39f9f2cbb8da" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"><a title="Basic error handling" rel="thumbnail" href="http://patcavit.com/wp-content/uploads/2008/04/ws-error-8x6.png"><img src="http://patcavit.com/wp-content/uploads/2008/04/ws-error.png" border="0" alt="" /></a></div>
<div id="scid:887EC618-8FBE-DEAD-BEEF-2339AF2EC721:32f75cf1-1037-456c-8fcb-3944057d625e" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"><a title="Send a message via flyout" rel="thumbnail" href="http://patcavit.com/wp-content/uploads/2008/04/new-flyout-8x6.png"><img src="http://patcavit.com/wp-content/uploads/2008/04/new-flyout.png" border="0" alt="" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://patcavit.com/2008/04/19/xbox-live-friends-sidebar-gadget-11/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Closing in on Xbox Gadget 1.1</title>
		<link>http://patcavit.com/2008/04/19/closing-in-on-xbox-gadget-11/</link>
		<comments>http://patcavit.com/2008/04/19/closing-in-on-xbox-gadget-11/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 10:44:02 +0000</pubDate>
		<dc:creator>Pat Cavit</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Gadgets]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[YUI]]></category>

		<category><![CDATA[xboxfriendsgadget]]></category>

		<guid isPermaLink="false">http://patcavit.com/2008/04/19/closing-in-on-xbox-gadget-11/</guid>
		<description><![CDATA[I&#8217;ve been working on this off and on ever since releasing 1.0, I definitely feel like this is deserving of a whole tenth of a full version bump.&#160; Quick list of things that have changed so far off the top of my head.

The backend web service caches results now, makes updating faster (but the data [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on this off and on ever since releasing 1.0, I definitely feel like this is deserving of a whole tenth of a full version bump.&nbsp; Quick list of things that have changed so far off the top of my head.</p>
<ol>
<li>The backend web service caches results now, makes updating faster (but the data is no less fresh!)</li>
<li>Expanding in height was retarded, the guidelines were correct. To solve the problem of more than 5 online contacts without expanding there&#8217;s now pagination!</li>
<li>Undocked state exists now, might even be marginally useful.</li>
<li>Flyout has a link to open up xbox.com to send user a message over XBL</li>
<li>Error Handling for bad data from the WS</li>
<li>New background images, no longer quite so boring!</li>
<li>List updates are animated with a subtle fade effect. Probably needs more tweaking, but I think it makes a big difference.</li>
</ol>
<p>There&#8217;s still a few things left I want to do before making 1.1 official like update nagging and possibly adding a toggle to the settings page to show all your contacts and just filter it so that the only ones are a different color and show up first. Not sure about that one yet, but it&#8217;s a possibility.</p>
<p>Look, it&#8217;s a SCREENSHOT of the new stuff! Ok so mostly I wanted to play with a Windows Live Writer &#8220;Polariod Image&#8221; plugin, but it&#8217;s still a perfectly reasonable picture. I don&#8217;t feel bad for a second about posting it, so there!</p>
<p>
<div class="wlWriterSmartContent" id="scid:887EC618-8FBE-DEAD-BEEF-2339AF2EC721:dd547c69-2938-4795-b923-adac6156575e" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"><a href="http://patcavit.com/wp-content/uploads/2008/04/friends-gadget-11-undocked-8x6.png" title="New Undocked Mode" rel="thumbnail"><img border="0" src="http://patcavit.com/wp-content/uploads/2008/04/friends-gadget-11-undocked3.png" /></a></div>
</p>
<p>One last thing, I&#8217;ve given the gadget a &#8220;proper&#8221; home page at <a title="http://patcavit.com/xbox-live-gadget/" href="http://patcavit.com/xbox-live-gadget/">http://patcavit.com/xbox-live-gadget/</a> thanks to Wordpress&#8217;s support for pages and custom templates.&nbsp; It took some hunting to figure out how to make a static page include a list of posts from a certain category, but <a title="http://www.transycan.net/blogtest/2007/09/10/static-frontpage-combined-with-dynamic-content/" href="http://www.transycan.net/blogtest/2007/09/10/static-frontpage-combined-with-dynamic-content/">http://www.transycan.net/blogtest/2007/09/10/static-frontpage-combined-with-dynamic-content/</a> was incredibly helpful in answering the questions I had.</p>
<p>Oh that reminds me I have to update the homepage in the gadget metadata&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://patcavit.com/2008/04/19/closing-in-on-xbox-gadget-11/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Xbox Live Friends Sidebar Gadget</title>
		<link>http://patcavit.com/2008/04/14/xbox-live-friends-sidebar-gadget/</link>
		<comments>http://patcavit.com/2008/04/14/xbox-live-friends-sidebar-gadget/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 22:39:10 +0000</pubDate>
		<dc:creator>Pat Cavit</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Gadgets]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[YUI]]></category>

		<category><![CDATA[xboxfriendsgadget]]></category>

		<guid isPermaLink="false">http://patcavit.com/?p=172</guid>
		<description><![CDATA[What&#8217;s the problem?
Knowing when my friends are online on Xbox Live has been a problem I&#8217;ve struggled with for years. When Microsoft announced the Xbox Community Developers program I thought I had found the answer. Then the recipients of the 50 API keys they gave out promptly made a bunch of websites I couldn&#8217;t care [...]]]></description>
			<content:encoded><![CDATA[<h3>What&#8217;s the problem?</h3>
<p>Knowing when my friends are online on Xbox Live has been a problem I&#8217;ve struggled with for years. When Microsoft announced the Xbox Community Developers program I thought I had found the answer. Then the recipients of the 50 API keys they gave out promptly made a bunch of websites I couldn&#8217;t care less about&#8230;</p>
<p>Except for <a href="http://360voice.com">360voice.com</a> (&lt;3 their RSS feeds, I&#8217;m right <a href="http://www.360voice.com/tag/Tivac">here</a>). I really like the daily summaries that pop up into <a href="http://bloglines.com">Bloglines</a>, it&#8217;s cool knowing what games I should get so we can play more.</p>
<p>But even 360voice doesn&#8217;t handle the status info I was interested in. There&#8217;s no good way to have a list of my friends updating in the background so I can tell with a glance who is online and whether or not I should join them.  Plus there&#8217;s the hassle of actually getting someone else to sign up for it, so far I think all of 3 or so friends of mine are on there.</p>
<p>The other issue is one that isn&#8217;t anyone&#8217;s fault, per se. I don&#8217;t want to have to open a webpage to know who is online. The Xbox.com friends page is certainly easy to read, and it sticks all your friends at the top so you can scan it quickly. It still suffers from the fact that I have to actively go to it if I want to see who is online. I could hook up one of the Firefox extensions that checks a page for updates, but that still isn&#8217;t what I&#8217;m looking for.</p>
<h3>That sounds like it should work&#8230;</h3>
<p>So how do I get an unobtrusive, automatically updating list of my friends to sit on my desktop so I know at a glance who is online? Well I&#8217;m rocking Vista and dual-monitors, so I fired up the Sidebar and added the <a href="http://adamkinney.com/studios/xboxfriendswatch/"></a><a href="http://patcavit.com/wp-content/uploads/2008/04/xbox-friends-watch.png"><img style="border-right: 0px; border-top: 0px; margin: 10px 10px 0px 0px; border-left: 0px; border-bottom: 0px" src="http://patcavit.com/wp-content/uploads/2008/04/xbox-friends-watch-thumb.png" border="0" alt="Xbox Friends Watch" width="160" height="238" align="left" /></a>Xbox Friends Watch gadget. It&#8217;s doubly neat because it not only does what I want but it uses Silverlight so there&#8217;s lots of fancy animations and the like.</p>
<p>I was pretty happy with this solution for a while, but it&#8217;s still not quite right. Despite me having more than 5 friends on Xbox Live, I can&#8217;t get updates for them. The gadget will happily add them and even appears to render them on its list, but it doesn&#8217;t support scrolling of any sort. You can kinda mouseover the very bottom and see the highlight travel to the other people on your list, but you&#8217;ll never know if they are online or not. Adding gamertags to it wasn&#8217;t the easiest thing in the world either, as the settings dialog expects tags to be commas-separated , which I always found to be pretty clunky.</p>
<p>Like I mentioned, the hard limit of 5 gamertags wasn&#8217;t a huge issue for me and I was happily using the Xbox Friends Watch gadget for several months.  Eventually though I was having to swap people in and out of the list on a pretty regular basis, depending on which group of friend<a href="http://patcavit.com/wp-content/uploads/2008/04/xbox-friends-watch-config.png"><img style="border-right: 0px; border-top: 0px; margin: 15px 0px 5px 15px; border-left: 0px; border-bottom: 0px" src="http://patcavit.com/wp-content/uploads/2008/04/xbox-friends-watch-config-thumb.png" border="0" alt="Xbox Friends Watch Config" width="182" height="244" align="right" /></a>s I was going to try and play with next. It didn&#8217;t make sense to me that I would have to do that, so I went looking to see if there were any other options out there.</p>
<h3>Not quite, next!</h3>
<p>The closest I found was Duncan MacKenzie&#8217;s <a href="http://www.duncanmackenzie.net/blog/connect-your-xbox-360-gamertag-to-twitter/default.aspx">Xbox to Twitter</a> application. It&#8217;s very cool, and something I contemplated running for a while before deciding that I spammed Twitter (and Facebook, thanks to the Twitter App) and people probably wouldn&#8217;t care that much. Besides, I&#8217;m not looking for ways to broadcast to other people that I&#8217;m online, I want a way to keep tabs on my friends and know when they&#8217;re online.</p>
<p>So Xbox to Twitter wasn&#8217;t what I needed, but it did get me the hook I needed to be able to solve my problem. As part of his twitter app Duncan also put up a Webservice API you can hit to get Xbox status info for a gamertag. Even better, he put up a REST version of it that you can hit using plain old HTTP. It&#8217;s super simple, check this out:</p>
<p><a title="http://duncanmackenzie.net/services/GetXboxInfo.aspx?GamerTag=Tivac" href="http://duncanmackenzie.net/services/GetXboxInfo.aspx?GamerTag=Tivac">http://duncanmackenzie.net/services/GetXboxInfo.aspx?GamerTag=Tivac</a></p>
<div class="csharpcode">
<pre class="alt"><span class="kwrd">&lt;?</span><span class="html">xml</span> <span class="attr">version</span><span class="kwrd">="1.0"</span>?<span class="kwrd">&gt;</span></pre>
<pre><span class="kwrd">&lt;</span><span class="html">XboxInfo</span> <span class="attr">xmlns:xsi</span><span class="kwrd">=<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a></span></pre>
<pre><span class="attr">xmlns:xsd</span><span class="kwrd">="http://www.w3.org/2001/XMLSchema"</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">  <span class="kwrd">&lt;</span><span class="html">AccountStatus</span><span class="kwrd">&gt;</span>Gold<span class="kwrd">&lt;/</span><span class="html">AccountStatus</span><span class="kwrd">&gt;</span></pre>
<pre>  <span class="kwrd">&lt;</span><span class="html">PresenceInfo</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">    <span class="kwrd">&lt;</span><span class="html">Valid</span><span class="kwrd">&gt;</span>true<span class="kwrd">&lt;/</span><span class="html">Valid</span><span class="kwrd">&gt;</span></pre>
<pre>    <span class="kwrd">&lt;</span><span class="html">Info</span><span class="kwrd">&gt;</span>Last seen 58 minutes ago<span class="kwrd">&lt;/</span><span class="html">Info</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">    <span class="kwrd">&lt;</span><span class="html">Info2</span> <span class="kwrd">/&gt;</span></pre>
<pre>    <span class="kwrd">&lt;</span><span class="html">LastSeen</span><span class="kwrd">&gt;</span>2008-04-14T15:42:05-05:00<span class="kwrd">&lt;/</span><span class="html">LastSeen</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">    <span class="kwrd">&lt;</span><span class="html">Online</span><span class="kwrd">&gt;</span>false<span class="kwrd">&lt;/</span><span class="html">Online</span><span class="kwrd">&gt;</span></pre>
<pre>    <span class="kwrd">&lt;</span><span class="html">StatusText</span><span class="kwrd">&gt;</span>Offline<span class="kwrd">&lt;/</span><span class="html">StatusText</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">    <span class="kwrd">&lt;</span><span class="html">Title</span><span class="kwrd">&gt;</span>www.xbox.com<span class="kwrd">&lt;/</span><span class="html">Title</span><span class="kwrd">&gt;</span></pre>
<pre>  <span class="kwrd">&lt;/</span><span class="html">PresenceInfo</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">  <span class="kwrd">&lt;</span><span class="html">State</span><span class="kwrd">&gt;</span>Valid<span class="kwrd">&lt;/</span><span class="html">State</span><span class="kwrd">&gt;</span></pre>
<pre>  <span class="kwrd">&lt;</span><span class="html">Gamertag</span><span class="kwrd">&gt;</span>tivac<span class="kwrd">&lt;/</span><span class="html">Gamertag</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">  <span class="kwrd">&lt;</span><span class="html">ProfileUrl</span><span class="kwrd">&gt;</span>http://live.xbox.com/member/tivac<span class="kwrd">&lt;/</span><span class="html">ProfileUrl</span><span class="kwrd">&gt;</span></pre>
<pre>  <span class="kwrd">&lt;</span><span class="html">TileUrl</span><span class="kwrd">&gt;</span>http://tiles.xbox.com/ti...8M6cr.jpg<span class="kwrd">&lt;/</span><span class="html">TileUrl</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">  <span class="kwrd">&lt;</span><span class="html">Country</span><span class="kwrd">&gt;</span>United States<span class="kwrd">&lt;/</span><span class="html">Country</span><span class="kwrd">&gt;</span></pre>
<pre>  <span class="kwrd">&lt;</span><span class="html">Reputation</span><span class="kwrd">&gt;</span>99.98135<span class="kwrd">&lt;/</span><span class="html">Reputation</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">  <span class="kwrd">&lt;</span><span class="html">ReputationImageUrl</span><span class="kwrd">&gt;</span>http://live.xbox.com/xweb/...gif<span class="kwrd">&lt;/</span><span class="html">ReputationImageUrl</span><span class="kwrd">&gt;</span></pre>
<pre>  <span class="kwrd">&lt;</span><span class="html">GamerScore</span><span class="kwrd">&gt;</span>12860<span class="kwrd">&lt;/</span><span class="html">GamerScore</span><span class="kwrd">&gt;</span></pre>
<pre>  <span class="kwrd">&lt;</span><span class="html">Zone</span><span class="kwrd">&gt;</span>Recreation<span class="kwrd">&lt;/</span><span class="html">Zone</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">  <span class="kwrd">&lt;</span><span class="html">RecentGames</span><span class="kwrd">&gt;</span></pre>
<pre>    <span class="kwrd">&lt;</span><span class="html">XboxUserGameInfo</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">      <span class="kwrd">&lt;</span><span class="html">Game</span><span class="kwrd">&gt;</span></pre>
<pre>        <span class="kwrd">&lt;</span><span class="html">Name</span><span class="kwrd">&gt;</span>Halo 3<span class="kwrd">&lt;/</span><span class="html">Name</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">        <span class="kwrd">&lt;</span><span class="html">TotalAchievements</span><span class="kwrd">&gt;</span>49<span class="kwrd">&lt;/</span><span class="html">TotalAchievements</span><span class="kwrd">&gt;</span></pre>
<pre>        <span class="kwrd">&lt;</span><span class="html">TotalGamerScore</span><span class="kwrd">&gt;</span>1000<span class="kwrd">&lt;/</span><span class="html">TotalGamerScore</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">        <span class="kwrd">&lt;</span><span class="html">Image32Url</span><span class="kwrd">&gt;</span>http://tiles.xbox.com/tiles/oo/P5/0...<span class="kwrd">&lt;/</span><span class="html">Image32Url</span><span class="kwrd">&gt;</span></pre>
<pre>        <span class="kwrd">&lt;</span><span class="html">Image64Url</span><span class="kwrd">&gt;</span>http://tiles.xbox.com/tiles/zS/3N/1W....jpg<span class="kwrd">&lt;/</span><span class="html">Image64Url</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">      <span class="kwrd">&lt;/</span><span class="html">Game</span><span class="kwrd">&gt;</span></pre>
<pre>      <span class="kwrd">&lt;</span><span class="html">LastPlayed</span><span class="kwrd">&gt;</span>2008-04-10T00:25:48-05:00<span class="kwrd">&lt;/</span><span class="html">LastPlayed</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">      <span class="kwrd">&lt;</span><span class="html">Achievements</span><span class="kwrd">&gt;</span>25<span class="kwrd">&lt;/</span><span class="html">Achievements</span><span class="kwrd">&gt;</span></pre>
<pre>      <span class="kwrd">&lt;</span><span class="html">GamerScore</span><span class="kwrd">&gt;</span>770<span class="kwrd">&lt;/</span><span class="html">GamerScore</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">      <span class="kwrd">&lt;</span><span class="html">DetailsURL</span><span class="kwrd">&gt;</span>http://live.xbox.com/en-...o=tivac<span class="kwrd">&lt;/</span><span class="html">DetailsURL</span><span class="kwrd">&gt;</span></pre>
<pre>    <span class="kwrd">&lt;/</span><span class="html">XboxUserGameInfo</span><span class="kwrd">&gt;</span></pre>
<pre class="alt">    ...</pre>
<pre>  <span class="kwrd">&lt;/</span><span class="html">RecentGames</span><span class="kwrd">&gt;</span></pre>
<pre class="alt"><span class="kwrd">&lt;/</span><span class="html">XboxInfo</span><span class="kwrd">&gt;</span></pre>
</div>
<p>A little hard to parse in this format, I know. Hitting that URL in your browser will make it easier to understand though. I also shortened all the URLs and removed a the previous 9 games I had played because honestly, it&#8217;s not <strong>that</strong> interesting and it makes the XML way longer.</p>
<p>This is it though, the data that I needed to solve the problem of &#8220;I want to know what friends are on Xbox Live&#8221; (at least for me!). All I needed to do was to figure out how to use that info. Reaching back into the depths of my memory I recalled my previous attempt at building sidebar gadgets (<a title="http://patcavit.com/2007/05/04/vista-gadget-headaches/" href="http://patcavit.com/2007/05/04/vista-gadget-headaches/">http://patcavit.com/2007/05/04/vista-gadget-headaches/</a>) and how I in fact had tried to build this very gadget once before. Except it failed horribly because I couldn&#8217;t automate a Windows Live login. Well wonder of wonders, with this API I don&#8217;t have to!</p>
<h3>Finally, some progress!</h3>
<p>So after a few days of hacking in JavaScript and PHP I&#8217;ve got a sidebar gadget that takes a list of Xbox gamertags and will update to let you know when any of them are online. It even uses the cool <a href="http://blogs.msdn.com/sidebar/archive/2006/09/21/765604.aspx">Gadget Persistent Storage</a> library to store your list of gamertags when you remove and re-add the gadget. A lot of this is powered by a small subset of <a href="http://developer.yahoo.com/yui">YUI</a> because programming JS without it is too painful. Specifically I&#8217;m using <a href="http://developer.yahoo.com/yui/reset/">Reset</a>, <a href="http://developer.yahoo.com/yui/dom/">DOM</a>, <a href="http://developer.yahoo.com/yui/event/">Event</a>, <a href="http://developer.yahoo.com/yui/json/">JSON</a> &amp; <a href="http://developer.yahoo.com/yui/connection/">Connection</a>.</p>
<p><a href="http://patcavit.com/wp-content/uploads/2008/04/xbox-friends-list.png"><img style="border-right: 0px; border-top: 0px; margin: 10px 10px 0px 0px; border-left: 0px; border-bottom: 0px" src="http://patcavit.com/wp-content/uploads/2008/04/xbox-friends-list-thumb.png" border="0" alt="Xbox Friends List" width="164" height="234" /></a><a href="http://patcavit.com/wp-content/uploads/2008/04/xbox-friends-list-settings1.png"></a><a href="http://patcavit.com/wp-content/uploads/2008/04/xbox-friends-list-flyout.png"><img style="border-right: 0px; border-top: 0px; margin: 10px 0px 0px; border-left: 0px; border-bottom: 0px" src="http://patcavit.com/wp-content/uploads/2008/04/xbox-friends-list-flyout-thumb.png" border="0" alt="Xbox Friends List Flyout" width="372" height="233" /></a></p>
<p>There are of course some caveats to this, but there always are.</p>
<p>Getting a list of gamertags isn&#8217;t automated. I&#8217;m not even sure the people who have direct access to the Xbox Community Developers Program ever got this capability. I doubt it. It means that for now you&#8217;ll still need to input a bunch of gamertags by hand. Fortunately this list is newline separated, so it&#8217;s very quick to add a bunch of them. I&#8217;ve got some stub code in there to parse it from a copy/paste of your <a href="http://live.xbox.com/en-US/profile/Friends.aspx?WT.svl=nav">Xbox.com friends management page</a>, but it isn&#8217;t ready for anyone to actually use yet.</p>
<ol>
<li>It violates Microsoft&#8217;s <a href="http://msdn2.microsoft.com/en-us/library/aa974179.aspx">Gadget UI Guidelines</a>, in that gadgets shouldn&#8217;t change size on anything other than a click. Mine does automatically depending on the number of people online. It could even conceivably become taller than your monitor. Microsoft is definitely right about this and I think it sucks, but I didn&#8217;t figure out a clean way of paginating the data that could stand. This is something I&#8217;m going to work on in the future, but for now it&#8217;s crappy.</li>
<li>There&#8217;s no undocked state. More accurately, it&#8217;s the exact same docked to the sidebar and undocked. Ideally it would expand a bit to shower bigger icons, larger text, and gamerscore (at a minimum) when you undocked the gadget. That&#8217;s on the list of things I&#8217;d like to do someday, but since I never use the gadget undocked is pretty low priority.</li>
<li>There&#8217;s still some weird behaviors. Here&#8217;s the ones I know about.
<ol>
<li>Sometimes the requests to the server for user info just take forever and return empty.</li>
<li>Opening a new flyout when there&#8217;s already one open causes the flyout to lose focus until you click on it. This appears to be a Sidebar/Gadgets limitation so it&#8217;s unlikely to be fixed.</li>
</ol>
</li>
</ol>
<p><a href="http://patcavit.com/wp-content/uploads/2008/04/xbox-friends-list-settings1.png"><img style="border-right: 0px; border-top: 0px; margin: 0px 0px 0px 10px; border-left: 0px; border-bottom: 0px" src="http://patcavit.com/wp-content/uploads/2008/04/xbox-friends-list-settings-thumb.png" border="0" alt="Xbox Friends List Settings" width="264" height="333" align="right" /></a>Still, it works like I need it to which is really the only important thing! I&#8217;d love to have some other people use it and give me feedback though. I&#8217;m always down for hearing about bugs as well, though no promises that they will be something easily fixable.</p>
<p>It&#8217;s not the prettiest thing in the world, I&#8217;ve modelled it after <a href="http://live.xbox.com/en-US/profile/Friends.aspx?WT.svl=nav">xbox.com</a> and the flyout details are powered by the <a href="http://www.xbox.com/en-US/MyXbox/embedgamercard.htm">Embeddable Gamercards</a> offered on xbox.com.  Here&#8217;s an example of the what those look like</p>
<p>Put your gamertag here too.</p>
<p>It&#8217;s lazy but it gets the data I want in there without a lot of hassle on my part. In the future I would like to have a nicer flyout more akin to what Xbox Friends Watch has. Unfortunately, that&#8217;ll be a a good chunk of work to get the interactions right so that&#8217;s a challenge I&#8217;m putting off for another day. I don&#8217;t even really use the flyouts in my day to day gadget usage, but it&#8217;s nice to be able to interact and get a bit more information.</p>
<p>As usual I&#8217;ve written way too much and not posted enough links to just get the damn thing, so here you go!</p>
<p><strong></strong><strong><a href="http://patcavit.com/dev/gadgets/Xbox Live Friends.gadget">Xbox Live Friends Gadget 1.0</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://patcavit.com/2008/04/14/xbox-live-friends-sidebar-gadget/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Zune Backgrounds</title>
		<link>http://patcavit.com/2008/03/01/zune-backgrounds/</link>
		<comments>http://patcavit.com/2008/03/01/zune-backgrounds/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 21:03:56 +0000</pubDate>
		<dc:creator>Pat Cavit</dc:creator>
		
		<category><![CDATA[Demos]]></category>

		<category><![CDATA[Pretty]]></category>

		<category><![CDATA[Tivac.com Projects]]></category>

		<guid isPermaLink="false">http://patcavit.com/2008/03/01/zune-backgrounds/</guid>
		<description><![CDATA[Uploading lots of images with my new image uploader is fun, so I&#8217;m throwing up all of the backgrounds I&#8217;ve collected for my Zune.  They&#8217;re mostly cropped versions of my wallpaper collection, with a few I&#8217;ve found around the Internet scattered here and there.































































































]]></description>
			<content:encoded><![CDATA[<p>Uploading lots of images with my new image uploader is fun, so I&#8217;m throwing up all of the backgrounds I&#8217;ve collected for my Zune.  They&#8217;re mostly cropped versions of my wallpaper collection, with a few I&#8217;ve found around the Internet scattered here and there.</p>
<ul class="image_grid">
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pwwZIsw_whiteringszune.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pwwZIsw_whiteringszune.jpg" alt="whiteringszune.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pPCwuqP_ultimate-strands.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pPCwuqP_ultimate-strands.jpg" alt="Ultimate Strands.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pqQ0gnW_lego-r2-d2.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pqQ0gnW_lego-r2-d2.jpg" alt="LEGO R2-D2.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pZZHO3e_lego-boba-fett.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pZZHO3e_lego-boba-fett.jpg" alt="LEGO Boba Fett.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pG4fXWa_moon-to-earth.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pG4fXWa_moon-to-earth.jpg" alt="moon to earth.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pTUCqvl_organica-grey.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pTUCqvl_organica-grey.jpg" alt="Organica Grey.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/psJVgGC_gow-logo.jpg"><img src="http://tivac.com/upload/images/thumbs/th_psJVgGC_gow-logo.jpg" alt="GOW Logo.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pR349ky_organica-green.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pR349ky_organica-green.jpg" alt="Organica Green.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/p2ZcJ16_atmosphere.jpg"><img src="http://tivac.com/upload/images/thumbs/th_p2ZcJ16_atmosphere.jpg" alt="Atmosphere.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pd4gJbk_earth-space.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pd4gJbk_earth-space.jpg" alt="Earth-Space.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/ptfhOqg_flow-red.jpg"><img src="http://tivac.com/upload/images/thumbs/th_ptfhOqg_flow-red.jpg" alt="Flow Red.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pYm5laR_domo.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pYm5laR_domo.jpg" alt="domo.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/prh4NAr_3805_small.jpg"><img src="http://tivac.com/upload/images/thumbs/th_prh4NAr_3805_small.jpg" alt="3805_small.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/p6qWm4d_logogreyzune.jpg"><img src="http://tivac.com/upload/images/thumbs/th_p6qWm4d_logogreyzune.jpg" alt="logogreyzune.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pgZcqQW_lego-rebel-pilot.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pgZcqQW_lego-rebel-pilot.jpg" alt="LEGO Rebel Pilot.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/ptuHYQ5_blackringszune.jpg"><img src="http://tivac.com/upload/images/thumbs/th_ptuHYQ5_blackringszune.jpg" alt="blackringszune.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pChxxyi_i-love-summer.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pChxxyi_i-love-summer.jpg" alt="I Love Summer.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/p9TB9mU_altered-bliss.jpg"><img src="http://tivac.com/upload/images/thumbs/th_p9TB9mU_altered-bliss.jpg" alt="Altered Bliss.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pMuA38X_brigade-damaged.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pMuA38X_brigade-damaged.jpg" alt="Brigade Damaged.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pygj4ri_qqwl.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pygj4ri_qqwl.jpg" alt="qqwl.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pVl2bWq_lego-darth-vader.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pVl2bWq_lego-darth-vader.jpg" alt="LEGO Darth Vader.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/polstSW_gow-lancer.jpg"><img src="http://tivac.com/upload/images/thumbs/th_polstSW_gow-lancer.jpg" alt="GOW Lancer.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/ptOpAum_lego-stormtrooper.jpg"><img src="http://tivac.com/upload/images/thumbs/th_ptOpAum_lego-stormtrooper.jpg" alt="LEGO Stormtrooper.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pwuBtZd_lego-batman.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pwuBtZd_lego-batman.jpg" alt="LEGO Batman.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pdFpdvn_sound-crushing.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pdFpdvn_sound-crushing.jpg" alt="Sound Crushing.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pstnx9T_halo-3-cg-trailer.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pstnx9T_halo-3-cg-trailer.jpg" alt="Halo 3 CG Trailer.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pwqgMdK_flow-green.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pwqgMdK_flow-green.jpg" alt="Flow Green.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pkV9YUm_nemo-gull.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pkV9YUm_nemo-gull.jpg" alt="Nemo Gull.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pUxm0xN_yarr.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pUxm0xN_yarr.jpg" alt="Yarr.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/plEMk6l_gathering-storm.jpg"><img src="http://tivac.com/upload/images/thumbs/th_plEMk6l_gathering-storm.jpg" alt="Gathering Storm.jpg" /></a></p>
</li>
<li>
<p class="bd"><a href="http://tivac.com/upload/images/pczMjuf_blurry-fireworks.jpg"><img src="http://tivac.com/upload/images/thumbs/th_pczMjuf_blurry-fireworks.jpg" alt="Blurry Fireworks.jpg" /></a></p>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://patcavit.com/2008/03/01/zune-backgrounds/feed/</wfw:commentRss>
		</item>
		<item>
		<title>YUI Uploader Implementation</title>
		<link>http://patcavit.com/2008/03/01/yui-uploader-implementation/</link>
		<comments>http://patcavit.com/2008/03/01/yui-uploader-implementation/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 20:26:24 +0000</pubDate>
		<dc:creator>Pat Cavit</dc:creator>
		
		<category><![CDATA[Demos]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Tivac.com Projects]]></category>

		<category><![CDATA[YUI]]></category>

		<category><![CDATA[Yahoo!]]></category>

		<guid isPermaLink="false">http://patcavit.com/2008/03/01/yui-uploader-implementation/</guid>
		<description><![CDATA[Image Uploading using YUI Uploader Widget
A few days ago the YUI team released the latest and greatest version of the YUI Library, YUI 2.5.0. Along with the usual round of bugfixes and speed improvements this release came with several new components. I personally was the most excited about the Uploader component, as the technology that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://tivac.com/upload/"><strong>Image Uploading using YUI Uploader Widget</strong></a></p>
<p>A few days ago the YUI team released the latest and greatest version of the YUI Library, <a href="http://yuiblog.com/blog/2008/02/20/yui-250-released/">YUI 2.5.0</a>. Along with the usual round of bugfixes and speed improvements this release came with several new components. I personally was the most excited about the <a href="http://developer.yahoo.com/yui/uploader/" title="YUI Uploader Docs" target="_blank">Uploader</a> component, as the technology that powers it also underpins the upload process on <a href="http://video.yahoo.com" title="Yahoo! Video" target="_blank">Yahoo! Video</a>. I didn&#8217;t write the upload pages but I&#8217;m expected to be able to provide bugfixes and enhancements to those pages, so what better way to learn how they work than from the ground up with the Uploader?</p>
<p>Yes, I know there&#8217;s quite a few better ways. This was the most fun sounding way. What can I say, I like 4 day projects in my spare time instead of just reading the existing code. Besides, I wanted a better understanding of it from a lower level than just how the upload code on VYC works.</p>
<p>As mentioned in the YUI Blog posting about 2.5.0, the Uploader is what not only powers <abbr title="video.yahoo.com">VYC</abbr> uploads but Flickr uploads as well. Flickr exposes more of it due to their allowing of multiple files uploaded at once. That&#8217;s not really very easy to do on VYC due to the <strong>much</strong> larger file sizes being used. Still, it&#8217;s there.  I promise.</p>
<p>I&#8217;ve had a free-for-all, open to anyone image uploader chilling out for quite some time at <a href="http://tivac.com/upload/">http://tivac.com/upload/</a>. I wrote it to solve a problem, namely <a href="http://imageshack.us">the</a> other image uploading services available at the time sucked. It was just a quick little thing, with some basic JS that would hide the form element and create a new one so you could upload more than one file at a time.  When you were done it would barf out thumbs of the images along with some common types of link code for forums and the like.  Nothing fancy at all. Well, the new YUI Uploader seemed pretty much tailor-made to work instead of creating new form elements.</p>
<p>Here&#8217;s a good representation of my thought process while I contemplated redoing the image uploader.</p>
<table border="1" cellpadding="2" cellspacing="0" width="700">
<tr>
<th valign="top" width="155">Method</th>
<th valign="top" width="125">Select multiple files from one dialog?</th>
<th valign="top" width="139">Progress feedback available for updating the UI?</th>
<th valign="top" width="139">Smart enough to not totally hose the browser while uploading?</th>
<th valign="top" width="140">Able to dynamically update UI on completion?</th>
</tr>
<tr>
<td valign="top" width="155">Form + JS</td>
<td valign="top" width="125">No</td>
<td valign="top" width="138">No</td>
<td valign="top" width="139">No</td>
<td valign="top" width="141">Sorta</td>
</tr>
<tr>
<td valign="top" width="154">Uploader + JS</td>
<td valign="top" width="125"><strong>Yes</strong></td>
<td valign="top" width="139"><strong>Yes</strong></td>
<td valign="top" width="139"><strong>Yes</strong></td>
<td valign="top" width="142"><strong>Yes</strong></td>
</tr>
</table>
<p>I think that paints a pretty compelling picture of why I&#8217;d go with the YUI lib over the original solution. Aside from requiring Flash 9 and not working on the latest OSX because Adobe and Apple are feuding, there&#8217;s really no downside.  It&#8217;s provably better in every way. Since this is just a junky little personal project and not something important, I don&#8217;t even provide a fallback HTML form any more.  That&#8217;s just how I roll.</p>
<p>Actual implementation was pretty basic. The YUI documentation is excellent as always.  It more or less started life out as a copy of their <a href="http://developer.yahoo.com/yui/examples/uploader/uploader-simple.html">Simple Upload Example</a> and then I hacked the crap out of it. The flow ended up being something along the lines of the following.</p>
<ol>
<li>Browse for image files.<br />
<a href="http://patcavit.com/wp-content/uploads/2008/03/upload-step-1.png"><img src="http://patcavit.com/wp-content/uploads/2008/03/upload-step-1-thumb.png" style="border-width: 0px" alt="upload step 1" border="0" height="71" width="244" /></a></li>
<li>If you selected one you don&#8217;t actually want to upload, clicking it&#8217;s filename will remove it.<br />
<a href="http://patcavit.com/wp-content/uploads/2008/03/upload-step-2.png"><img src="http://patcavit.com/wp-content/uploads/2008/03/upload-step-2-thumb.png" style="border-width: 0px" alt="upload step 2" border="0" height="112" width="244" /></a></li>
<li>Upload the files, watch all the fun progress bars whiz around.<br />
<a href="http://patcavit.com/wp-content/uploads/2008/03/upload-step-3.png"><img src="http://patcavit.com/wp-content/uploads/2008/03/upload-step-3-thumb.png" style="border-width: 0px" alt="upload step 3" border="0" height="100" width="244" /></a></li>
<li>As each file completes, its filename is replaced with a thumbnail and various different pre-filled link codes for HTML and forums.<br />
<a href="http://patcavit.com/wp-content/uploads/2008/03/upload-step-4.png"><img src="http://patcavit.com/wp-content/uploads/2008/03/upload-step-4-thumb.png" style="border-width: 0px" alt="upload step 4" border="0" height="244" width="218" /></a></li>
<li>You can also hit the Export button to just get a list of the URLs of the uploaded images.<br />
<a href="http://patcavit.com/wp-content/uploads/2008/03/upload-step-5.png"><img src="http://patcavit.com/wp-content/uploads/2008/03/upload-step-5-thumb.png" style="border-width: 0px" alt="upload step 5" border="0" height="70" width="244" /></a></li>
</ol>
<p>It sounds complicated because I&#8217;m an engineer and don&#8217;t explain things well.  The cool nerdy thing about this is how very event-driven it is.  For example, take a look at this code chunk.</p>
<p class="csharpcode">&nbsp;</p>
<pre class="alt"><span class="rem">//certain things can only happen once the SWF is ready to rock</span></pre>
<pre><span class="kwrd">this</span>.uploader.addListener(<span class="str">'contentReady'</span>,   <span class="kwrd">this</span>.swfReady);</pre>
<pre class="alt"><span class="rem">//event handlers</span></pre>
<pre><span class="kwrd">this</span>.uploader.addListener(<span class="str">'fileSelect'</span>,         <span class="kwrd">this</span>.onFileSelect);</pre>
<pre class="alt"><span class="kwrd">this</span>.uploader.addListener(<span class="str">'uploadStart'</span>,        <span class="kwrd">this</span>.onUploadStart);</pre>
<pre><span class="kwrd">this</span>.uploader.addListener(<span class="str">'uploadError'</span>,        <span class="kwrd">this</span>.onUploadError);</pre>
<pre class="alt"><span class="kwrd">this</span>.uploader.addListener(<span class="str">'uploadProgress'</span>,     <span class="kwrd">this</span>.onUploadProgress);</pre>
<pre><span class="kwrd">this</span>.uploader.addListener(<span class="str">'uploadCancel'</span>,       <span class="kwrd">this</span>.onUploadCancel);</pre>
<pre class="alt"><span class="kwrd">this</span>.uploader.addListener(<span class="str">'uploadComplete'</span>,     <span class="kwrd">this</span>.onUploadComplete);</pre>
<pre><span class="kwrd">this</span>.uploader.addListener(<span class="str">'uploadCompleteData'</span>, <span class="kwrd">this</span>.onUploadCompleteData);</pre>
<style type="text/css">.csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } </style>
<p>There&#8217;s an event fired by the flash object for pretty much everything you could want.  The only event I found myself wishing it supported was a &#8220;allUploadsComplete&#8221; method.  As it was I had to create a cache of all the file ids being uploaded, and in my handler for uploadComplete I would remove each id from the cache.  If there&#8217;s no more files left to upload, hey presto we&#8217;re done! A little roundabout, especially when having to watch out for files that were selected and then removed.</p>
<p>The other fun thing I decided upon was that instead of using innerHTML and getting back big chunks of HTML from the server (wrapped in JSON, of course) I&#8217;d instead use skeleton structures hidden in the DOM.  A quick</p>
<pre class="csharpcode">YUD.get(<span class="str">'upload_skeleton'</span>).cloneNode(<span class="kwrd">true</span>);</pre>
<style type="text/css">.csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } </style>
<p>and you&#8217;ve got yourself a nice chunk of HTML just waiting for some delicious data to be inserted.  The actual insertion is pretty boring DOM traversals, but by using a skeleton as the base it avoids heavy node creation/appending or a massive innerHTML dump.  The page&#8217;s DOM is a little heavier because it contains these stubs, but there&#8217;s only two of them and page weight isn&#8217;t a big concern for this project.</p>
<p>The progress meters are basically a total ripoff of Flickr, I feel a little bad about it but I really liked their approach of using a background image and just changing the x offset each time uploadProgress was called. It&#8217;s so simple and to the point that I didn&#8217;t see any reason to make it more complicated.</p>
<p>So that all works fine, but I was worried that if I didn&#8217;t copy the URLs correctly right away the images would be lost forever. That meant that I had to write a little PHP script that would output linked thumbs of all the images that had been uploaded.  Since this is a totally unrestricted image uploader there&#8217;s been a few instances of people uploading porn and the like. I&#8217;d rather not deal with that, so there&#8217;s a little delete script as well. It&#8217;s protected by a .htaccess/.htpasswd basic auth setup.  Nothing fancy, but it keeps other people from being able to delete my images.</p>
<p><a href="http://patcavit.com/wp-content/uploads/2008/03/image-browser.png"><img src="http://patcavit.com/wp-content/uploads/2008/03/image-browser-thumb.png" style="border-width: 0px" alt="image browser" border="0" height="266" width="314" /></a></p>
<p>The images are laid out in a big floating grid using <a href="http://hedgerwow.com">Hedger&#8217;s</a> very awesome work on getting display: inline-block to work across browsers. <a href="http://www.hedgerwow.com/360/dhtml/css-inline-block-layout.php">Item List Grid : Practice with display:inline block across browsers</a>. It&#8217;s a technique we also used extensively on <abbr title="video.yahoo.com">VYC</abbr> so it was the first thing that came to mind when just floating a bunch of images that weren&#8217;t the same height went all crazy.</p>
<p>Oh, right.  All the icons are the insanely awesome work of <a href="http://famfamfam.com/">Mark James</a>, specifically his <a href="http://famfamfam.com/lab/icons/silk/">Silk</a> set of icons. I&#8217;m sure you&#8217;ve seen them used pretty much everywhere.  There&#8217;s a good reason for that, they rock.</p>
<p>I&#8217;ve zipped up the source for anyone who wants it, it&#8217;s all pretty well-commented.  You will have to handle the file permissions yourself though. <strong>UPDATE: </strong><a href="http://sitzmar.com">Sitzmar</a> wanted me to point out that all the paths are hard-coded for my uploader.  He says I should be ashamed, I say he should shut up.  Also I don&#8217;t think I included the .htpasswd (obviously) or the .htaccess.  Those are easily set up, a quick search on the internet will answer all questions.</p>
<p><a href="http://tivac.com/upload/upload.zip">upload.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://patcavit.com/2008/03/01/yui-uploader-implementation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sites I read that are worth checking out</title>
		<link>http://patcavit.com/2008/02/13/sites-i-read-that-are-worth-checking-out/</link>
		<comments>http://patcavit.com/2008/02/13/sites-i-read-that-are-worth-checking-out/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 04:51:05 +0000</pubDate>
		<dc:creator>Pat Cavit</dc:creator>
		
		<category><![CDATA[C#]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Yahoo!]]></category>

		<category><![CDATA[text editors]]></category>

		<guid isPermaLink="false">http://patcavit.com/2008/02/13/sites-i-read-that-are-worth-checking-out/</guid>
		<description><![CDATA[This is gonna be a long one, so watch out.  I&#8217;ve been collecting feeds of people who I consider to have really worthwhile things to say about my chosen career (web development, for the people who don&#8217;t know that about me already).  I&#8217;ve got quite a list, and since I&#8217;m of the opinion [...]]]></description>
			<content:encoded><![CDATA[<p>This is gonna be a long one, so watch out.  I&#8217;ve been collecting feeds of people who I consider to have really worthwhile things to say about my chosen career (web development, for the people who don&#8217;t know that about me already).  I&#8217;ve got quite a list, and since I&#8217;m of the opinion that sharing is caring I will be providing a huge list of links to sites that I think are awesome and deserve your attention.</p>
<p>I make no claims that this list is authoritative, in fact I&#8217;d love feedback pointing out really smart people I missed.  I read a lot of feeds but none are more dear to me than the ones contained with my &#8220;development&#8221; folder.  Adding new items to it is a joy each and every time.</p>
<ul>
<li>
<h2>Usability/Design</h2>
<ul>
<li>
<h4>                     <a href="http://www.456bereastreet.com/">456 Berea Street, full text</a> <a href="http://www.456bereastreet.com/feed.xml"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Roger Johansson does a great job of covering usability issues on the web.</li>
<li>
<h4>                     <a href="http://www.90percentofeverything.com">90 Percent of Everything: Usability Blog</a> <a href="http://www.90percentofeverything.com/feed/"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Harry Brignull and Andy Baker cover usability design both on the web and in client apps.</li>
<li>
<h4>                     <a href="http://miksovsky.blogs.com/flowstate/">flow|state</a> <a href="http://miksovsky.blogs.com/flowstate/index.rdf"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Usability fascinates me, and this is one of the best usability blogs I&#8217;ve ever seen.  Updates are infrequent, but always incredibly insightful.</li>
<li>
<h4>                     <a href="http://looksgoodworkswell.blogspot.com/">Looks Good Works Well</a> <a href="http://feeds.feedburner.com/LooksGoodWorksWell"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Bill Scott left Yahoo! for Netflix but we won&#8217;t hold it against him.  His UI design comments are fantastic.</li>
<li>
<h4>                     <a href="http://theresaneil.wordpress.com">Theresaneil&#8217;s Weblog</a> <a href="http://theresaneil.wordpress.com/feed/"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Another really fantastic UI blog.  I wish there were a lot more done this well.</li>
</ul>
</li>
<li>
<h2>Web Development</h2>
<ul>
<li>
<h4>                     <a href="http://www.alistapart.com/">A List Apart</a> <a href="http://www.alistapart.com/rss.xml"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Great writers and a ton of content makes this a great resource.  Doesn&#8217;t update that often, but always great content.</li>
<li>
<h4>                     <a href="http://bitesizestandards.com/">Bite Size Standards</a> <a href="http://feeds.feedburner.com/bitesizestandards"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Tiny little nuggets of web knowledge, updates infrequently but with useful info.</li>
<li>
<h4>                     <a href="http://ajaxian.com">Ajaxian</a> <a href="http://www.ajaxian.com/atom.xml"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Ajaxian&#8217;s great about updating with the newest and greatest javascript libraries and techniques.</li>
<li>
<h4>                     <a href="http://www.bartelme.at/journal/">Bartelme Design – Journal</a> <a href="http://feeds.feedburner.com/bartelme/journal"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Small Design firm based out of Austria that posts nice wallpapers and some decent articles every now and then.</li>
<li>
<h4>                     <a href="http://www.artypapers.com/csshelppile/">CSS Help Pile</a> <a href="http://www.artypapers.com/csshelppile/rss.php"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Monster collection of CSS tips and tricks, always a nice reference to have around.</li>
<li>
<h4>                     <a href="http://www.evotech.net/blog">CSS, JavaScript and XHTML Explained</a> <a href="http://www.evotech.net/blog/feed/atom/"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Browser quirks, CSS techniques, all sorts of stuff.  Updated rarely.</li>
<li>
<h4>                     <a href="http://www.webstandards.org/action/dstf">DOM Scripting Task Force</a> <a href="http://www.webstandards.org/action/dstf/?feed=rss2"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Unofficial group dedicated to promoting good Javascript, I can get behind that goal.</li>
<li>
<h4>                     <a href="http://blog.360.yahoo.com/blog-TBPekxc1dLNy5DOloPfzVvFIVOWMB0li">Douglas Crockford&#8217;s The Department of Style</a> <a href="http://blog.360.yahoo.com/rss-TBPekxc1dLNy5DOloPfzVvFIVOWMB0li"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Crockford discovered JSON and writes great articles about Javascript best practices.  Also see <a href="http://javascript.crockford.com/">javascript.crockford.com</a> and <a href="http://jslint.com">JSLint.com</a>.</li>
<li>
<h4>                     <a href="http://www.dustindiaz.com">Dustin Diaz</a> <a href="http://feeds.feedburner.com/WSwI"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>A Googler (we won&#8217;t hold it against him) yet he still loves YUI (yay!).  Produces a lot of really interesting code snippets.</li>
<li>
<h4>                     <a href="http://www.fiftyfoureleven.com/weblog">Fiftyfoureleven.com</a> <a href="http://www.fiftyfoureleven.com/sandbox/weblog/rss/summary.xml"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Mike Papageorge runs this general web developer resource/weblog.  Good stuff though getting a little stale.</li>
<li>
<h4>                     <a href="http://www.getfirebug.com/blog">Firebug - Web Development Evolved</a> <a href="http://www.getfirebug.com/blog/?feed=rss2"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Firebug development blog, updates almost never but good to have a subscription to in case it does.</li>
<li>
<h4>                     <a href="http://foohack.com">Foo Hack</a> <a href="http://foohack.com/feed/"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Isaac Schlueter is a fellow Yahoo! and writes some fantastic pieces about web development.</li>
<li>
<h4>                     <a href="http://garrettdimon.com">Garrett Dimon</a> <a href="http://feeds.feedburner.com/garrettdimoncom"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Garrett Dimon&#8217;s weblog is wonderfully minimal, yet still provides really great insights into the development process.</li>
<li>
<h4>                     <a href="http://blog.360.yahoo.com/blog-ktYYK_s5fqJ2Hu1ryv2QSL0-?cq=1">HedgerWow`s Blog</a> <a href="http://blog.360.yahoo.com/rss-ktYYK_s5fqJ2Hu1ryv2QSL0-?cq=1"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>I worked with Hedger last summer, he&#8217;s a true mad scientist in the world of web developers.  Seriously, I have no idea how he comes up with most of this but it&#8217;s insane and amazing.</li>
<li>
<h4>                     <a href="http://ifelse.co.uk">If..Else Log</a> <a href="http://ifelse.co.uk/feed/main/"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Only occasionally development related, but still a good read.</li>
<li>
<h4>                     <a href="http://www.joehewitt.com/">JoeHewitt.com</a> <a href="http://www.joehewitt.com/index.xml"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Joe created Firebug, so you know he&#8217;s pretty damn smart.  Too bad his site appears to be unloved these days. Staying subscribed just in case!</li>
<li>
<h4>                     <a href="http://ejohn.org">John Resig</a> <a href="http://feeds.feedburner.com/JohnResig"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Author of JQuery and an all-around Javascript genius, I love reading about John&#8217;s continuing adventures.</li>
<li>
<h4>                     <a href="http://www.johnniemanzari.com/">Johnnie Manzari</a> <a href="http://www.johnniemanzari.com/index.rdf"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Interesting observations about the web, definitely worth checking out.</li>
<li>
<h4>                     <a href="http://www.julienlecomte.net/blog">Julien Lecomte&#8217;s Blog</a> <a href="http://www.julienlecomte.net/blog/feed/"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Julien&#8217;s the author of the YUI compressor and consistenly posts things you should be reading.</li>
<li>
<h4>                     <a href="http://mattsnider.com">Matt Snider JavaScript Resource</a> <a href="http://mattsnider.com/feed/atom/"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Matt Snider does a great job of breaking down JS and investigating all the 8 bajillion frameworks floating around these days.</li>
<li>
<h4>                     <a href="http://nate.koechley.com/blog">Nate Koechley&#8217;s Blog</a> <a href="http://feeds.feedburner.com/NateKoechleysBlog"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>One of the main YUI guys, Nate&#8217;s super smart and consistently posts interesting stuff. Not always web dev related, but always worth checking out.</li>
<li>
<h4>                     <a href="http://particletree.com/">Particletree RSS Digest</a> <a href="http://particletree.com/rss/"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Great articles, wish they&#8217;d start updating again a bit more regularly.</li>
<li>
<h4>                     <a href="http://www.petefreitag.com/">Pete Freitag&#8217;s Homepage</a> <a href="http://www.petefreitag.com/rss/"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Pete&#8217;s a Cold Fusion guy but still posts things that apply to web dev in general.</li>
<li>
<h4>                     <a href="http://ryan.wordpress.com">Ryan on WordPress</a> <a href="http://ryan.wordpress.com/feed/"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>I like WordPress an awful lot, so keeping tabs on its development is a good idea.</li>
<li>
<h4>                     <a href="http://www.schillmania.com/">Schillmania: DHTML and other client-side experiments</a> <a href="http://www.schillmania.com/content/schillmania_rss.xml"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Scott Schiller is a web dev genius. I have no idea how he&#8217;s so good at what he does, I wish I did.  He&#8217;s at Flickr now, before that he worked on the really impressive new Y! Photos that was canned.</li>
<li>
<h4>                     <a href="http://simonwillison.net/">Simon Willison&#8217;s Weblog Entries</a> <a href="http://feeds.simonwillison.net/swn-entries"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Django co-creator, Simon also writes a lot about OpenID.</li>
<li>
<h4>                     <a href="http://www.sitepoint.com/">SitePoint.com</a> <a href="http://feeds.pheedo.com/sitepoint_recent"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Lots of good articles to be found here.</li>
<li>
<h4>                     <a href="http://snook.ca/jonathan/">snook.ca</a> <a href="http://www.snook.ca/jonathan/index.rdf"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Lots of PHP talk, it&#8217;s good stuff.</li>
<li>
<h4>                     <a href="http://www.solutionwatch.com">Solution Watch</a> <a href="http://feeds.feedburner.com/SolutionWatch"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Features new websites that do things well.  Good for keeping up with the current state of web dev.</li>
<li>
<h4>                     <a href="http://www.thinkvitamin.com/">Vitamin Master Feed</a> <a href="http://feeds.feedburner.com/vitaminmasterfeed"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Vitamin is kind of like A List Apart, another big group of contributors writing amazing articles.</li>
<li>
<h4>                     <a href="http://wordpress.org/development">WordPress Development Blog</a> <a href="http://wordpress.org/development/feed/"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Keeping tabs on WP development, even if I don&#8217;t have my hands into the guts as much as I used to.</li>
</ul>
</li>
<li>
<h2>General Development</h2>
<ul>
<li>
<h4>                     <a href="http://www.codinghorror.com/blog/">Coding Horror</a> <a href="http://feeds.feedburner.com/codinghorror/"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Jeff Atwood&#8217;s posts are always well thought out and engaging, I love his blog.</li>
<li>
<h4>                     <a href="http://www.joelonsoftware.com">Joel on Software</a> <a href="http://www.joelonsoftware.com/rss.xml"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Joel Spolsky writes about software development from a very pratical place, having done quite a lot of it himself.</li>
<li>
<h4>                     <a href="http://www.pnotepad.org/">Programmer&#8217;s Notepad</a> <a href="http://www.pnotepad.org/feed/"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Programmer&#8217;s Notepad rocks my world.  I use it every day and love it to pieces.  Keeping up with releases via a feed is tops.</li>
<li>
<h4>                     <a href="http://toys.lerdorf.com/">Rasmus&#8217; Toys Page</a> <a href="http://toys.lerdorf.com/feeds/index.rss2"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Rasmus is really, really smart.  Not surprising, given that he wrote a bunch of PHP (the language itself, not just PHP code).  He&#8217;s another Yahoo! as well.</li>
<li>
<h4>                     <a href="http://the-stickman.com">StickBlog</a> <a href="http://the-stickman.com/feed/"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Lots of good development tips to be found, as well as general programming talk.</li>
<li>
<h4>                     <a href="http://untidy.net/blog">untidy blog » PN</a> <a href="http://untidy.net/blog/category/pn/feed"><img src="http://www.feedicons.com/images/feed-icon-14x14.png" alt="rss icon" /></a></h4>
<p>Programmer&#8217;s Notepad author&#8217;s personal blog.  The feed is just for the PN category, because that&#8217;s the programming related stuff!</li>
</ul>
</li>
</ul>
<p>And just in case you made it to the end of that huge list, here&#8217;s a link to everything I read on a not-at-all daily basis.  It&#8217;s a little ridiculous.  <a href="http://www.bloglines.com/public/tivac">My Feeds</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://patcavit.com/2008/02/13/sites-i-read-that-are-worth-checking-out/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Yahoo! Live Embedding</title>
		<link>http://patcavit.com/2008/02/08/yahoo-live-embedding/</link>
		<comments>http://patcavit.com/2008/02/08/yahoo-live-embedding/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 22:42:36 +0000</pubDate>
		<dc:creator>Pat Cavit</dc:creator>
		
		<category><![CDATA[No Category]]></category>

		<guid isPermaLink="false">http://patcavit.com/2008/02/08/yahoo-live-embedding/</guid>
		<description><![CDATA[HI GUYS LOOK AT ME LOL

]]></description>
			<content:encoded><![CDATA[<p><strong>HI GUYS LOOK AT ME LOL</strong></p>
<p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="412" height="363" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="http://live.yahoo.com/swf/player/tivac" /><embed src="http://live.yahoo.com/swf/player/tivac" width="412" height="363" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://patcavit.com/2008/02/08/yahoo-live-embedding/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Programmer&#8217;s Notepad and JSLint</title>
		<link>http://patcavit.com/2008/02/05/programmers-notepad-and-jslint/</link>
		<comments>http://patcavit.com/2008/02/05/programmers-notepad-and-jslint/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 21:39:15 +0000</pubDate>
		<dc:creator>Pat Cavit</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Work]]></category>

		<category><![CDATA[Yahoo!]]></category>

		<category><![CDATA[text editors]]></category>

		<guid isPermaLink="false">http://patcavit.com/2008/02/05/programmers-notepad-and-jslint/</guid>
		<description><![CDATA[I&#8217;ve been using Programmer&#8217;s Notepad for some time now as my go-to text editor for code.  It&#8217;s simple to use and really robust and over all just a really great tool.  As the Javascript I write has gotten more and more complicated, I&#8217;ve found myself often hitting up Douglas Crockford&#8217;s JS Lint to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://pnotepad.org">Programmer&#8217;s Notepad</a> for some time now as my go-to text editor for code.  It&#8217;s simple to use and really robust and over all just a really great tool.  As the Javascript I write has gotten more and more complicated, I&#8217;ve found myself often hitting up Douglas Crockford&#8217;s <a href="http://jslint.com">JS Lint</a> to sanity check what I&#8217;m doing.  When I found out that Textmate offered JSLint integration via a bundle I have to say I was pretty jealous.</p>
<p>Then I stumbled across a post from Simon Steele, the developer of Programmer&#8217;s Notepad.</p>
<p><a href="http://untidy.net/blog/2007/08/21/tools-i-rely-on-those-i-use-from-pn/">Tools I Rely On - Those I Use From PN</a></p>
<p>So now I knew that you could use JSLint from within Programmer&#8217;s Notepad, and had a starting point in the link he provides to the Windows Scripting Host compatible version.  I began stumbling around the tools menu in <abbr title="Programmer's Notepad">PN</abbr>, trying to figure out how to get the jslint.js file I had downloaded to be usable as a tool.  I figured it out with some help from Simon on the <abbr title="Programmer's Notepad">PN</abbr> forums, <a href="http://pnotepad.org/forums/topic/310?replies=3">Issues with using JSLint as a tool</a>.</p>
<p>With that in place, I was able to get JSLint working as a easily-called tool within <abbr title="Programmer's Notepad">PN</abbr>.  With a simple keystroke I can sanity check my JS for all sorts of nasty behaviors, it&#8217;s totally awesome.  Here&#8217;s a quick walkthrough I wrote up after mentioning this on a <span class="yshortcuts" id="lw_1202247375_1">Yahoo</span>! internal mailing list and getting a question about it.</p>
<ol>
<li> Downloaded the WSH version of JSLint from <a href="http://jslint.com/wsh/index.html">http://jslint.com/wsh/index.html</a> and copied it into a tools subdirectory in the Programmer&#8217;s Notepad directory (just for ease of referencing).</li>
<li> Added a new tool for Javascript files:<br />
Tools -&gt; Add Tools -&gt; Scheme: Javascript -&gt; Add</li>
<li> Settings are as follows:<br />
<img src="http://tivac.com/upload/images/pBFuiEQ_jslint_in_pn.png" alt="JSLint Settings" /></li>
</ol>
<p>Those settings allow for double-clicking the JSLint output line and having <abbr title="Programmer's Notepad">PN</abbr> jump to it, which is really handy.  Unfortunately it stops after every error and always complains about a null character at the end of files, but those are minor annoyances.  It works really well and is pretty quick to get started, which I appreciate.</p>
<p>I&#8217;d love to get it so that it&#8217;ll run JSLint every time I save a .js file, but I don&#8217;t think <abbr title="Programmer's Notepad">PN</abbr> supports that for tools yet.  Something to ask about on their forums, I suppose.</p>
]]></content:encoded>
			<wfw:commentRss>http://patcavit.com/2008/02/05/programmers-notepad-and-jslint/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Work Work Work</title>
		<link>http://patcavit.com/2008/01/18/work-work-work/</link>
		<comments>http://patcavit.com/2008/01/18/work-work-work/#comments</comments>
		<pubDate>Sat, 19 Jan 2008 01:18:28 +0000</pubDate>
		<dc:creator>Pat Cavit</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Work]]></category>

		<category><![CDATA[Yahoo!]]></category>

		<guid isPermaLink="false">http://patcavit.com/2008/01/18/work-work-work/</guid>
		<description><![CDATA[I am insanely busy with work stuff, but we&#8217;re in the home stretch and that&#8217;s really exciting.  I will share more about what I&#8217;ve been doing soon!

]]></description>
			<content:encoded><![CDATA[<p>I am insanely busy with work stuff, but we&#8217;re in the home stretch and that&#8217;s really exciting.  I will share more about what I&#8217;ve been doing soon!</p>
<p><!-- ckey="497061A9" --></p>
]]></content:encoded>
			<wfw:commentRss>http://patcavit.com/2008/01/18/work-work-work/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
