Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Email:

Stylize Your Digg Count

By Leon Chevalier
2008-04-22


The Digg API

So, how do we go about creating our digg count? The first step is to get familiar with the Digg API. What’s an API? Basically, it’s a website that returns data depending on the query that you give it - like Google returning answers to your search query. The difference is that the data comes back in a format that makes it easy for you to use in other applications. Here’s an example.

http://services.digg.com/stories/?link=http://stylizedweb.com/2008/02/14/10-best-css-hacks/[..]

If you click that link it should open up in your browser and you will see the data that digg has on the stylizedweb article about CSS hacks. The data there is in XML format. Digg can also return data in PHP serialized object and JSON format.



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


Related Tutorials:
» Drupal CMS e-Commerce Module Basics
» Creating an Online Newsletter with Drupal
» Setting Up Subversion for Development on Windows
» Installing Apache on Windows
» Ecommerce Imagery: Persuading with Pictures
» Customizable Websites - The Definitive Guide