<?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/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: How to shorten and get stats of a URL from bit.ly API using PHP</title>
	<atom:link href="http://www.digimantra.com/technology/php/shorten-stats-url-bitly-api-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digimantra.com/technology/php/shorten-stats-url-bitly-api-php/</link>
	<description>Technology tips for all</description>
	<lastBuildDate>Sun, 13 Nov 2011 09:56:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Guilherme</title>
		<link>http://www.digimantra.com/technology/php/shorten-stats-url-bitly-api-php/#comment-187534</link>
		<dc:creator>Guilherme</dc:creator>
		<pubDate>Mon, 18 Jul 2011 17:30:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.digimantra.com/?p=2301#comment-187534</guid>
		<description>Great tutorial, thank you so much.

I&#039;ve been trying to place an automatic short link into the pages of a website, but I was using the &quot;file_get_contents&quot; PHP function which is not allowed by security reasons on my host.

Now I tried your method with the &quot;CURL&quot; and it works just fine. 

You might want to update the code, since the bit.ly API service is now working under &quot;api.bitly.com/v3/&quot;

Also, if one just wants to get the short link and nothing else, it is easier to request the pure &quot;txt&quot; format from bitly, so you dont even need to build the object.</description>
		<content:encoded><![CDATA[<p>Great tutorial, thank you so much.</p>
<p>I&#8217;ve been trying to place an automatic short link into the pages of a website, but I was using the &#8220;file_get_contents&#8221; PHP function which is not allowed by security reasons on my host.</p>
<p>Now I tried your method with the &#8220;CURL&#8221; and it works just fine. </p>
<p>You might want to update the code, since the bit.ly API service is now working under &#8220;api.bitly.com/v3/&#8221;</p>
<p>Also, if one just wants to get the short link and nothing else, it is easier to request the pure &#8220;txt&#8221; format from bitly, so you dont even need to build the object.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

