How to add Google Buzz button to WordPress and Blogger

Coding web page | umbrovskis | 2010-02-25 1:49 pm | No Comments »

Already some days are working Google Buzz. I made short search on Google for possibility to add Google Buzz button to Blogger template. As I didn’t find it on first page, I decide to rewrite some of previous Blogspot template code, which I made earlier.

google buzz. logo

So here it is: (live example: http://mediabox4b.blogspot.com)

<a expr:href='"http://www.google.com/reader/link?url=" + data:post.url + "&title=" + data:post.title + "&srcTitle=" + data:blog.title+ "&srcURL=" + data:blog.homepageUrl ' rel='nofollow' target='_blank'>+add to Google Buzz</a>

put it near data:post.body

Made with MediaBox.lv / Umbrovskis.com

Where
url=data:post.url – post URI,
title=data:post.title – post title,
srcTitle=data:blog.title – post source, You may also use data:blog.homepageUrl,
srcURL=data:blog.homepageUrl – source home page.

And Google Buzz button for WordPress blogs:


<a href="http://www.google.com/reader/link?url=<?php the_permalink() ?>&title=<?php the_title(); ?>&srcTitle=<?php bloginfo('url'); ?>&srcURL=<?php bloginfo('url'); ?>" rel="nofollow" target="_blank">+add to Google Buzz</a>

Put this inside WordPress post loop.

Related Posts

Final cut for my first WordPress plugin
Final cut for my first WordPress plugin

More than one month ago I published my first WordPress plugin "Draugiem.lv/lapas fan page" for social network in Latvia draugiem.lv (FRYPE.COM)....

Writing first public WordPress Plugin (widget)
Writing first public WordPress Plugin (widget)

Today was first release of  "Draugiem.lv/lapas Fan page" (for non-Latvian draugiem.lv best known as Frype.com) WordPress sidebar widget for FRYPE...

WordPress theme feature vs. WordPress plugin. What is best choice?
WordPress theme feature vs. WordPress plugin. What is best choice?

As WordPress developer at SimpleMediaCode.com I came to point where I have to decide: make some functions as WordPress theme features or make them...

Removing WWW from URI (or domain) with PHP
Removing WWW from URI (or domain) with PHP

Few weeks ago I wrote how to remove WWW from domain with .htaccess. In some cases or hosting plans it's not possible to view or use .htaccess file...

Remove index.html and/or index.php from the URL
Remove index.html and/or index.php from the URL

Inspired by my discussion with Kaspars on his homepage konstruktors.com how to better remove index file. So I'll post both versions, because they...

 
 
draugiem.lv/say SekoMan.lv twitter Digg this! Add to del.icio.us! Stumble this! Add to Techorati! Share on Facebook! Seed Newsvine! Reddit! Add to Yahoo!

umbrovskis

Follow umbrovskis on Twitter or Facebook

0 Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Note: This post is over 5 months old.

 



bt bt bt bt
plugin by DynamicWP
#