Tweetbacks and re-Tweets are particularly good functions to include in our blogs: Tweetbacks demonstrate how posts are discussed and syndicated through Twitter, while re-Tweets offer an easier means for readers to Tweet about our posts.
While there are plugins available for WordPress users to add Twitter functionality to their blog templates, Blogger users need to edit their templates directly in order to add these functions. In this article, I’ll explain how to add Tweetbacks and re-Tweet functions for Blogger powered sites.
Tweetbacks act like trackbacks; but rather than list links to a specific post, these will list any found Tweets about the specified post and include a thumbnail of the author’s Twitter avatar.
Dan has made this functionality incredibly easy to add to our blogs. All we need to do is paste a single line of code where we want the Tweetbacks to appear.
To make this function more interesting, you may prefer to add Tweetbacks below your Blogger comments section instead. This is surprisingly easy, though you will need to edit your blog’s template code in order to make this work.
Now your Tweetbacks will appear on post pages, right after the comments section. If no Tweetbacks have been registered for this article, the message “No Tweetbacks Yet” will be displayed instead.
Of all the “re-Tweet” buttons I have seen, the TweetMeme counter has proved the most interesting. This button adds a counter to display how many times the post has been “re-tweeted” along with a link for readers to easily Tweet about your posts:
To add the TweetMeme button to your Blogger template, you will need to override the automatic collection of the URL by adding the following lines of code in your template where you would like the button to appear:
If you prefer to add the button below each of your posts, you can paste this code in the post-footer section of your blog. However, many prefer to add this at the top right of their posts in similarity to the Digg button trend.
To add the button to the top of your Blogger posts, here is what to do:
If you cannot find this exact line of code, search for <data:post.body/> and look for the preceding line.
Using these Twitter-based functions in your Blogger powered blog is an ideal means for Twitter users to assist syndication of their posts, increase popularity of their blogs and create an increased sense of community around thier sites.
I hope you have found these explanations of how to implement Tweetbacks and re-Tweets useful for addition to your Blogger templates. Please feel free to leave your comments and suggestions below.