Among some of the interesting things that I've found out upon blogging is the sharing widget. A sharing widget is a widget in the form of a button that can let you share a specific post in your blog at ease. It makes the sharing process easier by just clicking on the button. Today I'm gonna share with you on how to add a Digg share button with counter on your blogger.


Here's how:
  1. First of all, as a rule of thumb, before you make any customizations with your HTML, Save a Template of it first.
  2. Then, tick on the box to Expand Widget Templates.
  3. Copy this code. and paste it in your HTML.
       1:  <!-- DIGG BUTTON START -->
       2:  <script type='text/javascript'>
       3:  digg_url = &#39;<data:post.url/>&#39;;
       4:  </script>
       5:  <script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
       6:  <!-- DIGG BUTTON END -->

  4. Search for this code:
       1:  <data:post.body/>

  5. Paste it before this if you want the button to be above your post and after it if you want it well, after it. Basically the code represents the body of the post.

    And, you're done!
    Happy digg-ing!




Posted by Wai Kit at 12:48 AM

 
Copyright 2005-2007. Hello Wiki designed by Fen, Blogger Templates by Blogcrowds. Wai Kit Says logo designed by Wai Yen.