AddThis button for individual posts on a WordPress.com bLog

by krisrowland

After a lot of faffing about, I’ve finally decided on the best way to integrate social bookmarking with my bLog: AddThis. The AddThis php applet is able to forward the reader from the current site (and carry the address of the page with it) to any of the popular social bookmarking sites such as StumbleUpon, Reddit, Digg, etc. For example, pasting this code:

<a title=”Bookmark and Share” href=”http://www.addthis.com/bookmark.php?pub=krisrowland&#8221; target=”_blank”><img style=”border:0″ src=”http://s7.addthis.com/static/btn/lg-share-en.gif&#8221; alt=”Bookmark and Share” width=”125″ height=”16″ /></a>

into my post (in HTML mode) will produce a button like:

Bookmark and Share

All the reader has to ensure is that the HTML address shown in the address bar of the browser is the address they wish to bookmark/add (see UPDATE below for a reasonably easy way around this). For example, if reading a bLog post via the bLog’s main page and trying to use the applet, the root HTML address of the bLog itself will be forwarded, not the post address. In this case, the post itself should be loaded (by clicking the title, say) and then the AddThis button should be clicked.

Your own button can be customised from the AddThis button maker site.

I’ve added an AddThis button to the widget bar to the right. To share a particular post, load the individual post first (click on the title), then click the AddThis button.

UPDATE: I just found an easier way to customise the AddThis button for individual posts such that clicking the button in the post from anywhere in the bLog will forward the post’s permalink. The technique still essentially requires manual editing of the button’s HTML, but by using Netty Gritty’s bookmarklet technique, the manual editing is made much more simple and streamlined.

Share with AddThis!

Advertisements