How to add social bookmark links to blogger

Today im going to show you how to add social bookmark text links below your blog post so people can bookmark it or whatever. So first save a backup copy of your template before editing now you will need to expand widget templates and look for the following code in the screenshot below



next copy the following code



<p class='bookmark'>

<a expr:href='"http://digg.com/submit?phase=2&amp;url=" + data:post.url + "&amp;title=" + data:post.title' target='_blank'>Digg it</a>

<a expr:href='"http://del.icio.us/post?v=4&amp;url=" + data:post.url + "&amp;title=" + data:post.title' target='_blank'>Add to del.icio.us</a>

<a expr:href='"http://www.stumbleupon.com/submit?&amp;url=" + data:post.url + "&amp;title=" + data:post.title' target='_blank'>Stumble it</a>

<a expr:href='"http://www.facebook.com/sharer.php?&amp;u=" + data:post.url' target='_blank'>Share on Facebook</a>

<a expr:href='"http://technorati.com/signup/?f=favorites&amp;Url=" + data:post.url' target='_blank'>Add to technorati favorites</a>

<a expr:href='"http://reddit.com/submit?&amp;url=" + data:post.url + "&amp;title=" + data:post.title' target='_blank'>Submit to reddit</a>

<a expr:href='"http://myweb2.search.yahoo.com/myresults/bookmarklet?&amp;u=" + data:post.url' target='_blank'>Add to YahooMyWeb</a>

<a expr:href='"http://www.simpy.com/simpy/LinkAdd.do?href=" + data:post.url' target='_blank'>Submit to simpy</a>

<a expr:href='"http://www.spurl.net/spurl.php?v=3&amp;Url=" + data:post.url' target='_blank'>Submit to spurl</a>

<a expr:href='"http://www.furl.net/storeIt.jsp?&amp;u=" + data:post.url' target='_blank'>submit to furl</a>

</p>



and paste it like ive done in the following screenshot



now we will add some CSS code to create some spacing in between each of those links so copy the following CSS code


.bookmark a:link {
margin:0 8px 0 0;
}



and paste it just before the closing skin tag like ive done in the following screenshot below



now if you preview your template before saving you should see some text links like mine in the screenshot below



you can play around with the CSS code to create more spacing also you could change the margin to padding just see what you can come up with.

If you enjoyed this post dont forget to comment and let me know if it worked for you

37 Responses to “How to add social bookmark links to blogger”

Your very good at this! Keep it up! Hope to see more updated this year '08!
Alex

Is this still valid as of Jan. 2008? I couldn't get it to work, and I've been trying for hours.

Cool blog, by the way! Great stuff.

don't know why but it doesn't work for the xml

Great stuff! Blogrolled you!

Thanks for this!

Anonymous

June 10, 2008

amazing finally someone who knows what they are doing!!! VERY CLEAR very accurate.. thanks again.. works with XML very easy..

WWW.COLLECTIVECO.BLOGSPOT.COM

Anonymous

June 10, 2008

LAWNY... one last question i got everything to work fine... and i took out some links/social bookmarks i dont need.. but by doing so.. i had to put dashes or hypens in its place.. how do i take that out without my code getting ruined...

the problem is that.. the entry titles get smashed to one side.. and the template is all off

can you help me please? I would like to add one our local social button to my site. there is provided code for blogger on
http://vybrali.sme.sk/tlacitka/
(codes #5 and #6)

but when i implement it, mistake occurs :The value of attribute "href" associated with an element type "null" must not contain the '<' character.

i think problem is with html vs xhtml, but i can't move. Do you know what to do?
Thank youuuu!
http://econoir.blogspot.com/

Oikos try this code I've uploaded a screenshot of the code in notepad see more here

http://kennysed.googlepages.com/social_bookmark.JPG

let me know if that works for you

Perfect, it's working!
Thank you very much, I asked maybe 5-6 "insiders", and you were the only one with the right answer :)

Wow, this one actually worked. Thank you! One question: would you know how to add images instead of text links?

Yes DCLOUD just replace all the text with an img tag like so
<a expr:href='"http://digg.com/submit?phase=2&amp;url=" + data:post.url' target='_blank'><img src="http://www.MyImage.gif" border="0" alt="Digg it" /></a>

Lawny, thanks, that worked. Right now I'm trying to install the Add This bookmark button, because it is just one button that offers a dropdown with all the bookmarking sites. Unfortunately, even though I have the code in the correct place, the button is not appearing on my blog. Weird.

DCLOUD what is the exact code you are trying to add ? could you paste it here or upload a screenshot of it

Ha, I figured out why the bookmark button wasn't showing up. I had replaced the title of my posts with a graphic and since there was no post title to link to the button wasn't showing up. I have fixed the problem by making the graphic a background image so the title can still appear.

Hi there I have followed your instructions and have implemented them into my blog posts. I was wondering if you knew of a an add to MySpace link I am not a hundred percent sure if myspace has such a feature.

@Anonymous as one
yes there is an add to myspace link i will check it out and update this post to include them

@Anonymous as one
i have added the MySpace link to the footer of my blog posts you can see it above so when it is clicked it will only share a link to the post title but not the content of the post but if you want to share the content of your blog post i can make it do so also you will need to email me for the code because if i posted it here blogger would alter the code so it wouldn't work anymore

Hi,

Thanks my dear friend. Today I have added the Social Bookmarking links in my blog. Your How to Guides are so easy to follow that I'm now directly editing my HTML codes without trying in a new template :)

Also is there a way to Change the "Labels" in blogger template to something like "Follow this link for more similar posts" or "Categories".

No hurry, when you get time please post an article on it.

Thanks Again.

Abhilash MS

@AbhilashMS
you can change the word "Labels" by going to the page element tab and clicking edit on the post widget then change the text for the "Label" field to whatever you want

Very Useful, Could you please add code for Blogger post too

Thanks for sharing this. :)

Awesome post keep it up I have added links to my blog @ www.tips4blogging.co.cc

GOD! I love it when the instructions are so darn easy to follow!!! THANK YOU SOOO MUCH FOR THIS!

Great thanks. Clear, easy to follow and most importantly - IT WORKS!!! so thanks for sharing and for saving me a lot of headaches trying to work it out for myself.....

The code worked fine, but I have a question though the share links are in caps (as shown in your screenshot) those present at your blog is in small letters, is there a way to have them in small?

http://theunwillinglawyer.blogspot.com/

@unwilling lawyer
look for the following css code in your template

.post-footer {
color:#999;
text-transform:uppercase;
letter-spacing:.1em;
font-size: 78%;
line-height: 1.4em;
}

remove the text-transform property and value so it becomes

.post-footer {
color:#999;
letter-spacing:.1em;
font-size: 78%;
line-height: 1.4em;
}

Thanks a lot, the aforementioned code has the desired effect. Given that you are a blog-tech enthusiast you might also consider looking at http://www.macmillandictionary.com/tools/doubleclick.html (free double click dictionary facility in bogs) and may be simplify the codes or write it in a language that average users like me can understand.

I managed it OK, but not sure where to put the CSS code, so I just left it out.

Thanks a lot for the wonderful blog post. It's working!!

http://pagalzone.blogspot.com

@Kev
the CSS code goes just before the closing </head> tag

Excellent. I used it on a blog here:
http://ukpoliticstoday.blogspot.com/

This is really helpful! Thanks!

Great way of explaining it, people understand better by watching the process

This is very helpful ! Many thanks !

Leave a Reply

Comments are moderated before appearing on site, comments that contain suspicious information, self-advertising or spam-like URLs will be deleted.

Note: only a member of this blog may post a comment.

Copyright © 2019 All Rights Reserved | Privacy Policy | Disclaimer Design by LawnyDesigns | Powered by Blogger