In a previous post, I explained how to add a BlogThis! button to your browser links bar. In this post, I will explain how you can also add this link to your blog posts. This will allow your readers to blog about your posts without having to visit their Blogger dashboard, and can assist in publicizing your blog.
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
First, let me explain how the BlogThis! function works.
The BlogThis! function uses javascript to acquire the url and title of the page you are looking at, sends this to Blogger and also sends you to the posting page in your Blogger dashboard.
So, if you were reading this post from my blog's homepage and wanted to blog about it, the url sent to Blogger would be www.bloggerbuster.com and the title would be Blogger Buster. Since you are reading this post on the "post page", the url would be that of this particular blog post, and the title will be "How to add BlogThis! links to each of your blog posts".
With this in mind, you should understand that it is much better for the BlogThis! links to appear only in your post (item) pages. Otherwise, the link which appears in the BlogThis! pop-up may not correctly match that of the post it refers to.
So, now we have a better understanding of how this works, here is an explanation of how you can make BlogThis! links appear only in your post pages:
<div class='post-footer'>
If you cannot find this line, search for <div id='post-footer'> instead, as the post-footer section may be defined differently in your template.
The <b:if...>: conditional tags tell Blogger only to display the link on "item" pages. This ensures that the correct url for the blog post and the correct title will be sent to Blogger for the visitor to write about in their blog.
Please do be aware that the BlogThis! function only works for those who use Blogger blogs. Visitors who blog with Wordpress, Typepad or any other system will not be able to blog about your posts directly from the page!
I hope this helps those who have requested the BlogThis! link for their blog posts. Please feel free to leave your comments and suggestions below.
Technorati Tags: blogthis | bookmarklet | post | links | footer
0 comments:
Post a Comment