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.
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
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!
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:
- Change the title of the widget if you prefer.
- Add your blog's URL in the input box (don't include the
http://
part as this is already inserted by the script) - 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:
thanks amanda.......
Thanks for this trick.
http://hrinterviewzone.blogspot.com/
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?
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
Nice site many useful informations really great work
just a question though. does this widget work if you've installed the intensedebate commenting system?
This is a great widget Amanda, thank You!!
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
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?
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.)
sinema izle
nice.
You are so kindful!
informative and succesfull article!
Hi,
I got this one too..but is there a widget with most visited post instead of most commented post?
THanks.
I have tried everything. Doesn't work on my blog.
www.cockybox.com
Kindly help.
Thanks for your this posting.I have implemented this and get enormous interest.
Hi Amanda,
Thank you very much for this - just what my blog needed!
thank you so much!!
I have found some truly wonderful widgets on this site tonight and i thank you for all of them.
thank you for this post! i'm using this widget on my blog now
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?
Only work for english? Cause there is buggy in my blog. Pls visit and advice. Thanks~
This that I find..
Thanks for you tutorial..
http://www.moratmarit.com
er...why no update for such a long time? TT
thanks for the widget..very nice
thanks a lot.i love blogger :)
film izle
it could not work some times on my blog....
funny scraps
A blog for all about humor and funny scraps….
Good Article
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
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.
Great, love blogger!
spiderpoman
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.
Very nic, I´ve been looking for something like this for a very long time :)
They are really interesting to watch at times.
Bloging, SEO, and Money Making Tips by http://teratips.com
muito bom vou coloca-lo no meu blog!
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?
cok sagol amanda baji :D
thank you for info..
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.
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
thanks you good
Aren't there like a zillion plugins that do this?
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.
nice tutorial...
It stopped working a week before. Pl let us know if this will be fixed in a short time.
Thank you.
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
it doesn't work on my blog either:)
Post a Comment