Asked and Answered: A Digg Widget for Blogs
** Thanks for the Bugg Fixes Everyone! WordPress Mangled the Code, But Everything Works Now! Just Copy-and-Paste ** A recent story on Digg requested that a digg widget be created for bloggers to add to their sites. Digg already provides a javascript list of stories dugg, but it does not offer things such as how many diggs it has received, nor does it offer links to the actual stories themselves (just to the page on digg). So, without further adieu, a Digg Widget for everyone else. <script> // YOUR USERNAME var username = "your user name"; // NUMBER OF STORIES TO SHOW, MAX 11 var stories_to_show = 5; // DATA TYPE: dugg, submitted, or commented var data_type = "dugg"; document.write('<scri','pt...
Recent Comments