Thursday, April 9, 2009

New Add-On for my Blog - Tweet & Track

Make it easy for your readers to share links to your content on Twitter and track who clicks them.
Copy these two lines into the head tag of your HTML page:
<script type="text/javascript" charset="utf-8" src="">
<script type="text/javascript" charset="utf-8" src=""></script>

Then, add this with each item on your blog or content site:
<a href="#" onclick="return, '{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: