wavuti.com Updates


Napenda kuwataarifu kuwa blogu hii inapumzishwa rasmi na tovuti mpya imezaliwa kwa jina www.wavuti.com

This is to inform you that this blog has been retired. A new website to take her place is up and running at www.wavuti.com

Friday, May 22, 2009

TweetThis! How to add TweetThis or ReTweet in a blog

The common tweethis and retweet buttons  that you see in some websites or blogs help publishers to encourage their reader and visitors to spread the news via twitter, and the button can easily be added to blogger/blogspot. Here is how you do it:

Login to your blogger account.
In the dashboad, select Layout and Edit HTML,
Search for this code line in your template (easiest way to find it is through CTRL+F)
<div class='post-header-line-1'/>
immediately after it pase this code:
<script type="text/javascript">
tweetmeme_url = '<data:post.url/>';
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
This will generate a button that looks like this:

If you want the small or compact button, then use this code instead:
<script type="text/javascript">
tweetmeme_style = 'compact';
tweetmeme_url = '<data:post.url/>';
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
And it will look like this:

If you would like the button to be placed underneath each post, then in your blog template, find this code:
and paste the code of your choice beneath it.

For Wordpress users, please follow these instructions here (click) for suitable Plugin.
Code originally generated by TechMeme

If you prefer just a simple TweetThis sentence or button without a counter, then read Antonio's post here (click).

0 feedback :

Recent Comments . Kauli za Wasomaji


More Opportunities ads