Digg is the social content website where we submit our favorite content. Its a very good idea to have a button on the site content so that visitor easily submit that content to digg. To show digg button on blogger post we to put some code on the template.
1.) Find the below line on the blogger template (its found when "Expand Widget Templates" is clicked).
<p><data:post.body/></p>
2.) Now replace this above code with
<div style='float:left; margin-right:10px;'>
<script type='text/javascript'>
digg_url='<data:post.url/>';
</script>
<script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
</div>
<p><data:post.body/></p>
This will show the digg button on ur post's left top corner. To change button's orientation simply change div orientation.
This entry was posted
on Sunday, July 05, 2009
.
You can leave a response
and follow any responses to this entry through the
Subscribe to:
Post Comments (Atom)
.
1 comments