<?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>Tue, 18 Jun 2013 19:50:43 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Zend Developer Zone: Using the Digg API with PHP and PEAR]]></title>
      <guid>http://www.phpdeveloper.org/news/15373</guid>
      <link>http://www.phpdeveloper.org/news/15373</link>
      <description><![CDATA[<p>
On the Zend Developer Zone there's a <a href="http://devzone.zend.com/article/12699-Using-the-Digg-API-with-PHP-and-PEAR">recent article about using APIs</a>, specifically on how to use the <a href="http://digg.com">Digg</a> API with the <a href="http://pear.php.net/package/Services_Digg2">Services_Digg2</a> PEAR package.
</p>
<blockquote>
A few weeks ago, a client asked me to add a feed of interesting news stories to his Web application. Naturally, my thoughts turned immediately to Digg, which invariably has something interesting to read and which also offers a Web service API [...] A little Googling, and I found the PEAR Services_Digg2 class, which exposes a neat little PHP interface to the Digg API. As you might imagine, with all these tools to hand, it didn't take long to quickly integrate a feed of Digg stories into the application. 
</blockquote>
<p>
He walks you through the installation of <a href="http://pear.php.net/package/Services_Digg2">the package</a> (a one command step) and a secondary package you'll need due to Digg's authentication, <a href="http://pear.php.net/package/HTTP_OAuth/">HTTP_OAuth</a>. He includes a request and response example (returned in JSON) as well as several code examples for sample requests, searching, working with comments on posts, post comments, "digg" stories and follow other users.
</p>]]></description>
      <pubDate>Wed, 03 Nov 2010 08:42:26 -0500</pubDate>
    </item>
  </channel>
</rss>
