Pages

Blog post updated : no update

Sunday, June 10, 2007

Blogger - Add Digg vote button

Ok, after adding Technorati tags, maybe you want to add the Digg button on your blog so that easy for your readers to "digg" your entry.

Open you HTML page on template tab, expand widget templates and then find this code:-

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

and replace with this 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>

Simple right? I'm not using it right now because I've no fresh content. Just a lot of useful information I got from Internet and my experience. Go to dX-Demo if you would like to see how it works. Try it now!!

Update : I have created a new blog, dX-Demo to demonstrate all the codes/tips.

Credits : Ayaxcold

5 comments:

Anonymous said...

Thanks for the link to ajaxcold :-)

kamarul said...

yeahh..it's ok..your blog design is great..hehe

Anonymous said...

I didnt found this :(
data:post.body

Is this work for beta blogger?

kamarul said...

You should expand the html template by clicking the Expand Widgets Template checkbox on the top-right of your html code..

And after that, scroll down and you will find the data:post.body

yea..it's working on beta/new blogger..

Anonymous said...

i use old html template, how to use this scripts?

 
Powered by Blogger