<?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>Hello, I am Sean Murphy &#187; ajax</title>
	<atom:link href="http://iamseanmurphy.com/tag/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://iamseanmurphy.com</link>
	<description>Thoughts, news, code by Sean Murphy</description>
	<lastBuildDate>Thu, 26 Jan 2012 02:37:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>LongURL Integration For Your Website</title>
		<link>http://iamseanmurphy.com/2008/10/10/longurl-integration-for-your-website/</link>
		<comments>http://iamseanmurphy.com/2008/10/10/longurl-integration-for-your-website/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 05:26:42 +0000</pubDate>
		<dc:creator>Sean Murphy</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[longurl]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tinyurl]]></category>

		<guid isPermaLink="false">http://iamseanmurphy.com/2008/10/10/longurl-integration-for-your-website/</guid>
		<description><![CDATA[I wasn&#8217;t sure it could be done, but I&#8217;ve done it. I&#8217;m happy to say that I&#8217;ve made it even easier to use the LongURL web service, specifically on your own site. Today I wrote a jQuery plugin that allows you to add LongURL support to a website in like, I don&#8217;t know, 30 seconds?! [...]]]></description>
			<content:encoded><![CDATA[<p>I wasn&#8217;t sure it could be done, but I&#8217;ve done it. I&#8217;m happy to say that I&#8217;ve made it <em>even easier</em> to use the LongURL web service, specifically on your own site. Today I wrote a jQuery plugin that allows you to add LongURL support to a website in like, I don&#8217;t know, 30 seconds?! It really depends on how fast you are, but the point is that it&#8217;s really easy.</p>
<p>I noticed that Twitter search lets you expand URLs from some of the most popular shortening services (though, if they used LongURL they could support a whole lot more <img src='http://iamseanmurphy.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  ). I liked their UI approach; it&#8217;s clear, simple, and effective. So I pretty much mimicked their UI for my plugin.</p>
<p><span id="more-21"></span><br />
So here it is, you can add support for LongURL to your site in just a few lines of code:</p>
<pre name="code" class="js">&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="http://longurl.org/static/jquery.longurl.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
$(function() {
    $('a').longurl();
});
&lt;/script&gt;</pre>
<p>Yup, that&#8217;s it. Also, if you don&#8217;t like the Ajax working indicator that I chose, you can use your own like so:</p>
<pre name="code" class="js">$(function() {
    $('a').longurl({working_image: 'http://example.com/images/ajaxy_animation.gif'});
});</pre>
<p>So, that&#8217;s how you use the plugin. You can see a <a href="http://longurl.org/static/jquery_demo.html">demo</a> of it in action, and <a href="http://plugins.jquery.com/project/longurl">download it</a> from the jQuery site. Hope you find it useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://iamseanmurphy.com/2008/10/10/longurl-integration-for-your-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

