Just some stub code for you to retrieve digg results and write them to a db

Download diggexample now

Requires pear packages MDB2 and Services_Digg from pear.php.net. Note you'll need to set the preferred-state pear var to alpha to get Services_Digg. Or, just download the packages manually and put them in your include path.

Installation
Assuming you have pear:

  1. pear config-set preferred_state alpha
  2. pear install MDB2
  3. pear install Services_Digg
  4. tar -xzf diggexample-0.0.1.tgz
  5. cd diggexample-0.0.1
  6. mysql -u username -p < diggretrieve.sql test
  7. Change the settings in diggsource_common.php to match your db
Run with the command:
php diggretrieve.php
Have Fun!

Much more information here: http://apidoc.digg.com/ToolkitsServicesDigg