Amanda FazaniAdd Social Bookmark Links to your Posts in Blogger

Written by Amanda Fazani from Blogger Buster on April 7, 2008

Add links to social bookmarking sitesSocial bookmarking services are a useful way to aggregate your content across the web and bring more awareness to your blog. Services such as Digg, Stumbleupon and Del.icio.us allow readers to bookmark posts of interest and offer a means for others to discover them too. In this post, I’ll explain how you can add bookmarking links to three popular social bookmarking sites beneath each of your posts in Blogger.

An example of social bookmark links beneath a postOne of the best ways to encourage visitors to bookmark your best posts with these services is to add links to these services beneath each of your posts, like this:

The text links themselves don’t take up too much space (especially if you choose to display these side-by-side), while the icons help draw attention to the links and visually communicate the service they link to.

In Blogger powered blogs, you can add some code to your template which will automatically add your post’s permalink and title; this encourages your readers to use such services as they are able to add your posts quickly and easily to their bookmarking service of choice.

Instructions to add Digg, Stumbleupon and Del.icio.us links beneath your Blogger posts

In your Blogger dashboard, go to Layout>Edit HTML and check the “Expand widget templates” box.

Then search for this line:

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

Directly beneath this line, add one or more of the following sections of code:

Add your post to Digg:

<a style=”background: url(http://digg.com/img/badges/16×16-digg-guy.gif) left no-repeat; padding-left: 20px;” expr:href=’”http://digg.com/submit?phase=2&url=” + data:post.url + “&title=” + data:post.title’ target=’_blank’>DiggIt!</a>

Bookmark with Del.icio.us:

<a style=”background: url(http://images.del.icio.us/static/img/delicious.small.gif) left no-repeat; padding-left: 20px;” expr:href=’”http://del.icio.us/post?url=” + data:post.url + “&title=” + data:post.title’ target=’_blank’>Add to del.icio.us</a>

Stumble this page (Stumbleupon):

<a style=”background: url(http://www.stumbleupon.com/images/stumble.png) left no-repeat; padding-left: 20px;” expr:href=’”http://www.stumbleupon.com/refer.php?url=” + data:post.url + “&title=” + data:post.title’ target=’_blank’>Stumble This</a>

If you prefer to add these links side by side, simply add a space between each of these links. To have each link appear on a separate line, add a line break (<br/>) between each link.

Of course, there are dozens of social bookmarking sites you may like to add your Blogger posts to, but in my experience these three seem to be the most popular ones.

Useful Links

Here are some useful links you may want to read with regard to social bookmarking sites:

Written by Amanda Fazani from Blogger Buster on April 7, 2008 | Filed Under Blogger

Share with others

  • StumbleUpon
  • Add to Delicious
  • Mixx
Unique Blog Designs

8 Responses so far | Have Your Say!

  1. Larry Keiler  |  April 7th, 2008 at 11:03 pm #

    Larry Keiler - Gravatar

    These codes don’t seem to work. I keep getting error messages when I try to put them into my template. I don’t know enough about code to fix them. :cry:

  2. Rajeev Edmonds  |  April 8th, 2008 at 12:41 pm #

    Rajeev Edmonds - Gravatar

    Codes are giving error messages. Not working :sad:

  3. Louis Liem  |  April 9th, 2008 at 2:32 am #

    Louis Liem - Gravatar

    Or you can also use Social Marker. They serve up to 50 social bookmarking sites and saves readers’ time bookmarking your post by auto submitting them to all social bookmarking sites listed. :idea:

    You can read the review on my blog :twisted:

  4. Jason Bridgewater  |  April 21st, 2008 at 1:07 pm #

    Jason Bridgewater - Gravatar

    I had the same issue. Getting Errors. :sad:

  5. pradeep  |  May 23rd, 2008 at 12:26 am #

    pradeep - Gravatar

    hi had some issue. when i added the code after that “data:post.body”. it shows template error while i saving the template :roll:

  6. Eterniel  |  June 3rd, 2008 at 12:01 pm #

    Eterniel - Gravatar

    The original template code was autoformatted by publishing engine and got some symbols autoreplaced. (like ” for ”, ‘ for ’, ‘16×16′ for ‘16×16′ and so on). To make it work you need to replace these symbols back (you can use autoreplace) and also expand ampersand (&) symbol to the actual &amp; code.

    I didn’t knew if my response here is going to be autoformatted as well, so I made a post in my blog with the code that can be properly copypasted: How to add social bookmark links to your posts in Blogger, linking to this original article.
    Hope it helps.

Trackbacks to 'Add Social Bookmark Links to your Posts in Blogger'

  1. Soma.
  2. 21 Days to a more profitable blog - Day 2! Enhance your blog to compel word-of-mouth » Barbara Ling

Leave Feedback

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>