Adding Sphinn-it! widgets to Blogger templates
Classic templates:
Search for $BlogItemBody$ and below the [/div] put
[script type='text/javascript']submit_url='[$BlogItemPermalinkUrl$]';[/script]
[script src='http://sphinn.com/evb/button.php' type='text/javascript'/]
Newish templates:
Search for data:post.body/ and below the [/p] put
[b:if cond='data:post.url']
[p][script type='text/javascript']submit_url='[data:post.url/]';[/script]
[script src='http://sphinn.com/evb/button.php' type='text/javascript'/][/p]
[/b:if]
After saving the changes Blogger replaces some single quotes with HTML entities, but it works though.
Change the [] brackets.
4 Comments


Comments
Very cool Sebastian! We've also added a Sphinn chicklet to the social bookmark tool.
Thanks :)
Here is copy&paste code for those not yet using Lee's social bookmark tool:
http://sebastianx.blogspot.com/2007/07/sphinn-rocks.html
Thanks for this information. I didn't want to load up my posts with lots of various button images from each of the social networking sites I belong to, so with a bit of customization of the codes you've provided, I was able to add a simple text link to each with no images. I think it would be helpful to add the codes necessary for people not wanting images with their links, just a thought. I'm actually surprised I managed to do it correctly without messing up my template. Yeah! Thanks again!
thanks for this, i was looking around for how to do this for hours..brillant worked like a treat