Google Friend Connect Recommedations Gadget For Blogger
8 COMMENTS
|
|
|
Google Friend has brought with it a great of set of widgets to interact with your followers as well as get feedback from them. The recommendations gadget is one gadget to get feedback from followers much like ‘reactions’ in blogger and others like ‘thumbs up’. Followers can recommend posts they like by clicking on the recommend it button as shown below:
The Best feature of this gadget is that you get a widget to display the most recommended posts. Here is a demo of the gadget. This widget can be added easily to any website.
Here is a tutorial to add this gadget to blogger blogs:
1. Sign in Google Friend Connect
2. Select a Blog and then click on Social Gadgets
3. Now select the Recommendation Widget.
4. Customize the design of the widget
5. Click on generate code.
After clicking on this button, the site will generate two codes
6. Adding the Recommended Posts Widget
Example code:
<!– Include the Google Friend Connect javascript library. –>
<script type=”text/javascript” src=”http://www.google.com/friendconnect/script/friendconnect.js”></script>
<!– Define the div tag where the gadget will be inserted. –>
<div id=”div-Site specific code” style=”width:300px;border:1px solid #cccccc;”></div>
<!– Render the gadget into a div. –>
<script type=”text/javascript”>
var skin = {};
skin['BORDER_COLOR'] = ‘#cccccc’;
skin['ENDCAP_BG_COLOR'] = ‘#e0ecff’;
skin['ENDCAP_TEXT_COLOR'] = ‘#333333′;
skin['ENDCAP_LINK_COLOR'] = ‘#0000cc’;
skin['ALTERNATE_BG_COLOR'] = ‘#ffffff’;
skin['CONTENT_BG_COLOR'] = ‘#ffffff’;
skin['CONTENT_LINK_COLOR'] = ‘#0000cc’;
skin['CONTENT_TEXT_COLOR'] = ‘#333333′;
skin['CONTENT_SECONDARY_LINK_COLOR'] = ‘#7777cc’;
skin['CONTENT_SECONDARY_TEXT_COLOR'] = ‘#666666′;
skin['CONTENT_HEADLINE_COLOR'] = ‘#333333′;
skin['HEADER_TEXT'] = ‘Recommended stories’;
skin['RECOMMENDATIONS_PER_PAGE'] = ‘5′;
google.friendconnect.container.setParentUrl(‘/’ /* location of rpc_relay.html and canvas.html */);
google.friendconnect.container.renderOpenSocialGadget(
{ id: ‘div-site specific code’,
url:’http://www.google.com/friendconnect/gadgets/recommended_pages.xml’,
site: ‘Your Site Id’,
‘view-params’:{“docId”:”recommendedPages”}
},
skin);
</script>
a. Copy the code from the site and then go to layout>Page Elements
b. Click on add Gadget
d. Paste the code here and save.
7. Adding the Recommend Button
Example code:
<!– Include the Google Friend Connect javascript library. –>
<script type=”text/javascript” src=”http://www.google.com/friendconnect/script/friendconnect.js”></script>
<!– Define the div tag where the gadget will be inserted. –>
<div id=”div-site specific data” style=”width:100%;”></div>
<!– Render the gadget into a div. –>
<script type=”text/javascript”>
var skin = {};
skin['HEIGHT'] = ‘21′;
skin['BUTTON_STYLE'] = ‘compact’;
skin['BUTTON_TEXT'] = ‘Recommend it!’;
skin['BUTTON_ICON'] = ‘default’;
google.friendconnect.container.setParentUrl(‘/’ /* location of rpc_relay.html and canvas.html */);
google.friendconnect.container.renderOpenSocialGadget(
{ id: ‘div-site specific data’,
url:’http://www.google.com/friendconnect/gadgets/recommended_pages.xml’,
height: 21,
site: ‘Your site Id’,
‘view-params’:{“pageUrl”:location.href,”pageTitle”:(document.title ? document.title : location.href),”docId”:”recommendedPages”}
},
skin);
</script>
a.copy the code from the site
b. Go to layout>Edit Html
c. Download the template (For Backup purposes)
d. Search for the following code
<data:post.body/>
e. just below the code above paste the code copied and save the template.
And now you’re widget is live!
No trackbacks yet.
How to add a Backtype retweet button to Blogger
September 1, 2009 - 5:43 pm
Tags: blogger tutorial, retweet button
Posted in blogger, social media, twitter | 10 comments
Share
Backtype is a service which tracks comments made by people on blogs and websites. Backtype also tracks tweets via Backtweets.
Like Tweetmeme, Backtype also has a retweet button for websites.
Backtype Retweet Button
Backtype button has the following advantages over tweetmeme:
1. The design is customizable (You can easily change the color and border of the button).
2. Backtype tracks [...]
Wibiya – Cool Widget for Blogs
August 20, 2009 - 6:44 pm
Tags: blogger widgets, wibiya
Posted in blogger | 24 comments
Share
Many of my readers must have seen a new widget at the bottom of my site. This is a widget provided by wibiya and is loaded with really cool features , ones that every blogger would like . This is one of the best widget i have seen. And the best part is that [...]
How to add a Favicon to Blogger Blogs
July 2, 2009 - 11:45 am
Tags: blogger tutorial
Posted in blogger | 22 comments
Share
Blogger blogs have a default Blogger favicon and this is to show that the blog is using blogger platform.But some blogger users want to brand their websites by adding their own custom logos and favicon.
In this post i will explain to you how you can add a favicon to your blogger blog and how simple [...]
Backing Up your Blogger Posts and Comments
June 24, 2009 - 6:37 pm
Tags: blogger tutorial
Posted in blogger | 5 comments
Share
One day you are editing your previous post and you unintentionally pressed the delete button. Now what? You lost your content and there is no way to retrieve it, but what if you had a backup of all the posts and comments? Then you have nothing to worry. Even if you lose any data, [...]
Add Blogger Blog to Google Webmaster Tools
June 10, 2009 - 7:03 pm
Tags: blogger tutorial, google webmaster, search engine optimization
Posted in blogger, seo | 5 comments
Share
Nobody can deny that Google is the best search engine. As google is used by most users so it is a great way to get new visitors to your blog.Adding your site to google webmaster tools increases your blog’s visibility in search engines which means more traffic.
Here’s how you can add your blog to [...]
How To Add a Search Box to Blogger Blog
June 4, 2009 - 10:27 am
Tags: blogger tutorial
Posted in blogger | 1 comment
Share
Adding a search box to blogger cannot be simpler than this: Blogger had a developed a Search Box Gadget which was earlier available only in Blogger In Draft but it has now been released in Blogger. Now you can add a search box in minutes and the results will be displayed inline in the blog.
Here’s [...]
Sexy Share Social Bookmarking Widget
May 27, 2009 - 7:43 pm
Tags: blogger hacks, blogger widgets
Posted in blogger | 14 comments
Share
Sexy Share is a really cool social bookmarking widget which uses css technique .Boris Veldhuijzen van Zanten asked me about this widget so here it is.
Here’s a preview of the widget:
Wordpress:
Here’s the original plugin for wordpressBlogger:
visit CssReflex for the blogger hack .
This widget is really simple to add. Just remember to backup your template before [...]
Random Posts Blogger Widget
May 7, 2009 - 1:15 am
Tags: blogger widgets
Posted in blogger | 37 comments
Share
I have developed a Random Posts widget for Blogger Blogs. Random posts widget displays random links of your blog. This help show content that is neither recent nor popular (because it is random ). The widget displays links in form of link lists. So you change the layout by changing the css of your [...]
Displaying total number of posts and comments to blogger
May 2, 2009 - 10:15 pm
Tags: blogger widgets
Posted in blogger | 6 comments
Share
Many old bloggers display their total posts and comments just to show how popular their blog is. You can too add this widget to your blog. The widget looks like this:
To add this widget follow these simple steps:
1.Go to Layout>Page Elements2.Then click on Add Gadget
3. Then select HTML/JAVASCRIPT
4. To this add the following code:
<script [...]
How to add Retweet button to blogger
April 29, 2009 - 11:08 pm
Tags: blogger tutorial
Posted in blogger, social media, twitter | 71 comments
Share
Twitter also known as micro blogging is spreading among people like flu. With increase in its popularity, twitter has become a very good media for social marketing. Tweetmeme is a free service which makes twitting about blog posts very easy. The Retweet Button along with the option to retweet, also displays the number of tweets [...]













August 13, 2009 - 12:24 am
Thank you very much for posting these instructions. It saved me a bunch of time!
October 16, 2009 - 2:59 pm
good job!
October 19, 2009 - 5:11 pm
Google Friend Connect is a good tool. Great advice, thanks for posting!
Recent blog:=- Links for 2009-10-17 [Digg]
November 18, 2009 - 8:18 pm
I have an issue, I use multiple posts in the same home, how do I avoid getting the home page to be "suggested" for the view while clicking on a post that is displayed on it?
Thanks
November 19, 2009 - 7:02 pm
i think you might have to code for that, so you might some stuff and code to your specific needs
November 29, 2009 - 2:02 pm
Always top notch articles. I dont know how you do it but its always as good as expected, I am really a fan of your blog…
December 3, 2009 - 10:56 am
I have not tried it yet, but i will bookmark it and will install google friend connect soon.
Ruchi´s last blog ..Site Performance Feature added in Google Webmasters Labs
December 3, 2009 - 12:32 pm
It is a must have for blogs, because of most of the readers use blogger and prefer subscribing to the feed by google friend connect