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:
...<data:post.body/>...
and add on top to <data:post-body> this code:
<!-- 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/>
<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/>
This is the original post that I have added on Digg exactly 234 days ago from this date: Add Digg vote button on Blogger Template
If you want to add a small digg button like on this site, find this code into your blogger template (select expand widget):
<div class='post hentry'>
<a expr:name='data:post.id'/>
<a expr:name='data:post.id'/>
<!-- DIGG -->
<div style='float:right; margin-top:4px;'>
<script type='text/javascript'>
digg_url = "<data:post.url/>";
digg_skin = "compact";
digg_window = "new";
</script>
<script src='http://digg.com/tools/diggthis.js' type='text/javascript'></script>
</div>
<div style='float:right; margin-top:4px;'>
<script type='text/javascript'>
digg_url = "<data:post.url/>";
digg_skin = "compact";
digg_window = "new";
</script>
<script src='http://digg.com/tools/diggthis.js' type='text/javascript'></script>
</div>
No comments:
Post a Comment