The problem was getting it to work in Blogger. Well, finally figured it out.
If you're using Blogger and want to add the retweet option, do the following:
- Go to your Dashboard -> Layout -> Edit HTML
- Before going further, click Download Full Template - if you screw up, you can upload the old template
- Check the box beside 'Expand Widget Templates'
- Click Control/Command 'F' to find the following line:
<div class='post-header-line-1'/> - Immediately below it, paste the following code:
<div style='float:left;width:50px;margin:0 10px 10px 0;'>
<script type='text/javascript'>
tweetmeme_url = '<data:post.url/>';
tweetmeme_source = 'yourTwitterAcctName';
tweetmeme_service = 'yourPreferredShortURLService';</script>
<script src='http://tweetmeme.com/i/scripts/button.js' type='text/javascript'/>
</div>
Here's what my code looks like, with the lines already in the template in black:
<div class='post-header-line-1'/>
<div style='float:left;width:50px;margin:0 10px 10px 0;'>
<script type='text/javascript'>
tweetmeme_url = '<data:post.url/>';
tweetmeme_source = 'tidewaters';
tweetmeme_service = 'bit.ly';</script>
<script src='http://tweetmeme.com/i/scripts/button.js' type='text/javascript'/></div>
<div class='post-body entry-content'>
EDA: If you're using NoScript on Firefox, enable tweetmeme.com.
Recommend this post