Here is the version of the official Twitter, Google Buzz & new Twitter button modified to work with the Blogger markups for the post url to save some of you some time.
<div>
<div style='float:left; width:100px;'>
<script>var tweet = {url : "<data:post.url/>", count: "horizontal", via: "tekhawk", text: "<data:post.title/>" }</script><script src='http://xmlgadgets.com/ig/tweet.js'/>
</div>
<div style='float:left; width:100px;'>
<a class='google-buzz-button' data-button-style='small-count' expr:data-url='data:post.url' href='http://www.google.com/buzz/post' title='Post to Google Buzz'/>
<script src='http://www.google.com/buzz/api/button.js' type='text/javascript'/>
</div>
<div style='float:left; width:100px;'>
<a expr:share_url='data:post.url' href='http://www.facebook.com/sharer.php' name='fb_share' type='button_count'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'/>
</div>
</div>
Select edit html for your Blogger then select "Expand Widget Templates" and paste the above code after "<data:post.body/>" hope this works well for everyone.
No comments:
Post a Comment