Adding a ‘Digg’ button to your Blogger / WordPress posts

Digg is a very popular site that allows users to vote for the content that they want to make popular, in the sense, the editorial decisions are made by people, not by a separate team. And what is Digg ? If you have not heard of Digg by now, you should have ! Description from the people at Digg !
Digg is a place for people to discover and share content from anywhere on the web. From the biggest online destinations to the most obscure blog, Digg surfaces the best stuff as voted on by our users. You won’t find editors at Digg — we’re here to provide a place where people can collectively determine the value of content and we’re changing the way people consume information online. How do we do this? Everything on Digg — from news to videos to images — is submitted by our community (that would be you). Once something is submitted, other people see it and Digg what they like best. If your submission rocks and receives enough Diggs, it is promoted to the front page for the millions of our visitors to see. And as per Alexa, 0.5% of internet users come to Digg (which is a huge absolute number).

So, how do you ensure that your posts are added to Digg ? It’s fairly simple now, all you need to do is to read a bit about the options posted on the Digg Tools page (click here). This page gives you the code that needs to be added to your blog (or other web page). However, in a majority of the cases, you would want the code to be added such that it shows up automatically in all your articles / posts. You can do this by adding the code to the template ? You might ask, how do do that ? Well, now it gets a bit complicated whether you use Blogger or WordPress.

For Blogger, if you are still using the older version of Blogger, then it is fairly easy to step into the code of the older Blogger interface, go to the Template option -> Edit HTML, and then go to the section of code where it says <p class=’post-footer’>. Add the code from http://digg.com/tools/integrate below this section, and you are good to go.

If you are using the newer version of Blogger, then you need to update your template, a bit trickier option. Remember, if you update your template, you should take a backup earlier. Here is this excellent post detailing how to modify the template (click here). However, you cannot just use the code as described in the blog, since the Digg code has changed and is much simpler. You need to find the section of template as described in the article, and then use the code for Digg from the http://digg.com/tools/integrate page.

if you using WordPress (not WordPress.com hosted blog), then you need to modify the WordPress template for making this change. Login into wp-admin for your blog, go to the Design -> Theme Editor -> Single Post.
After you reach the line, php the_content(‘Read the rest of this entry, in the next line, add the code for Digg from the http://digg.com/tools/integrate page.

You should be good to go with this. As to the question of which Digg to use from the http://digg.com/tools/integrate page, I recommend that you go with the first option, where it says “Digg This” with Submit Capability.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>