Saturday, October 11, 2008

Adding Social Bookmarking links like Digg, Delicious etc. in Blogger

With a little tinkering of the HTML code of the Blogger template, it is very easy to insert social bookmarking links like Digg, Delicious, Technorati etc. so that readers can directly bookmark the Blog post.
To add these links:
Go to your Blogger Dashboard, Click Layout --> Edit HTML. Then check - Expand Widget Templates
Search for the line: post-footer-line
Just after the line, add the following code:
<p/>Add to: <a expr:href='"http://digg.com/submit?phase=2&url=" + data:post.url + "&title=" + data:post.title' target='_blank'><img HEIGHT='20' WIDTH='50' src='http://lh4.ggpht.com/sambitbikaspal/SPAyI0pMJYI/AAAAAAAAAm0/THLvsaJKvJo/s144/digg-logo.gif'/></a> <a expr:href='"http://del.icio.us/post?url=" + data:post.url + "&title=" + data:post.title' target='_blank'><img HEIGHT='20' WIDTH='75' src='http://lh6.ggpht.com/sambitbikaspal/SPAyIYm0_YI/AAAAAAAAAms/WCVRbA5dBto/s144/delicious_logo.jpg'/></a> <a expr:href='"http://technorati.com/faves?add=" + data:post.url + "&title=" + data:post.title' target='_blank'><img HEIGHT='20' WIDTH='75' src='http://lh3.ggpht.com/sambitbikaspal/SPAyI6EDxdI/AAAAAAAAAm8/foKy9hP8qe4/s144/technorati_logo.jpg'/></a>
<p/>

The links- http://lh6.ggpht.com/sambitbikaspal/SPAyIYm0_YI/AAAAAAAAAms/WCVRbA5dBto/s144/delicious_logo.jpg and the likes correspond to the logos for the respective sites, stored in my Picasa WebAlbum. Alternatively if you want you can upload the logos to some other free image host and change the links accordingly.The net effect of this will be, the social bookmarking links will get added below each of your posts.
Kindly Digg the story if you liked it!

1 comment:

Dhrithi said...

We are pleased to announce the launch of 'YuppMarks'. Yuppmarks.com is a Social bookmarking website which opens the door to new ways of bookmarking, managing and mingles your categorized resources.

A Social Bookmark Website. Anyone can participate and free traffic to your website or blog.

Start your bookmarking information and Share it with the world through Yuppmarks.com

To start just logon to http://www.yuppmarks.com/