|
Helping ordinary people create extraordinary websites! |
Stylize Your Digg CountBy Leon Chevalier2008-04-22
What’s a digg count? A digg count normally comes in badge form - I’m sure you’ve seen it. It shows how many diggs a web page has, and provides a link for you to digg it. Digg have gone out of their way to make showing one easy; displaying a single digg count is as simple as dropping in a single piece of JavaScript on your page: <script src=”http://digg.com/tools/diggthis.js” type=”text/javascript”>
</script> Of course, it makes sense that they would - it’s beneficial to them that you send visitors through to their site, and beneficial to you that those visitors end up digging your article. But what if you want to go one step further and display a digg count for a whole range of articles? 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 |
|