Free Blogspot templates

Add Digg vote button on Blogger Template


This tutorial explains how you can add a Digg vote button for each post into the new blogger template.

Open your blogger template, expand the widgets and find this code's line:

<p><data:post.body/></p>

and replace with this code:

<p>
<!-- DIGG -->
<div style='float:right; margin-left:10px;'>
<script type='text/javascript'>
digg_url = '<data:post.url/>';
</script>
<script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
</div>
<data:post.body/>
</p>

You can view the original post here


3 comments:

Anonymous said...

Hi, can I have the source code for the whole row of diggit on http://72.14.253.104/search?q=cache:Uv0tKJmwO9oJ:tipsandtrickz.blogspot.com/2007/06/add-digg-vote-button-on-blogger.html+add+digg+it+to+blogger&hl=en&ct=clnk&cd=16&gl=sg ? Thx

http://pubed.blogspot.com/

Cowbell Commander said...

Hi!

How do you get that cool row of link icons at the bottom of the post? That's really useful and impressive looking. Any info you could share would be most appreciated.

www.autumnthunder.blogspot.com

Antonio Lupetti said...

The original link to this post has moved here: http://woork.blogspot.com/2007/10/add-digg-vote-button-on-blogger.html