<?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>Backdrifter &#187; aim</title>
	<atom:link href="http://www.backdrifter.com/tags/aim/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.backdrifter.com</link>
	<description>The personal site of Jared Hanson</description>
	<lastBuildDate>Tue, 22 Jun 2010 22:16:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Online Status Indicators with Ajax</title>
		<link>http://www.backdrifter.com/2010/01/24/online-status-indicators-with-ajax/</link>
		<comments>http://www.backdrifter.com/2010/01/24/online-status-indicators-with-ajax/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 05:51:11 +0000</pubDate>
		<dc:creator>Jared Hanson</dc:creator>
				<category><![CDATA[Unknown]]></category>
		<category><![CDATA[aim]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[im]]></category>
		<category><![CDATA[msn]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.backdrifter.com/?p=172</guid>
		<description><![CDATA[Back in October, Tantek Çelik wrote an entry on the Microformats blog, featuring my online identity, jaredhanson.net, as an example of a beautifully styled hCard.
While I don&#8217;t claim to be particularly adept at web design, especially compared to the other two featured individuals (Tim Van Damme and Rogie King), my use of Ajax to display [...]]]></description>
			<content:encoded><![CDATA[<p>Back in October, <a href="http://tantek.com/">Tantek Çelik</a> wrote an entry on the <a href="http://microformats.org/">Microformats</a> blog, <a href="http://microformats.org/2009/10/06/recently-2009-09">featuring</a> my online identity, <a href="http://jaredhanson.net/">jaredhanson.net</a>, as an example of a beautifully styled <a href="http://microformats.org/wiki/hcard">hCard</a>.</p>
<p>While I don&#8217;t claim to be particularly adept at web design, especially compared to the other two featured individuals (<a href="http://timvandamme.com/">Tim Van Damme</a> and <a href="http://rogieking.com/#contact">Rogie King</a>), my use of <a href="http://en.wikipedia.org/wiki/Ajax_%28programming%29">Ajax</a> to display a status indicator was highlighted.</p>
<p>Since that time, I&#8217;ve had numerous people inquire as to how I added this functionality to my website.  In response, I&#8217;m supplying the source code that I use.  Download: <a href="http://www.backdrifter.com/assets/2010/01/24/online-status-indicators-with-ajax/web-presence.zip">web-presence.zip</a></p>
<p><span id="more-172"></span></p>
<p>Each of the instant messaging networks I have an account on (<a href="http://www.aim.com/">AIM</a>, <a href="http://www.google.com/talk/">Google Talk</a>, <a href="http://download.live.com/messenger">Windows Live</a>, <a href="http://www.skype.com/">Skype</a>, and <a href="http://messenger.yahoo.com/">Yahoo!</a>) have some form of API or web-based badge which can be queried using <a href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol">HTTP</a>.  On my server, I am running <a href="http://php.net/">PHP</a> code which issues requests to the particular service and translates the response into a <a href="http://en.wikipedia.org/wiki/JSON">JSON</a> object.  When my page loads, Ajax requests are made to retrieve these JSON objects.  Based on presence, the image is updated to reflect whether I am available or away.</p>
<p>For those interested in implementing similar functionality, this code should get you off the ground.  Remember to use the required credentials or keys for your account.  I&#8217;ve made notes where insertions are necessary.  Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.backdrifter.com/2010/01/24/online-status-indicators-with-ajax/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
