<?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>Caneblu.com &#187; url</title>
	<atom:link href="http://www.caneblu.com/tag/url/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.caneblu.com</link>
	<description>Solo un altro blog targato WordPress</description>
	<lastBuildDate>Mon, 10 May 2010 20:32:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>WordPress: make a short urls</title>
		<link>http://www.caneblu.com/2010/02/wordpress-make-a-short-urls/</link>
		<comments>http://www.caneblu.com/2010/02/wordpress-make-a-short-urls/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 09:42:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://www.caneblu.com/?p=132</guid>
		<description><![CDATA[Today, services like Twitter impose the use of short URL, certainly in the network there are several free services, but if we want something we can use custom WordPress to create a dedicated service to our blog. The trick is to exploit the demand for each item, calling for his ID stored in the database. [...]]]></description>
			<content:encoded><![CDATA[<p>Today, services like Twitter impose the use of short URL, certainly in the network there are several free services, but if we want something we can use custom WordPress to create a dedicated service to our blog. The trick is to exploit the demand for each item, calling for his ID stored in the database.</p>
<p>In part we can put this piece of HTML code to display a link to &#8220;short&#8221;.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> get_bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;/?p=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.caneblu.com/2010/02/wordpress-make-a-short-urls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
