<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Writing your own URL shortener in 25 lines of PHP</title>
	<atom:link href="http://www.jaisenmathai.com/blog/2009/06/05/writing-your-own-url-shortener-in-25-lines-of-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jaisenmathai.com/blog/2009/06/05/writing-your-own-url-shortener-in-25-lines-of-php/</link>
	<description>A blog about killer code</description>
	<lastBuildDate>Thu, 29 Jul 2010 17:11:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Helen Dangote</title>
		<link>http://www.jaisenmathai.com/blog/2009/06/05/writing-your-own-url-shortener-in-25-lines-of-php/comment-page-1/#comment-1215</link>
		<dc:creator>Helen Dangote</dc:creator>
		<pubDate>Sun, 07 Feb 2010 01:37:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=145#comment-1215</guid>
		<description>Thanks for this piece of code. I&#039;m new to your blog and have already found it quite informative. I particularly like this URL shortner example, and will definitely spend time to improve and post back here.

Thanks again</description>
		<content:encoded><![CDATA[<p>Thanks for this piece of code. I&#8217;m new to your blog and have already found it quite informative. I particularly like this URL shortner example, and will definitely spend time to improve and post back here.</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: URL-Shortener-Skripte &#124; datenstreifen.org</title>
		<link>http://www.jaisenmathai.com/blog/2009/06/05/writing-your-own-url-shortener-in-25-lines-of-php/comment-page-1/#comment-1213</link>
		<dc:creator>URL-Shortener-Skripte &#124; datenstreifen.org</dc:creator>
		<pubDate>Tue, 02 Feb 2010 21:16:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=145#comment-1213</guid>
		<description>[...] Angebote wie a.ndy.li zu gestalten. Einige Tutorials wie How To Create Your Own URL Shortener oder Writing your own URL shortener in 25 lines of PHP können vielleicht manch einem schon weiter helfen, jedoch wahrscheinlich nicht der breiten Masse, [...]</description>
		<content:encoded><![CDATA[<p>[...] Angebote wie a.ndy.li zu gestalten. Einige Tutorials wie How To Create Your Own URL Shortener oder Writing your own URL shortener in 25 lines of PHP können vielleicht manch einem schon weiter helfen, jedoch wahrscheinlich nicht der breiten Masse, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to write your own URL shortener in 25 lines of PHP code &#171; Web Page Authority Blog</title>
		<link>http://www.jaisenmathai.com/blog/2009/06/05/writing-your-own-url-shortener-in-25-lines-of-php/comment-page-1/#comment-1208</link>
		<dc:creator>How to write your own URL shortener in 25 lines of PHP code &#171; Web Page Authority Blog</dc:creator>
		<pubDate>Fri, 22 Jan 2010 19:51:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=145#comment-1208</guid>
		<description>[...] Writing your own URL shortener in 25 lines of PHP :: Jaisen Mathai So you want to write a URL shortener? Let’s make it short and painless. You’ll need two pieces: a key generator and redirector. The key generator is used to represent a shortened url with a series of characters, often a-zA-Z0-9. This is what you see at the end of tinyurl and bit.ly links. The redirector needs to link the key to a url and perform a HTTP redirect. Shall we? [...]</description>
		<content:encoded><![CDATA[<p>[...] Writing your own URL shortener in 25 lines of PHP :: Jaisen Mathai So you want to write a URL shortener? Let’s make it short and painless. You’ll need two pieces: a key generator and redirector. The key generator is used to represent a shortened url with a series of characters, often a-zA-Z0-9. This is what you see at the end of tinyurl and bit.ly links. The redirector needs to link the key to a url and perform a HTTP redirect. Shall we? [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.jaisenmathai.com/blog/2009/06/05/writing-your-own-url-shortener-in-25-lines-of-php/comment-page-1/#comment-1191</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sun, 06 Dec 2009 04:06:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=145#comment-1191</guid>
		<description>How about adding a billing system linked to PayPal for selling the offensive words at a premium?</description>
		<content:encoded><![CDATA[<p>How about adding a billing system linked to PayPal for selling the offensive words at a premium?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maurice</title>
		<link>http://www.jaisenmathai.com/blog/2009/06/05/writing-your-own-url-shortener-in-25-lines-of-php/comment-page-1/#comment-996</link>
		<dc:creator>maurice</dc:creator>
		<pubDate>Fri, 02 Oct 2009 20:16:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=145#comment-996</guid>
		<description>why write your own? my project http://smrls.net/ allows anyone to create a free url shortener.. :)</description>
		<content:encoded><![CDATA[<p>why write your own? my project <a href="http://smrls.net/" rel="nofollow">http://smrls.net/</a> allows anyone to create a free url shortener.. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: URL-Shortener für den eigenen Webspace &#124; Links, Scripts, Tools, URLs &#124; Dr. Web Magazin</title>
		<link>http://www.jaisenmathai.com/blog/2009/06/05/writing-your-own-url-shortener-in-25-lines-of-php/comment-page-1/#comment-958</link>
		<dc:creator>URL-Shortener für den eigenen Webspace &#124; Links, Scripts, Tools, URLs &#124; Dr. Web Magazin</dc:creator>
		<pubDate>Mon, 14 Sep 2009 08:34:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=145#comment-958</guid>
		<description>[...] Writing your own URL-Shortener Der Autor zeigt, wie man einen eigenen URL-Shortener mit nur 25 Zeilen PHP-Code erstellt. Die Kommentatoren verbessern den Beitrag. [...]</description>
		<content:encoded><![CDATA[<p>[...] Writing your own URL-Shortener Der Autor zeigt, wie man einen eigenen URL-Shortener mit nur 25 Zeilen PHP-Code erstellt. Die Kommentatoren verbessern den Beitrag. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julius Beckmann</title>
		<link>http://www.jaisenmathai.com/blog/2009/06/05/writing-your-own-url-shortener-in-25-lines-of-php/comment-page-1/#comment-934</link>
		<dc:creator>Julius Beckmann</dc:creator>
		<pubDate>Thu, 10 Sep 2009 14:38:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=145#comment-934</guid>
		<description>Hi there,
i wrote a nice class for url shortening too, you can find in here:
http://juliusbeckmann.de/blog/create-your-own-url-shortener-for-twitter-with-this-easy-to-use-php-class.html
I took few parts of your code and included some ideas from your comments.
Regards, Julius.</description>
		<content:encoded><![CDATA[<p>Hi there,<br />
i wrote a nice class for url shortening too, you can find in here:<br />
<a href="http://juliusbeckmann.de/blog/create-your-own-url-shortener-for-twitter-with-this-easy-to-use-php-class.html" rel="nofollow">http://juliusbeckmann.de/blog/create-your-own-url-shortener-for-twitter-with-this-easy-to-use-php-class.html</a><br />
I took few parts of your code and included some ideas from your comments.<br />
Regards, Julius.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julius Beckmann</title>
		<link>http://www.jaisenmathai.com/blog/2009/06/05/writing-your-own-url-shortener-in-25-lines-of-php/comment-page-1/#comment-933</link>
		<dc:creator>Julius Beckmann</dc:creator>
		<pubDate>Thu, 10 Sep 2009 14:35:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=145#comment-933</guid>
		<description>&lt;strong&gt;Create your own url shortener with this easy to use PHP Class...&lt;/strong&gt;

After using Twitter some time now, i saw several URL shortening services and a few scripts that would do the work. But i did not see any PHP Class for doing this job easily. So i wrote one myself ...

The most mentioned code example for this applicatio...</description>
		<content:encoded><![CDATA[<p><strong>Create your own url shortener with this easy to use PHP Class&#8230;</strong></p>
<p>After using Twitter some time now, i saw several URL shortening services and a few scripts that would do the work. But i did not see any PHP Class for doing this job easily. So i wrote one myself &#8230;</p>
<p>The most mentioned code example for this applicatio&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roonaan</title>
		<link>http://www.jaisenmathai.com/blog/2009/06/05/writing-your-own-url-shortener-in-25-lines-of-php/comment-page-1/#comment-760</link>
		<dc:creator>Roonaan</dc:creator>
		<pubDate>Tue, 11 Aug 2009 20:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=145#comment-760</guid>
		<description>If you are willing to include slashes as an allow character for your hashes, you could just save your database the stress and use apache multiviews with some basic redirect files in a directory trss as caching structure. Hell, you could just skip out on mysql all together.</description>
		<content:encoded><![CDATA[<p>If you are willing to include slashes as an allow character for your hashes, you could just save your database the stress and use apache multiviews with some basic redirect files in a directory trss as caching structure. Hell, you could just skip out on mysql all together.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.jaisenmathai.com/blog/2009/06/05/writing-your-own-url-shortener-in-25-lines-of-php/comment-page-1/#comment-741</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Tue, 04 Aug 2009 19:22:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=145#comment-741</guid>
		<description>It&#039;s because the test empty($key) when $key=0 returns true.  

If I change to if(empty($key)&amp;&amp;$key!=0) then the correct response is returned.</description>
		<content:encoded><![CDATA[<p>It&#8217;s because the test empty($key) when $key=0 returns true.  </p>
<p>If I change to if(empty($key)&amp;&amp;$key!=0) then the correct response is returned.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
