Stylize Your Digg Count
By Leon Chevalier2008-04-22
A PHP Example

Over at http://purrl.net I didn’t just want to display the digg count for a few links like in the examples above - I wanted to display it for up to 200 links on one page. If this is the case for you, you will need to store the digg count, most usefully in a database. Personally, I set up a database table for my link info. Two of the fields assocated with the link were “digg_count” and “digg_story_id”. I then periodically query the digg API to update the count.
Tutorial Pages:
» What’s a digg count?
» The Example
» The Digg API
» A PHP Example
» A class to query the API
» An AJAX Example
» Which links get a digg count?
» Starting the digg count
» Downloads
