Wednesday, February 27, 2008

How to Add DiggIt button on each post of your blog in blogger


Editing the blogger code is very easy. Google should be appreciated for making such a user friendly codes. Diggit, a very popular social bookmarking website is very useful in bringing in traffic to your blog . Have you ever wondered how to sumit your post to digg. very simple follow the steps below :

* Login to your blogger account
* click customize on the top right corner of the page
* Find and click on Edit HTML
* Check the Expand template widget check Box.
* In the template find the following Tag :

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



* Replace the Above tag with the following 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>


* Save and refresh your blog, Vola !!! you will find Diggit button on each Post !!!

No comments: