- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
Blogger does not have an inbuilt recent comments feature. So you had to revert to Google to search for the best option to display recent comments, but none of them developed it as effectively as done in wordpress. So I made this very simple widget to display recent comments in Blogger - the Wordpress Style.
So by Wordpress Style I mean that it can display up to 4 different things. They are the Comment Date, Comment Author, Post Page where Comment was done, and lastly the Comment itself. The Comment URL in the recent comments feed have some weird links like "showComment=1213409400000#comment-c6962815339210283551" which actually do not direct to the actual comment but just the Comment's post page. So the Wordpress Styled Widget does the following tasks.

The Widget makes use of the fact that in Blogger blogs any 'posturl#comments' will take you to the position on page from where the Comments start just after the Post area. So when you click on the Post Page Link in the Recent Comments you will be directed to the comments on that page and not at the start of the page. Also the Commenter's name would link to the URL provided by the commenter while commenting.
Get Your Own Recent Comment Widget - WordPress Styled
All you need to do is to put in the required values in the Widget Generator shown below. Press the 'Customize' Button and then click on the 'Add Widget' Button to add recent comments widget to your Blog.
Please Give in your Ideas to improve the Widget or what you may wish to add to it.
You can also check out the Top Commentator Widget with backlinks for the Blogger Blogs.
If you are viewing this on a feed Reader the Widget Generation script will not be visible so you will have to visit the site to use the app.
Facing an error installing the widget? Check the Blogger add widget workaround
Download Javascript File to host on your own servers.

The Widget makes use of the fact that in Blogger blogs any 'posturl#comments' will take you to the position on page from where the Comments start just after the Post area. So when you click on the Post Page Link in the Recent Comments you will be directed to the comments on that page and not at the start of the page. Also the Commenter's name would link to the URL provided by the commenter while commenting.
Get Your Own Recent Comment Widget - WordPress Styled
All you need to do is to put in the required values in the Widget Generator shown below. Press the 'Customize' Button and then click on the 'Add Widget' Button to add recent comments widget to your Blog.
Please Give in your Ideas to improve the Widget or what you may wish to add to it.
You can also check out the Top Commentator Widget with backlinks for the Blogger Blogs.
If you are viewing this on a feed Reader the Widget Generation script will not be visible so you will have to visit the site to use the app.
Facing an error installing the widget? Check the Blogger add widget workaround
The Widget has been updated as per what Gengwall said. So Errors should have gone by now.
Download Javascript File to host on your own servers.
Try the all new Recent Comments for Blogger Version 2
Comments
Post a Comment
Use Real names , No Spam or Anonymous Comments (Commenting Policy)
All Comments are moderated
Hi,
ReplyDeleteI'm using your widget on my blog. However, the recent comments don't appear all the time. After I moderated new comment, the previous recent comments disappear and the new one also doesn't appear.
Please help.
Chetz Yusof
www.ChetzTV.com
Neither the widget nor the comments could be found on the blog. Sorry Can't help.
ReplyDeleteHi,
ReplyDeleteI installed your Widget on a PUBLIC Blog (Blogger). It works fine. But no way to make it work on a PRIVATE one (nothings shows up in the Recent Comments slot).
Is it normal or am I missing something?
Thanks in advance for any hint!
Regards
GG
Hi,
ReplyDeleteI installed your Widget on a PUBLIC Blog (Blogger). It works fine. But no way to make it work on a PRIVATE one (nothings shows up in the Recent Comments slot).
Is it normal or am I missing something?
Thanks in advance for any hint!
Regards
GG
Hi Guy, Welcome to CorpseofAttic. No you are not missing anything. The widget uses feed to display the comments, and for Private Blogs the feeds are disabled so, there is no display of comments.
ReplyDeleteThanks Gaurav for your answer. Do you mean that there is no chance to get a solution until the Blogger developers decide to do something?
ReplyDeleteDo you know if (at least)they are aware about that? A Blog without such a facility doesn't make sense!
Thanks for your help!
Guy
Hi Gaurav, another quick one! Where are we supposed to make requirements, so the Blogger developers can pay attention to what we (Blogger users) are asking for?
ReplyDeleteAny relevant URL for that?
Thanks in advance.
Regards
Guy
Yea, its absolutely true. None of the current methods to display Recent Comments can be done without feeds. So probably until Blogger comes out with something new, we can't make it out.Reason being Feeds are a public feature and if your blog has a feed it is public and not private.
ReplyDeleteYea you can Post in the Blogger help group, and also check out the Blogger Blogs, where they tell about new and upcoming features at Blogger Buzz and Blogger in Draft
I have been looking for this for so long! Most of the widgets I have found do not have the capability to create links to the commentors' URL unless the entry title's been clicked from the sidebar. Well done! This is a wonderful widget! =)
ReplyDeleteHi Techniqueal, Thanks a lot for commending the widget up :)
ReplyDeleteHi again. I do not know what I did but somehow, the widget seemed to have stopped working on mine. It only shows the last comment now even if I declared 10 max. Had the CSS part of the code altered a bit, but used to work before. The 'Grab This' link doesn't seem to appear now too. I'm not sure if it's a problem with my feed. Help please!
ReplyDeleteThe JS is located at:
http://techniquealtechie.googlepages.com/recentcomments2.js
I would really appreciate help, Thanks! =)
I have commented on your Blog, Check it and see if it works. Possibly it should. It is because of anonymous comments on the Blog. Check and tell :)
ReplyDeleteHi,Gaurav.I was wondering if there is a way to change "Commented on" with a simple "on" and if there is the posibility to not show the summary of the comment,just the post title and the commnentor.
ReplyDeleteHi ge0rgian,
ReplyDeleteYes, it can be done, Would need a new javascript for that, which you can replace instead of default one, provided by widget. Would Link to it soon :)
hi, thanks so much for the quick response on my question! now i understand why it seems to display incorrectly on my blog. is there a way to code it though so it would parse all comments, anonymous ones included? please please, i really like this widget! many thanks! =)
ReplyDeleteHi Techniqueal, Actually the problem lies with the fact, that Anonymous comments don't have any URL enclosed with them. So The javascript misses the URL part and so all comments made before that disappear. So A workaround is that to make the URLs disappear from the 'name of commenter' part. The other way is to as your users not to comment anonymously, like I have done.
ReplyDeleteTweeking the script as Gaurav suggests is pretty simple. I just initialized the authorurl variable to a blank string and then tested for the existence of the author uri object before populating authorurl. Then I changed the html writing of the anchor tag based on whether or not authorurl is empty.
ReplyDeleteHi GengWall,
ReplyDeleteWelcome to the Blog, and thanks a lot for sharing the tip with the readers :) Cheers.
This comment has been removed by a blog administrator.
ReplyDeletehi. i would like to create a link and blog about this as i believe this is a great find. thanks to gengwall, his tweak actually worked! would it be alright with you, being the widget creator, if i post a how-to tweak on my blog? (anonymous comments now included on recent comments list) proper commendations applied of course. thanks.
ReplyDeleteYea, Actually most bloggers don't have an issue with an article of theirs being blogged, as long as proper credits and links to original posts are given. Problem comes where plaigarism creeps in. Then legal actions ought be taken for non credited publishing. I too had updated the code as per Gengwall's recommendations.
ReplyDeleteas
ReplyDeleteHi, my suggestion is: it would be great if the recent comments could exclude commenters similar to the way top comments does. Thanks. great stuff!
ReplyDeleteNice Suggestion Eric... would try and implement, and if successful would post about it :)
ReplyDeleteHi there! I installed this widget to my blog however I am getting comments shown from last year. It seemed to have been working fine but for the last few weeks it is gone all ga-ga! can you please help as I loved the widget!
ReplyDeleteIt's intalled but not showing up in my home page
ReplyDeleteThank a lot sir...
ReplyDeleteNice.............................
ReplyDeleteThanks man
This comment has been removed by a blog administrator.
ReplyDeleteGreat one!
ReplyDeleteThis is what I'm looking for.
Thanks! =)
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThis is the best recent comments widget for Blogger that I've ever seen! None of the others will link to the commenters URL like this one does. Fantastic! I'd like to download the .js file script to my own server but when I click the download link it keeps saying the page can't be displayed. I want to do this to make sure it doesn't stop working due to bandwidth limitations and also so I'm not taking up your bandwidth. Any advice?
ReplyDeleteHi Chris,
ReplyDeleteI have Updated the Link, and Probably u can try the new Recent Comments Widget too.
Let me know of any feedback :)
the widget is a great tool. that what i have been looking for to put in my blog. thanks a lot.
ReplyDeleteThanks a lot.
ReplyDeleteGreat one!
ReplyDeleteThis is what I'm looking for.
Thanks! =)
Nice. Thanks for download link :)
ReplyDeleteoh awesome widget. I'm going to throw it on my blog. Good stuff , thanks again for the share. You just keep offering great stuff.
ReplyDeleteI have created a similar widget, but with lots of customizable parts and more features: check it out! http://www.codingmix.com/2010/07/recent-comments-widget-for-blogger.html
ReplyDeletenice article
ReplyDeleteGreat Article. I just checked two three article of this blog and find it very good. Thanks Gaurav ! You have shared very good information about widgets. It looks like you have great expertise in this field.
ReplyDeleteGlad you liked it MIFTAH :)
ReplyDeletei will try this one, i will put in my blog now thanks
ReplyDeleteHi WorkingatHome,
ReplyDeleteGlad that u liked the widget :) But I saw that it is not displaying properly on your site. The URL in the widget is wrongly set. You can again customize it with your own URL again
i noticed that also, i just put my url w0rkingath0me.blogspot.com and i don't change the rest but still error i guess.
ReplyDeleteis there any way to filter blog admins name.. just like as you did in top commentator widget
ReplyDeletethanx .i have used it
ReplyDeletethanks
ReplyDeletewah.. nice.. i use it.. thank's ^^
ReplyDeleteLooking for that.Nice work man.Thanks.....
ReplyDeletevery nice ... i used it thanks
ReplyDelete