In researching AddThis, I found a really cool drop-down version of their bookmarking plugin. You can see it live at my site here: http://www.optional-necessity.com
The findmore plugin generates unique smarty variables for the url, entry title, etc as follows:
Code: Select all
<a href="http://www.addthis.com/bookmark.php?pub=&url={$entrydata.url|escape:url}&title={$entrydata.title|escape:url}" title="Bookmark using any bookmark manager! {$entrydata.title|escape}"><img src="{$entrydata.path}button0-bm.gif" alt="Bookmark using any bookmark manager!" width="83" height="16" class="socialbkmark" /></a>Code: Select all
<script type="text/javascript">
addthis_url = '{$entrydata.url|escape:url}';
addthis_title = '{$entrydata.title|escape:url}';
addthis_pub = 'my_account_name';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>Code: Select all
<script type="text/javascript">
addthis_url = '{$entry.rdf_ident|escape:url}';
addthis_title = '{$entry.title|escape:url}';
addthis_pub = 'my_account_name';
</script>
<script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>