<?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>codemonkeyx.net &#187; Programming</title>
	<atom:link href="http://www.codemonkeyx.net/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codemonkeyx.net</link>
	<description>Personal site for Nick Young, a central place for all my stuff on the net.</description>
	<lastBuildDate>Sat, 23 Jul 2011 22:42:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Short URL&#8217;s</title>
		<link>http://www.codemonkeyx.net/2009/08/08/short-urls/</link>
		<comments>http://www.codemonkeyx.net/2009/08/08/short-urls/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 22:49:29 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[codemonkeyx.net]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.codemonkeyx.net/?p=211</guid>
		<description><![CDATA[After installing WordPress one of the first things I wanted to do was make a custom Short URL generator for the site. However after doing a quick search for plugins I found out two modules that will do what I need. The first creates short links for all the posts on the site, the second [...]]]></description>
			<content:encoded><![CDATA[<p>After installing WordPress one of the first things I wanted to do was make a custom Short URL generator for the site. However after doing a quick search for plugins I found out two modules that will do what I need. The first creates short links for all the posts on the site, the second provides a directory of links to external sites. Both modules route all the links through a custom domain I bought.<span id="more-211"></span></p>
<p>So I actually got a custom &#8220;Tweet This!&#8221; link on every post with one line of code in my template, and one simple module called <a href="http://wordpress.org/extend/plugins/short-post-urls/">Short Post URLS</a>. Basically all I did was bought a new domain name that was as short as I could get (http://cmln.us) and mapped it onto my main domain. Now I can link to any post with the following url (http://cmln.us/p/1) where 1 is the post id. All stats and views should be recorded just like regular links to the post. </p>
<p>For general short links to external sites I am trying <a href="http://www.harleyquine.com/php-scripts/short-url-plugin/">Short URL Plugin by Harley</a>. So far I like that it is simple and does the job. But I have not had much chance to play with it yet, so I will have to test it a little more before commenting on how it works. In general though it maps external links onto http://cmln.us/u/1 where 1 is a unique id to the external link. This mod also tracks how many click-throughs there have been.</p>
<p><strong>Extending</strong></p>
<p>There are still some things I would like to add, like a bookmarklet that allows me to quickly create short-links. Also maybe a way to automatically create short-links for every link I create. Also I need to get an auto Tweet or Ping.fm plugin and have the shorturl embedded into my post announcements. </p>
<p>Also I would like the short-links to my posts to be automatically replaced with the longer version onces the user is forwarded. Right now the short domain just replaces my main domain. I am thinking that in the end I might just use the external link generator to create and track links to all links I make and not just external.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codemonkeyx.net/2009/08/08/short-urls/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

