21 May 2007

Add Digg vote button in Blogger post

  1. Template ကို Backup လုပ္ပါ။
  2. Expand Widget Template ကိုေရြးပါ။
  3. ဒီ Code ကို ရွာပါ။
  1. Replace with
<!-- DIGG -->
<div style='float:right; margin-left:10px;'>
<script type='text/javascript'>
digg_url = '<data:post.url/>';
<script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
Source : Ajaxcold


  1. showing digg vote button in all posts in not good. Coz it loads and gets the data (digg_count) from digg.com within post looping. I think, it can slow down blog loading and sometimes, seeing "0" digg count is not look good too. If you think either your post is good or useful then submit in digg first. After you've finished it, get the digg_url and javascript and embed in post which you submitted in digg. Nowadays, blogger allows us to embed javascript while creating a post. How cool! we can embed Adsense script ;). Check my sample posts under "Dugg Posts" in my sidebar.

  2. thz: bro. Actually I'm testing everything :)
    anyway, I got good idea from you. cheers!


Thanks for your comment.