Copy these two lines into the head tag of your HTML page:
<script type="text/javascript" charset="utf-8" src="http://bit.ly/javascript-api.js?version=latest&login=tweettrackjs&apiKey=R_7e9987b2fd13d7e4e881f9cbb168f523">
<script type="text/javascript" charset="utf-8" src="http://s.bit.ly/TweetAndTrack.js?v=1.01"></script>
Then, add this with each item on your blog or content site:
<a href="#" onclick="return TweetAndTrack.open(this, '{Permalink}');"><span style="display:none;">Your custom message - {block:PostSummary}{PostSummary}{/block:PostSummary}</span>Tweet & Track</a>
Substitute whatever template tag or variable you use for permalinks for {Permalink} and your Post Title template tag for {block:PostSummary}{PostSummary}{/block:PostSummary}. You can also add a common custom message where it says "Your custom message - ".
Make sure that you convert each < to <>.
No comments:
Post a Comment