48 Popular Posts (Most Commented) Widget for Blogger Blogs
Sunday, April 13, 2008 /

Here is a Popular Posts widget for Blogger blogs which displays a list of the ten most commented posts. This works by parsing the last 5000 comments which have been made on your blog; the post titles and URL are extracted and displayed in descending order of popularity, followed by the comment count of this post.

Over the past few weeks, many of you have expressed an interest in such a widget, and I hope this will become a useful widget for you all.

You can see this widget in action and install this in your own Blogger powered blog using the widget installer below.






Please note: if you are reading this post in your feed reader, you will not see the widget installer and will need to visit this page in your browser instead!



Widget by Blogger Buster
On the right you can see an example of the Popular Posts widget, which displays the ten most popular posts from Blogger Buster (including their comment count). This widget uses Yahoo! Pipes to parse and display each item in the list using the last 5000 comments which have been made on this blog.

Update: I've just changed the mark-up of the widget to capitalize only the first letter of each word in the post titles (thanks to Angel's great advice!)

Installing this widget in your own Blogger blog is easy:

  1. Change the title of the widget if you prefer.

  2. Add your blog's URL in the input box (don't include the http:// part as this is already inserted by the script)

  3. Click the "Customize" button to make the changes take effect, then click on the "Add to Blog" button.

At this point, you will be taken to the widget installer page where you can choose which of your Blogger powered blogs you would like to install this widget.

O Ricardo traduziu este widget para Português que pode ser encontrado nesta página.

A bit more information about this widget

I have developed this widget using Yahoo Pipes, where I added variables to retrieve 5000 comments and extracted the titles and URLs using Regex (regular expressions).

If you would like to take a look at how this works, feel free to hop over to the Blogger Popular Posts/Most Commented Pipe page where you can also make a copy and edit to your own specifications.

Using This Widget in a Blogger Feed Widget (Alternative Installation)

If you would prefer to use Blogger's Feed Widget instead (which loads the items slightly faster), you modify the following feed link to include your own URL (eg: yourblog.blogspot.com or www.yourblog.com) and add insert this as the "Feed URL" on the widget configuration page:

http://pipes.yahoo.com/pipes/pipe.run?_id=1cf38ae68efbe859c4ba1ee239cec099&_render=rss&num=50&url=http%3A%2F%2FYOUR-URL-HERE

However, using Blogger's Feed Widget will limit the number of items you can display to 5 instead of 10, and you will not be able to number your items.

Troubleshooting the Popular Posts Widget

If you have installed this widget in your blog but the post links are not displayed, this may be due to one of the following issues:


You have added your blog's URL incorrectly

Double check your blog's URL when you add this to the widget installer, and remember not to add the "http://" part as this is already added by the script.

Your Comment Feed is Set to None

To remedy this, go to Settings>Site Feed in your Blogger dashboard and click on the "Advanced Settings link. Here you will see the option to switch your comments feed to Full or Short instead of None.

I have tested this widget extensively for both Blog*Spot and custom domain URLs in Internet Explorer and Firefox. So far, I haven't come across any problems, though if you do have a problem with this widget which I've not covered here, please do leave a comment or get in touch and I will try to help.

If you have found this widget to be a useful addition to your Blogger blog, please consider subscribing to the Blogger Buster feed and be updated of new articles about Blogger as they are posted.


48 comments:

February 3, 2009 at 11:23 AM Gunawan said...

thanks amanda.......

February 22, 2009 at 11:23 AM
Anonymous said...

Thanks for this trick.
http://hrinterviewzone.blogspot.com/

March 5, 2009 at 8:07 AM sklep internetowy said...

My URL is correct and my Site Feed is set to Full. If I go to the Pipe itself it is unable to run the Pipe, could that be the problem?

March 7, 2009 at 1:48 AM Aditya said...

Posted a review here - http://adityasanyal.blogspot.com/2009/03/blog-update-popular-posts-for-blogger.html

Although your widget is VERY useful, I see four challenges -

1. Will only work for english language posts
2. Will not capitalise letters
3. Will parse the Url and not the blog title
4. The list items tend to come in the center, and not on the left like my other entries

April 6, 2009 at 6:39 AM simple websites said...

Nice site many useful informations really great work

April 16, 2009 at 8:13 PM Lio Loco said...

just a question though. does this widget work if you've installed the intensedebate commenting system?

April 17, 2009 at 11:48 PM ANNA-LYS said...

This is a great widget Amanda, thank You!!

April 20, 2009 at 12:19 AM ANNA-LYS said...

Hello Amanda,
My widget doesn't update when more comments are arriving after installation. I have tried using an update in my layout. I use blogspot! can You please, advice me how this will update by itself.

// AnnA

April 21, 2009 at 1:43 AM Karen & Gerard Zemek said...

I installed this on both my blogs and it was working fine up until about a week now. Don't know how to fix it. www.zemeks.blogspot.com and www.karenzemek.blogspot.com. Can you help me?

April 23, 2009 at 12:45 PM Dyl said...

I have the same problem. It was fine until a few days ago - now no longer works? Any help would be much appreciated. (Great stuff.)

May 4, 2009 at 8:04 AM amber shop said...

informative and succesfull article!

May 6, 2009 at 7:55 AM Insider-Insights said...

Hi,
I got this one too..but is there a widget with most visited post instead of most commented post?

THanks.

May 6, 2009 at 2:30 PM Harprabhjot Paul Singh said...

I have tried everything. Doesn't work on my blog.

www.cockybox.com

Kindly help.

May 17, 2009 at 6:17 AM Abu Bakar said...

Thanks for your this posting.I have implemented this and get enormous interest.

May 19, 2009 at 7:47 AM tippopotamus said...

Hi Amanda,
Thank you very much for this - just what my blog needed!

May 19, 2009 at 9:02 AM Max said...

thank you so much!!

May 22, 2009 at 6:13 PM Paul said...

I have found some truly wonderful widgets on this site tonight and i thank you for all of them.

June 1, 2009 at 2:25 AM czaroma said...

thank you for this post! i'm using this widget on my blog now

June 1, 2009 at 6:52 AM Marc said...

Its not working for me either. My blog address is http://pseudo-marc.blogspot.com/ and all it shows is "Popular Posts Widget" even after 3 days. How?

June 10, 2009 at 6:19 PM elims Chuang 光宏 said...

Only work for english? Cause there is buggy in my blog. Pls visit and advice. Thanks~

June 12, 2009 at 2:23 PM moratmarit said...

This that I find..
Thanks for you tutorial..
http://www.moratmarit.com

June 12, 2009 at 10:10 PM elims Chuang 光宏 said...

er...why no update for such a long time? TT

June 17, 2009 at 12:03 AM Faisal Rahadian said...

thanks for the widget..very nice

June 18, 2009 at 4:14 AM Caner said...

thanks a lot.i love blogger :)
film izle

June 23, 2009 at 11:27 AM Rajesh Kumar.Chekuri said...

it could not work some times on my blog....


funny scraps
A blog for all about humor and funny scraps….

July 4, 2009 at 7:14 PM Michal said...

Hi there. After installing this widget it wasn't working for me, just displaying the "Widget by Blogger Buster."

I double checked your suggestions in the troubleshooting section and they seem to check out. I also followed the Pipe link, and there I got the following error message...

"Pipes encountered a problem while running this pipe: The Pipes engine request failed (999)"

I don't know if the whole thing is down at the moment or if it's something on my end, but I was hoping that you might shed some light on this. Thank you in advance.

Michal
www.mentisworks.org

July 5, 2009 at 7:04 AM sotostips said...

I have a greek language blog. The widget worked, meaning that it listed the popular articles, but failed to retrieve the post titles and instead it is displaying the latin words from URL's.

July 8, 2009 at 10:28 PM spiderpoman said...

Great, love blogger!
spiderpoman

July 9, 2009 at 5:10 AM cgedas said...

Thank You for such a great widget. I just want to ask if the widget should start work instantly or after some time? My blog is cibulskis.blogspot.com and is written in Lithuanian language if it makes any difference.

July 9, 2009 at 12:19 PM petr said...

Very nic, I´ve been looking for something like this for a very long time :)

July 10, 2009 at 11:20 AM teratips said...

They are really interesting to watch at times.
Bloging, SEO, and Money Making Tips by http://teratips.com

July 12, 2009 at 12:44 PM estudiodicas said...

muito bom vou coloca-lo no meu blog!

July 15, 2009 at 6:47 PM
julie green said...

i've been using this widget successfully at http://upupcreative.blogspot.com for awhile, but i noticed that in the last month or so it has stopped working. thoughts?

July 16, 2009 at 1:19 AM film izle said...

cok sagol amanda baji :D

July 21, 2009 at 2:47 AM film izle said...

thank you for info..

July 23, 2009 at 7:47 AM Félix said...

Thanx for your hard work Amanda. We have some troubles with that pipe script. I´ll try once, twice, more than even we need your support, lol.

my blog is in Spanish yet, http://lashistoriasdemisabuelos.blogspot.com/. I used to write in that language, but I update that blog in English and French, but i need the popular post script working out.

would u have any idea for solve that problem?

Thanks por your blog, your ideas, and your comments.

Best regards.

July 27, 2009 at 8:53 AM Setetes Embun said...

well thank u for the post.
the widget has been successfully set at http://ilalangpagi.blogspot.com

Even so, it displays the link not the title

August 7, 2009 at 10:31 PM Mmorpg said...

Aren't there like a zillion plugins that do this?

August 11, 2009 at 7:46 AM Morning T said...

I installed this yesterday and it's not displaying anything. Looks like others are having the same problem. Are you working on a fix for this?
Thank you.

August 27, 2009 at 1:53 PM Babaji M P said...

It stopped working a week before. Pl let us know if this will be fixed in a short time.
Thank you.

August 28, 2009 at 7:24 AM N@k$h@tr@! said...

Hi,
My posts are not being displayed.
I have given the right url and also set my feed to full.
still,posts are not displaying..
my blog link is.. http://swathi-pradeep.blogspot.com
please help

September 21, 2009 at 3:23 AM Goldmund said...

it doesn't work on my blog either:)

Post a Comment