How to add Digg content to your site
Posted on August 30, 2008 at 5:34 am
Digg is famous for it’s great content ranking capability. Articles who get in Digg are high quality since they are already voted by the readers. The more vote an article gets, the more valuable it becomes at Digg. The most voted submissions are put on the first page. If you want to add popular Digg story headlines in your page, this post is for you.
To get the HTML script go to http://digg.com/add-digg.
You will see the Create a Digg Widget interface:
On this example, I chose the second theme with black background and the “Software” selection under the All popular stories. You can choose a category of stories on the dropdown. The preview of the output was instantly displayed. This might have been done by the Digg developers using Ajax since the whole page did not refresh – only the preview refreshed.
The good thing about this tool is that it let’s you filter only Digg submissions by a certain user. This means you can display only stories you submitted yourself!
The lower part of the tool are the display options and the generated HTML code:
Experiment with different settings to get the look and feel that you want. I like this tool a lot since it automates the generation of the script – you can easily make a typo or syntax mistake with this heavily tagged type of code. Since the output is an HTML script, you are free to edit it as you like. You can change the title for example to “My Diggs!”. Just make sure you don’t break the tags or leave out an important syntax component like the semicolon at the end of each line inside the <script> tag.
The final output will be like the one below:
digg_id = ‘digg-widget-container’; //make this id unique for each widget you put on a single page.
digg_description = 1;
digg_target = 1;
digg_theme = ‘digg-widget-theme4′;
digg_title = ‘My Diggs!’;
Ben Carigtan writes about technology, computers and how to get the most out of them.
» Filed Under Computer Tips
Save this page |
Stir it up on Mixx |
|
Add to Reddit |
Related Posts
- How to add Yahoo Chat Pingbox to your website
- Basic WordPress SEO
- How to make photo slideshows in Fireworks CS3
- How to create your own iGoogle theme
- How to use TagCrowds on your website
Save this page
Stir it up on Mixx
Add to Reddit





















