64 A Popular Posts Gadget from Google Friend Connect
August 29, 2009 /

While browsing around looking for more Blogger gadgets to add to the directory, I discovered an awesome feature offered by Google Friend Connect: the Recommended (Popular) Posts Gadget.

This is a feature which I'm sure we've all been waiting for! While we have seen various implementations of popular posts gadgets in the past, I've found these are not as useful or easy to configure as I'd prefer.

In contrast, the Friend Connect Recommended Gadget stable, reliable and quickly updates. Being developed and hosted by Google ensures this is unlikely to suffer issues, and once installed it's very easy for your blog readers to recommend their favourite posts.


Want to see how it works? Take a look in the sidebar to see a list of posts recommended by Blogger Buster readers, and scroll down to the bottom of this post for the button you can use to vote (this appears on every page of Blogger Buster, so feel free to recommend any other posts you may like!).

Those of you reading this in a feed reader may like to pop over to the site to see this gadget in action.

How to install your Friend Connect Popular Posts Gadget

Unfortunately, this Friend Connect gadget is not (yet) installable in one click. There are two elements required for complete installation, and these are relatively easy.

Firstly, log into Friend Connect. You will need to use the same credentials (username and password) as you do when logging in to Blogger.

Once you've logged in, you'll see a page which appears similar to this one:

Any blogs which you have created with your Google account will appear in the list on the left-hand side of the page.

Click on the blog you would like to work with (if this is not already selected). This will open a sub-menu beneath the title of your blog.

Click the "Social Gadgets" link in this sub-menu:




On the following page, scroll down to the "Recommendation" widget - this is the gadget we will be using to display our blog's most popular posts, as voted by blog members:


Click through to create and style the Recommendation gadget for your blog.


Style the Recommendation List

In the first area of this page, you can choose how your recommendation list will be styled when added to your Blogger layout.


If you'd prefer any of the color elements (such as the background and border) to be transparent, simply delete the hex value.

You'll be able to preview the changes made to the style and settings of your recommendation list in the top right corner of the page.

Configure the Voting Buttons

The second area of this page enables you to configure the appearance of the voting button. This is what will appear on the post pages of your blog, and is what your readers will click to recommend posts they enjoy.

There are two distinct types of voting buttons you could choose from:

A "compact" button appears like this
A "modular" button appears like this:
For either style of button, you can choose between the heart or tick icons. When choosing the "modular" button, the colours of the text, border and background may also be altered:

Generate and add the JavaScript for your Gadget

Once you've configured the appearance you prefer for the recommendation list and voting button, you can generate the codes required to add these to your template by clicking the button in the third section of the page:
This will generate two different sets of code - one for the recommendation list, and another for the voting button.


Add the code for the Recommendation List

The easiest way to include the Recommendation List (the list of your most popular posts) in your blog is to paste the code into an HTML/JavaScript widget in your Blogger sidebar.

Simply highlight all of the code in the "aggregation gadget" section, and copy to your clipboard. Then go to Layout>Page Elements in your Blogger dashboard, create a new HTML/JavaScript widget in the area of your choice and paste the code from your clipboard into the content section of your gadget.

Add the code for your voting button on post pages

Ideally, we should add the voting button to appear only on item pages. This ensures there is no conflict when posting multiple buttons on the same page (for example, the blog home page which displays more than one post); it also makes for simpler installation.

To add the voting button to our item pages, we need to edit our Blogger template code.

Go to Layout>Edit HTML in your Blogger dashboard, and ensure you have checked the "Expand widget templates" box.

Then using your browser's search function, locate the line which contains <data:post.body/&gt;

This section of code may be wrapped in <div> or <p> tags depending on the template you are using.

Immediately after this line, paste the following section of code:
<b:if cond = 'data:blog.pageType == &quot;item&quot;'>
<!-- Here is where to paste the JavaScript for the button -->
</b:if>
Next, copy the second section of code generated for your Friend Connect Recommendation widget:
And paste this between the &ltb:if cond...> and </b:if> tags which we previously added in the template code.

Here is how the completed installation should appear:
<b:if cond = 'data:blog.pageType == &quot;item&quot;'>
<!-- 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-1020104213976883876" 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'] = 'heart';
google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */);
google.friendconnect.container.renderOpenSocialGadget(
 { id: 'div-1020104213976883876',
   url:'http://www.google.com/friendconnect/gadgets/recommended_pages.xml',
   height: 21,
   site: '06135972569882299778',
   'view-params':{"pageUrl":location.href,"pageTitle":(document.title ? document.title : location.href),"docId":"recommendedPages"}
 },
  skin);
</script>

</b:if>
Once you've pasted the script, preview the changes you have made to ensure the button does not appear on your blog's home page. If all looks well and no errors are reported, continue to save your template and complete the installation.


Using your Recommendation Gadget

At first, your recommendation list will not display any posts. This is because no posts have yet been voted for using the voting button.

You could vote for a few posts yourself by clicking on the voting button on post pages, or you could simply wait for readers to vote by themselves.

When using the voting link, a pop-up page will appear prompting the user to log into Friend Connect (if they are not already logged in) and afterwards will be able to recommend the post. Votes are counted almost immediately, and are listed beneath each item in the Recommendation List:


What do you think?

I sincerely prefer the Friend Connect Recommendation Gadget to other "popular posts" widgets I have tried as the results are based on reder engagement and genuine recommendations which offer a greater sense of community than "page views" alone.

My only reservation is that this gadget cannot be added in a few simple clicks. Having to edit our Blogger templates to add the voting buttons id a dissuading factor for many when considering whether or not to install it.

That said, I have a good feeling that this gadget may soon be integrated into the Blogger system, as so many Friend Connect gadgets and features already have!

What do you think of the Friend Connect Recommendation gadget? Is installation too complex, or are you happy to use this gadget for readers to recommend their favourite posts?

Please let us know your opinions by leaving your comments below.

Image credit: RichKidsUnite, via Flickr Creative Commons

64 Comments:

29 August 2009 21:40 MaJiD said...

good, Thanx.

29 August 2009 22:46 TeknoMobi said...

Thank you for your expression

30 August 2009 01:05 LeBlogger said...

I have already try to use this widget but it doesn't work fine : it shows the title of the post followed by the title of the blog and it's too long....

30 August 2009 01:54 Stop Dreaming Start Action said...

I'll try this new feature..
thanks

30 August 2009 03:28 riezr said...

Thanks for the Info :) I'll try soon...

30 August 2009 05:44 Anang said...

cool awesomeeee....

30 August 2009 09:59 cispai said...

nice info :)

30 August 2009 14:29 watzabatza said...

Thanks for the post. Thanks for sharing...

30 August 2009 15:32 aR said...
This comment has been removed by the author.
30 August 2009 15:35 aR said...

Thank you Amanda. Thanks for inform us.

aR
Bangla Hacks

30 August 2009 16:06 Remba said...

Aku udah komentar di blog kamu, bales komentar aku ya

………………….._,,-~’’’¯¯¯’’~-,,
………………..,-‘’ ; ; ;_,,---,,_ ; ;’’-,…………………………….._,,,---,,_
……………….,’ ; ; ;,-‘ , , , , , ‘-, ; ;’-,,,,---~~’’’’’’~--,,,_…..,,-~’’ ; ; ; ;__;’-,
……………….| ; ; ;,’ , , , _,,-~’’ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ¯’’~’-,,_ ,,-~’’ , , ‘, ;’,
……………….’, ; ; ‘-, ,-~’’ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;’’-, , , , , ,’ ; |
…………………’, ; ;,’’ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;’-, , ,-‘ ;,-‘
………………….,’-‘ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;’’-‘ ;,,-‘
………………..,’ ; ; ; ; ; ; ; ; ; ; ; ;__ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ‘-,’
………………,-‘ ; ; ; ; ; ; ; ; ; ;,-‘’¯: : ’’-, ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; _ ; ; ; ; ;’,
……………..,’ ; ; ; ; ; ; ; ; ; ; ;| : : : : : ; ; ; ; ; ; ; ; ; ; ; ; ; ,-‘’¯: ¯’’-, ; ; ;’,
…………….,’ ; ; ; ; ; ; ; ; ; ; ; ‘-,_: : _,-‘ ; ; ; ; ; ; ; ; ; ; ; ; | : : : : : ; ; ; .|
……………,’ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ¯¯ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;’-,,_ : :,-‘ ; ; ;|
…………..,-‘ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ,,-~’’ , , , , ,,,-~~-, , , , _ ; ; ;¯; ; ; ; ; ;|
..…………,-‘ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;,’ , , , , , , ,( : : : : , , , ,’’-, ; ; ; ; ; ; ; ;|
……….,-‘ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;’, , , , , , , , ,’~---~’’ , , , , , ,’ ; ; ; ; ; ; ; ;’,
…….,-‘’ ; _, ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ‘’~-,,,,--~~’’’¯’’’~-,,_ , ,_,-‘ ; ; ; ; ; ; ; ; ; ‘,
….,-‘’-~’’,-‘ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; | ; ; | . . . . . . ,’; ,’’¯ ; ; ; ; ; ; ; ; ; ,_ ; ‘-,
……….,’ ; ;,-, ; ;, ; ; ;, ; ; ; ; ; ; ; ; ; ; ‘, ; ;’, . . . . THAT'S JUST WRONG---‘’’
………,’-~’ ,-‘-~’’ ‘, ,-‘ ‘, ,,- ; ; ; ; ; ; ; ; ‘, ; ; ‘~-,,,-‘’ ; ,’ ; ; ; ; ‘, ;,-‘’ ; ‘, ,-‘,
……….,-‘’ ; ; ; ; ; ‘’ ; ; ;’’ ; ; ; ; ; ; ; ; ; ; ‘’-,,_ ; ; ; _,-‘ ; ; ; ; ; ;’-‘’ ; ; ; ‘’ ; ;’-,
……..,-‘ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;¯¯’’¯ ; ; ; ; ; ; ; ; , ; ; ; ; ; ; ; ; ;’’-,
……,-‘ ; ; ; ; ; ; ; ,, ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; |, ; ; ; ; ; ; ; ; ; ; ‘-,
…..,’ ; ; ; ; ; ; ; ;,’ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;|..’-,_ ; ; ; , ; ; ; ; ; ‘,

30 August 2009 19:14 Jifdc said...

I have been using this gadget for my blog and I think it works great. I agree with you Amanda that this is probably the best version of a popular posts gadget that I have seen so far simply because it is the readers that affect the outcome of which posts are popular or not rather than some robot engine and what not. Great post.

30 August 2009 22:15 A GOOG said...

Hello Amanda,

As it my first comment, I would first like to say you that I like it really very much.
As regards the gadget, that's true it works great. I tested it in my blog, but since in my blog all articles appear in first page, I decided to replace this gadget with the gadget "Most Recent Post".

On the contrary for you blog, it will really be useful, me you advice to put the gadget above in your sidebar.

Still congratulations on your blog.

31 August 2009 15:56 N@k$h@tr@! said...

Hi,
Nice post..
Can you let me where in the code should i add the code for 'Recommend it' button for it to appear on all posts

2 September 2009 00:01 Katie said...

Hi Amanda,

I installed the Friend Connect widget and voting icon without any trouble, thanks to your instructions. I'm hoping this will be a good way to engage my readers and encourage those who don't necessarily comments but want to interact with the content in some way. Thank you!

2 September 2009 11:08 Hendrawan said...

At the end, we need user to make o post popular, isn't it?

2 September 2009 11:43 Vincent said...

Very nice, thanks :)

2 September 2009 13:28 Reza Winandar said...

Google Friend Connect is very complex, can you offer another service that's more easy and simple?

4 September 2009 06:40 Lori Laws said...

Thank you. I installed everything on my blog. One problem though...because each post is on the homepage, readers cannot see the voting badge. So I'm not sure how this will work, but it looks nice:)...???

6 September 2009 11:23 Dan said...

Looks pretty good but you still need to be quite popular to make Friend Connect work - and you need to have a network to really get it going. Might give it a go and see if it helps me. thanks for sharing :)

6 September 2009 11:50 deon said...

I'm going to try it out - looks like a great way to get noticed and expand readership

8 September 2009 18:59 Doug Cloud said...

Nice tutorial Amanda, but for some reason the gadget window is not allowing me to "Save".

9 September 2009 19:39 djWhite said...

You guys are great -- this coming from the old fart gallery too.

10 September 2009 20:14 m A c said...

hi Amanda, i cant say enough to thank you, i have one big problem, i want to put blogumus into the nexus 5 theme.

20 September 2009 01:15 Aramak Nihaj said...

Amanda thta's great work. I put at my blog and it works SOOOOOOO VEEEEEERY FINEEEEE!!! Thank you, I'm learning a lot here!

9 October 2009 23:08 Kenali dan Kunjungi Objek Wisata di Pandeglang said...

very interesting..! I will add this gadget to my blog.. thx bloggerbuster..! :)

17 October 2009 22:38 Sadewa said...

Thanks Amanda this good artikel

19 October 2009 07:14 Computer Enginners said...

On Sidebar it Shows Product1 instead of Post Title!! Any Solution??

2 December 2009 19:15
Anonymous said...

Looks pretty good

good

11 December 2009 00:13 Tenkely said...

Amanda, thanks for the tips! Could you do a follow up on how to modify the code to run multiple instances of the button so I can put it in the post footer?

15 December 2009 03:42 Wesley Soccer said...

Great Blog...Thanks for all your help...you can check out my blog at www.wesleysoccerblog.com

25 January 2010 17:36 Vinayak Sutar said...

Hi Amanda
I saw this here in ur blog site, bt in tat there is double names like "Popular Posts" & aftr tat again "Popular Posts"..
If u like I suggest u tat when u Configure the Voting Buttons at that time in the field of name type: (press alt)0160(then release alt). So ur widget name will not shown double which is look like sumwhat different than others shown...

else its very nice to see ur blog...
thanx

http://proknowliz.blogspot.com

26 February 2010 14:41 M ü z i K ü l t ü R said...

Thanks for help. Really great blog. You can see my blog
http://ulaskurtulus.blogspot.com/

28 March 2010 23:46 KINGRPG said...

I like that you think. Thank you for share very much.

27 April 2010 09:03 Charlie Chaplin said...

thanks for this tips Amanda ...

10 May 2010 22:39 gatodiakritikos said...

It has to do with the installation! Lots of blogger use customized themes, and for me, the sidebar are pretty narrow..As a result the content can't be displayed at the whole!!

19 May 2010 20:43 indir said...

give it a go and see if it helps me. thanks for sharing :)

13 September 2010 16:31 sudhits said...

Looks pretty good

from news

8 February 2011 15:28 diseño grafico said...

The article has really peaks my interest. I am going to bookmark your web site and hold checking for brand new information.

28 April 2011 07:31 Alice said...

Really you have done great job,There are may person searching about that now they will find enough resources by your post.I like this blog..
Blogger how when you visit my site,
My Site created for men's health,
Here the best method for you and get the best Penis Enlargement Pills today.

19 June 2011 23:43 mortgagecalculator1 said...

nice info :)

A Mortgage Calculator is a tool you can use to figure out what your estimated mortgage payments will be and is based on the value of the home, interest rates, loan amount, loan length, and more.

22 June 2011 19:45 porn said...

Looks pretty good..

3 July 2011 00:05 free porn said...

give it a go and see if it helps me. thanks for sharing :)

20 July 2011 00:26 skin tag removal at home said...

I hate using script. This little tutorial helped though. Many thanks. Much Love

22 July 2011 16:19 cheap android tablet said...

Good post. Very impressive writing. Thanks for sharing.

9 August 2011 09:35 pc game said...

I like your website. Thank you for great information. I will come back to your website again.

16 August 2011 19:14 generic viagra said...

hank you for great information

19 August 2011 01:32 bailey button triplet boots said...

Take a look in the sidebar to see a list of posts recommended by Blogger Buster readers, and scroll down to the bottom of this post for the button you can use to vote (this appears on every page of Blogger Buster, so feel free to recommend any other posts you may like!).

gucci outlet
bailey button triplet boots
ugg bailey button triplet
ugg boots sale
louis vuitton speedy

15 September 2011 08:22 Ugg Winter Boots said...

Nice post.Thank you for taking the time to publish this information very useful!

21 September 2011 13:15 Dave said...

I really agree with the facts that you have shared on this post. An interesting topic like this really enhances reader's mind to have more effective decisions over a certain issue. penis enlargement penis enlargement pills VigRX Plus

11 October 2011 20:08 natural pet food said...

This is highly informatics, crisp and clear. I think that Everything has been described in systematic manner so that reader could get maximum information and learn many things.

26 October 2011 03:46 POB said...

I love Friend Connect Popular Posts Gadget, but unfortunately this make my blog slowdown to load.

26 October 2011 14:48
Anonymous said...

You cant imagine that one "to share this blog and very interesting cause were all the same bookmark and we just like to get high rank this blog and please keep it up.."

Regards,
Buy Power Tools

26 October 2011 15:19
Anonymous said...

I need to discuss this issue with all of you "I understand we must have a passion about our blogging. I think that’s where I go wrong sometimes. "

Regards,
Makita Tool Parts

27 October 2011 10:03
Anonymous said...

It could not be easier to know when you are running low, as a flashing light warns you when your tank is almost empty.

Regards,
Write My Essay

31 October 2011 23:38 Doctor Reviews said...

Another interesting read. I appreciate ur insightful post. I will check this site again... I am subscribing. thanks!

21 November 2011 21:34
Anonymous said...

I value your having time to speak about this. I am passionate concerning this topic and really enjoy understanding more about it.

Regards,
Dissertation Writing

22 November 2011 01:07 Refrigerant said...

This is a smart blog. I mean it. You have so much knowledge about this issue, and so much passion. You also know how to make people rally behind it, obviously from the responses. Youve got a design here thats not too flashy, but makes a statement as big as what youre saying. Great job, indeed.

20 December 2011 21:32 Natural Supplements said...

Gee...!!! thanks so much for posting this lovely article i really enjoyed reading it

30 December 2011 06:52 skin tags removal said...

Thanks for sharing superb information. Your website is so cool. I am impressed by the info that you have on this site. It reveals how nicely you understand this subject. Bookmarked this website page, will come back for more articles.

14 January 2012 06:31 PTP said...

thanks foe this.

24 January 2012 02:51 carpetcleaningau12 said...

Hello! Great post. I have been pondering this topic,so thanks for sharing. I’ll likely be coming back to your posts. Keep up the good work. carpet cleaning calamvale

Post a Comment

Browse through the Archives

All existing posts are still available to view while I'm working on the site, albeit seen in a much simpler interface. Feel free to browse through the archives to find tutorials, templates and articles to help you build a better blog:

Blog Archive

© Blogger Buster 2010 Home | About | Contact | Hire Me