Saturday 6 September 2008

Adding Yahoo Buzz to Blogger

You've probably noticed the natty "Buzz Up" button to the left of my posts. This is a vain attempt to encourage people to vote some of my stuff up on the new Yahoo Buzz service - which is sort of like Digg only newer and more funky.

If you'd like to add it to your Blogger template then follow these simple instructions:

1 - Edit the layout of your page
2 - Put a tick in the "Expand Widget Templates" checkbox
3 - Look for the following line in your template:

<p><data:post.body></p>

Replace it with this:

<p><table align='left'><tr><td><script type='text/javascript'>yahooBuzzArticleHeadline = "<data:post.title/>";</script><script badgetype='square' src='http://d.yimg.com/ds/badge2.js' type='text/javascript'><data:post.url/></script></td></tr></table><data:post.body/></p>

Preview your template, and if everything has worked correctly and you are happy with the look of the button then save it and feel the Buzz love!

This will fill in the title of your blog post as the title of the Buzz'd article too.

(Originally posted on half-a-page.blogspot.com)

No comments: