Feb 27, 2009

How to add a "Digg" button to your blogspot posts?

This is a pretty easy task, follow these steps:

  1. Go to "Layout" - "Edit HTML"
  2. Backup your template
  3. Click the box "Expand Widget Templates"
  4. Find "<data:post.body/>" in the template
  5. Add following lines BEFORE "<data:post.body/>"

<div style='float:right; margin-left:10px;'>
<script type='text/javascript'>
digg_url=&quot;<data:post.url/>&quot;;
</script>
<script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
</div>

No comments:

Welcome to Non-geek's
Linux Handbook!

or if you will, Linux Cookbook.

Read my READY-TO-USE
RECIPE-LIKE
tutorials on Linux applications~

Subscribe if you are willing to follow.

If you find the post useful, please click the donate button on the upper right corner. Any amount is useful.