Adding Social Links To Your Blogger Posts

You’ve seen them, you might have used them, but how do bloggers put those social links into their Blogger posts?  Here’s a list of some of the more popular social bookmarking sites and how to include their links in your Blogger posts to help your visitors to bookmark and promote your posts easily.

Including a way for your visitors to bookmark individual posts within your blog is quite beneficial too.  The primary URL used to access your blog is most likely the greatest link you have spread across the Internet, but what about the individual pages?  Bookmarking and linking to the individual pages in your site is also highly beneficial, and providing a way for your visitors to do this easily will only help to improve your blogs standing in search engine results.

Update!  If you want to use images instead of textual links, please see my post on Using Images for your Social Links for Blogger instead.  Code ready!

Blogger Template Modification

To use the social bookmarking items found below, you’ll need to modify your template a little.  And I might say these are untested with the older template system on Blogger.  Being that these apply to each and every post, it makes sense to place all these at the end of each post.  You could add them to the top of each post if you wanted, but that would go against the grain of normal usage in most cases.  If you are not familiar with editing your template, a great place to start is a post I wrote on using the Edit HTML Layout screen in Blogger.

Modify Your Template

To begin, we’ll need to locate a section of the template code to inject these code snippets into.  I decided to modify the Views On Life blog to include these are the end of each post, and you can see them in action there.

You will want to include these snippets immediately after the following lines of code in your template (check the ‘Expand Widget Templates’ checkbox to see this code):

<div class='post-footer'>
<div class='post-footer-line post-footer-line-1'>

This will position these new items to sit on top of the default Blogger post footer items such as your name, date of blog post and comment link.  You might also want to add a <br> tag at the end of all the items you add to create a two row list of links.

WordPress Users

If you have a WordPress blog, you might want to check out the post over at Exploding Boy for the same information tailored for WordPress.

Helping By Example

The examples will show you what happens when  you use the exact same code to help me promote this post.  Please show some support if you use any of these by using the examples as well.

itwitter Twitter

Example: TwitThis 

<a expr:href='"http://twitthis.com/twit?url="
    + data:post.url + "&title="
    + data:post.title'>TwitThisa>

 

istumbleupon StumbleUpon

Example: StumbleThis

<a expr:href='"http://www.stumbleupon.com/submit?url="
    + data:post.url + "&title="
    + data:post.title'>StumbleThisa>

 

delicious Delicious

Example: Save to Delicious

<a expr:href='"http://del.icio.us/post?v=4&partner=fb&url="
    + data:post.url + "&title="
    + data:post.title'>Save to Deliciousa>

 

digg Digg

Example: Digg This

<a expr:href='"http://digg.com/submit?phase=2&url="
    + data:post.url'>Digg Thisa>

 

itechnorati Technorati

Example: Technorati

<a expr:href='"http://technorati.com/faves?add="
    + data:post.url'>Technoratia>

 

blinklist Blinklist

Example: Blinklist

<a expr:href='"http://blinklist.com/index.php?Action=Blink/addblink.php&url="
    + data:post.url+ "&title="
    + data:post.title'>Blinklista>

furl Furl

Example: Furl

<a expr:href='"http://furl.net/storeIt.jsp?u="
    + data:post.url+ "&t="
    + data:post.title'>Furla>

reddit Reddit

Example: Reddit

<a expr:href='"http://reddit.com/submit?url="
    + data:post.url+ "&title="
    + data:post.title'>Reddita>

Anything Missing?

This post covers a number of sites, but there are more out there.  From the examples above you might be able to derive your own for other sites.  If you want me to create one for you though and update this post I’d be more than happy to, just let me know.

Update: I’ve just found a list of these that are formatted for use with the older template system Blogger used to use.

Another Update! The Technorati link was performing a search and not an add.  It’s been updated above, please update your templates if you used this code.  Thanks to Diesel for calling this to my attention.


You might also enjoy these related posts

  1. Using Images For Your Social Links On Blogger Posts In my recent post on Adding Social Links To Your Blogger Posts, I showed how to put social links into the footer of your Blogger blog posts.  What if you...
  2. Using Social Submitter to Promote Your Posts I’ve been a bad little social whore.   With the number of social sites popping up each week, I’ve been pondering how one might start using these sites to help promote...
  3. Adding a Technorati Link Count Widget to Blogger This post was motivated by Gary, an ever spunky and highly motivated blogger that I truly admire. He recently asked my how to get Technorati’s Link Count widget installed on...
  4. Adding the AddThis Widget to Graffiti Posts I’m playing around with Grafitti a bit and figured I’d add the Add This widget to each post. I didn’t see anything inherent in the application to do this, so...
  5. The problem with aggregating your blog posts to social networks If you’re like me, and let’s be honest, who is, but if you happen to have a little bit of my traits, you might find social networks to be a...

About Wayne

Wayne John is a web developer in Southern California that shares his 25+ years of programming and web development experience freely and happily to anyone willing to learn. He also loathes speaking in the third person. If you enjoyed this post, make sure you subscribe to my RSS feed or get updates in your email.
This entry was posted in Blogging Help & Tips and tagged , , . Bookmark the permalink.

18 Responses to Adding Social Links To Your Blogger Posts

  1. Diesel says:

    Just added this to my new blog at http://sanozzellan.co.uk
    Thanks once more Wayne

  2. Short Jokes says:

    I just gone through the way ,you told..I think its right way.lets see!!!and examples are helpful in implementing…thanks

  3. Rahul Jadhav says:

    Thanks for sharing all the codes.

  4. Wayne says:

    Grad you found it! Cheers!

  5. izu mou says:

    Thanks ,I wonder how to do this in my blogger Blog.It was helpful.

  6. Wayne says:

    Nice! Mazel tov to you too!

  7. Mitch says:

    Awesome, thank you! Here’s a helpful guide on adding tags to WP posts, to supplement: http://polimedia.us/Business_Online/viewtopic.php?f=15&t=19

    Mazel tov?

  8. Wayne says:

    Hey there DedeAndro ™ :) Glad you found it worthy of a Digg. Cheers!

  9. DedeAndro™ says:

    Interesting, helpful and useful post you have here. Dugg it on Digg! See ya..

  10. Wayne says:

    Indeed! In fact, tomorrow I’ll have a post that expands upon this. In fact, you’ll be able to use images by simply dropping a little bit of code in your template.

  11. Gera says:

    Hi John,

    A very interesting post…it is important to make this button available to expand the post to the social media sites!

    Gera .:. sweetsfoods

  12. Wayne says:

    Ankit, you are correct. Feedburner supplies these types of links within the feed itself, but this is different. This will place those links at the footer of each Blogger post, and they will not be included in your feed.

    If you want to use images instead, simply replace the anchor text with an reference. You’ll need a place to put the actual image file, but once you have a reference to it, you can use the image tag and simply point to your hosted image in the source property. See: http://www.waynejohn.com/post/2008/10/22/Using-HTML-To-Define-An-Image.aspx

    Hi Gary, no wait required, you just need to update your profile on Google. I’ll find out where you need to do that at. I know you’re not in a rush, so I might post on that as well. Thanks for playing along Gary!

    I think when you get settled that this will be a fun effort for you. Let me know when you do it and I’ll check it out and test it for you (testing also means promoting in this case) :)

  13. GaryJay says:

    will file this post away for future reference to use once I get my life put back together, right now starting to put everything in boxes—-oh, oh, did try to add myself to your Goggle Friend Connect widget, but was unable to upload my pic??—or was I suppose to wait to be invited?

  14. Ankit says:

    Hi Wayn!!
    Good one.But i think If we have a feedburner account,it say that we can add it automatically.Though i have seen it only in my feeds.
    However,i still feel that pictures make it a lot more visible and happening than showing links.

  15. Wayne says:

    Thanks Adam! I’m trying out the OnlyWire widget above, check it out, it’s pretty nice compared to the others I’ve seen.

  16. Adam says:

    Groovy post Wayne. I have been adding a lot of social sites to my bookmarks navigation…some of which don’t give you an easy link to add your navigation such as yahoo buzz.

  17. Wayne says:

    Awesome, I checked out your implementation and the only problem I can see is the Blinklist item. The carriage return carried over in the copy and breaks the completed url. You just need to remove the whitespace from the link and that will fix it up.

  18. twisted lisa says:

    Thanks for the post! I did it! You rock!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

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

CommentLuv Enabled

Enter YourName @ YourKeywords in the Name field to take advantage of Keyword love. Please note, I normally won't approve comments that use products or niche keywords for a name. Get your comment approved, don't be a spammer.