<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 23 May 2013 11:08:00 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Sameer Borate's Blog: Grabbing website Favicons using curl and php]]></title>
      <guid>http://www.phpdeveloper.org/news/16400</guid>
      <link>http://www.phpdeveloper.org/news/16400</link>
      <description><![CDATA[<p>
<i>Sameer Borate</i> has a a new tutorial posted to his blog about <a href="http://www.codediesel.com/php/grabbing-website-favicons-with-curl-php/">grabbing favicons with curl</a> and the help of the Google Shared Stuff API.
</p>
<blockquote>
Google Shared Stuff allows one to easily get the Favicon of any website with a single line. [...] This [curl request] will display the Favicon in the browser. An even more interesting thing we can do is to save the same to a PNG file. 
</blockquote>
<p>
He includes the code to make the curl request to the Google service and save it as the local PNG file. Built on top of this is another script that handles multiple sites (his example uses six different sites), pulls down each of the images and pushes them all together into one. You can <a href="http://www.codediesel.com/wp-content/uploads/2011/05/favicons.gif">see an example here</a>.
</p>]]></description>
      <pubDate>Mon, 30 May 2011 12:52:11 -0500</pubDate>
    </item>
  </channel>
</rss>
