Recently Anytricks has added a very important ‘tweetmeme’ button which you can see with every post. After using this button, I thought of installing it in my blog which is hosted on blogger.com (blogspot). Unfortunately there’s no direct widget which can be used for blogger but you can still use it in your blog, just follow the steps given below.
- Open your blogger dashboard.
- Go to ‘Layout’ >> ‘Edit Html’.
- Check the ‘Expand Widget Templates’
- Now find this html code there,
<p><data:post.body/>
Just after the above code and before
</p>
copy and paste,
<script type=”text/javascript”>
tweetmeme_url = ‘<data:post.url/>‘;
tweetmeme_source = ‘twitterusername‘;
</script>
tweetmeme_url = ‘<data:post.url/>‘;
tweetmeme_source = ‘twitterusername‘;
</script>
<script type=”text/javascript” src=”http://tweetmeme.com/i/scripts/button.js”></script>
Save Changes and see the retweet button on your blog with every post.
CHANGES:
In the above code change ‘twitterusername’ in red to your twitter’s username. This change is required to use your username in every RT or Retweer else it will use @tweetmeme. in the above code the RT will be RT @twitterusername.
That’s it, now all you need to do is change the placement of the button and select whichsuits best to your blog.
SOURCE: tweetmeme blog



0 comments