Simulating the Sociable Wordpress Plugin under the Blogger Platform
A few days ago, while following some of my incoming links through my stats engine, I stumbled upon the blog of Evan Spiegel, one of our long time readers. Evan has coded a very interesting feature into his Blogger blog that allows him to simulate the effect of the Wordpress Sociable plugin on the Blogger platform. After asking him how he did it, Evan nicely provided me with the code he added to his template to make this work. You can see the result at the bottom of each blog entry on [GAS]. He gave me the permission to publish the code, and also the way to integrate it into the template. Note: The TXTs that contain the code are zipped, so you'll need Winzip (or any other compression utility that supports the zip format) to uncompress them.
Go to your Blogger dashboard, click on "Change Settings" and then click on the "Template" tab.
Select all of the text in your template and copy / paste it in notepad. Save this file and keep it as a backup in case you mess up your template.
Download, uncompress and edit this code. Replace the values marked as "Insert URL of icon right here" by the links to the location where you stored your icons of the various social networking sites you want displayed on your blog. (digg, reddit, del.ico.us, etc.). You can add and remove as many as you want. Add the code just before the < /style > tag in your Blogger template.
Download this additional code and edit it. The top block contains everything you need to display the icons configured in step #3. The second block contains most of the other known social networking sites and will add them to a drop down box that will be displayed right after the icons configured in block #1. You can add or remove as many services as you want, just study the code carefully if you decide to do so. When you are finished, paste everything directly after the "<$BlogItemControl$>" tag into your Blogger template.
Save your changes, and hit "Republish".
Have a look at your blog and see if everything worked as planned.
Note: The TXTs that contain the code are zipped, so you'll need Winzip (or any other compression utility that supports the zip format) to uncompress them.
Voila, you're done! Now, your readers have a convenient way to submit / bookmark your blog entries to their favorite social networking sites.
Edit (17/01/07): These customizations will not work for those of you who have migrated their blog to the new Blogger and have also upgraded their template by hitting "Customize Design" in the template tab. If your blog runs on the new Blogger, but with the old template code, everything will work as indicated.