I have been wanting to do this for a while, because I like it when I find this link on other blogs that I read. I bookmark things in Delicious quite a bit, but I know that others use other bookmark services. The great thing about AddThis is that they don't care where you bookmark it. They give you a LOT of choices for locations. I have only turned on a few of them in the default menu, but you can see the complete list by clicking the More... button.
Adding to Graffiti
I found a couple of articles that gave parts of the answer, but here is all the code I had to add to my Post.View for this theme page.
<!-- AddThis Button BEGIN -->
<div>
<script type="text/javascript">
var addthis_pub="vistadb";
var addthis_brand = "VistaDB.NET";
var addthis_header_color = "#ffffff";
var addthis_header_background = "#000000";
var addthis_options = 'print, email, delicious, twitter, google, live, digg, technorati, more';
var addthis_hover_delay = 200;
</script>
<a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return
addthis_open(this, '', '$macros.FullUrl($post.Url)', '$post.Title')" onmouseout="addthis_close()"
onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-bookmark-en.gif"
width="125" height="16" alt="Bookmark and Share" style="border:0" /></a>
<script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js">
</script></div>
<!-- AddThis Button END -->
That was it. The key parts were the replacement of the URL with the Chalk code for $macros.FullUrl($post.Url) and TITLE with $post.Title.
Bookmark, Share, Print
Now you can bookmark or share VistaDB blog entries using your favorite service. You can also choose Print to get a cleaner CSS style sheet for printing them.
What is it?
Just in case you don't know what it is, look at the button below this post. It has a +Bookmark on the button. Hover over it to see the options available. Clicking on one of them will send you to that service with this post (or any other one if you are on that page) filled in for bookmarking.
NOTE: We no longer run Graffiti - this blog entry has been kept for archival purposes only