Recent Comments Widget For Blogger

This widget will display the recent comments on Blogger blogs (free-hosted or self-hosted).

Steps:

1. Go to your Blogger Dashboard > Layout > Add a Page Element > HTML/JavaScript

2. Copy and paste the code below:

3. Put your own blog address as indicated in color blue below:

…src=”http://yourblog.blogspot.com/feeds/comments/default…

4. Add a title. Save.

Note:

This widget is set to display 5 recent comments. If you want to change that number, just look for the number 5 in the code and replace it with the number of comments you want to be displayed. I recommend setting it between 4 and 8.

… a_rc=5;var m_rc=false;var n_rc=true;var…

That’s it!

What's next?

Enjoy this post?...
Digg! Digg it. Would ya? Thanks!

24 comments ↓

#1 Lady Banana on 12.23.07 at 10:11 am

I like this and have just added it to my blog… Thank you :)

MyAvatars 0.2
#2 MadTom on 12.24.07 at 3:32 am

Lady Banana,

My pleasure.

MyAvatars 0.2
#3 Eric "Speedcat Hollydale" on 01.14.08 at 7:33 pm

You ROCK!!! Thanks so much, I just popped this into my template and it worked like a charm.

Thanks Tom :-)
Eric “SpeedyCat”

MyAvatars 0.2
#4 tarun on 02.20.08 at 8:13 pm

I have a private blog. From what i understand, recent comments doesn’t work with private blogs. Is that correct?

I copied the code as is, but nothing happened. Help!

MyAvatars 0.2
#5 Dissent on 02.21.08 at 10:27 pm

I think what tarun means by a “private blog”, is that his blogger settings are set so that only invited authors can read or write in it. I beleive this to be the case because I also have the same problem and my settings are as described above.

Is there a workaround? All I get is the Recent Comments header with no content.

MyAvatars 0.2
#6 Recent Comments Widget For Private Blogger Blogs — MadTomatoE.com on 02.22.08 at 3:28 am

[…] to tarun and Dissent, I’ve just learned that the Recent Comments Widget for Blogger doesn’t work […]

MyAvatars 0.2
#7 MadTom on 02.22.08 at 4:18 am

Oh yes, private blog. :D Now I remember. Thanks Dissent, for the clarification and for reminding me. I totally forgot that there’s a private blog feature of Blogger. Must be a spacejet lag after paying a visit to an old friend on Planet Eggplant. I’m sorry, tarun. :D

I came up with an alternative widget that might work on private blogs. See it HERE.

I’ve tested it only once with a single blog. It worked perfectly well. Try it. Please let me know if it does work with your private blogs, too.

MyAvatars 0.2
#8 Tarun on 02.22.08 at 6:59 pm

Hey!!!Friend Kindly Link Me With My Name Friend…
and you will not lose anything if you link my blogs with you , But you can Increase Yrs Page rank By Linking Me.
I found many website owners who are afraid of Linking Other websites..

Thanks

MyAvatars 0.2
#9 Florencia on 03.24.08 at 6:27 pm

Hi, thanks for the widget, although I do have one problem: my blog is in Spanish and it looks strange with the phrase “…commented on…”. Can it be changed to “…dijo en…”?

Regards

MyAvatars 0.2
#10 MadTom on 03.25.08 at 7:03 am

Hi Florencia,

I will try to make a Spanish version. Would you please translate “Recent Comments Widget For Blogger” to Spanish for me? Thanks! :D

MyAvatars 0.2
#11 Steve Sax on 04.16.08 at 10:40 am

Great tool. Two quick things:
1) Can you help me modify this to add the date/time the comment was posted?
2) Is there any way to open up the code so I can play with the fontsize and possibly truncate the original post title as well?
Thank YOU!!!

MyAvatars 0.2
#12 sylvesteR on 04.27.08 at 4:19 am

Hi, is there any way I can customize it? as in adding an icon at the start of each comment? Thanks in advance

MyAvatars 0.2
#13 alma on 06.07.08 at 8:03 am

wonderful! terrific! excellent! :)))

MyAvatars 0.2
#14 Alan on 06.30.08 at 9:31 pm

doesn’t work just display ↑ Want this widget?

MyAvatars 0.2
#15 Meeta on 07.10.08 at 11:55 pm

I am having trouble with it! It does not seem to work - Like Alan it just displays ↑ Want this widget?

MyAvatars 0.2
#16 MadTom on 07.11.08 at 12:20 am

Hi Meeta,

I’ve just tried grabbing your site’s feed and testing it here: http://wwx5.blogspot.com (click link to visit test site). The widget seems to be working perfectly.

Tip: When configuring HTML/JavaScript, be sure it’s on Html mode (just click Edit Html) when inserting the code.
Also, don’t forget to insert your own blog URL into the code as mentioned in step#3 (just look for the line that looks like this: src=”http://yourblog.blogspot.com/feeds/comments/default… and change “yourblog” with your own blog address).

Recent Comments (What’s For Lunch, Honey?)

MyAvatars 0.2
#17 Meeta on 07.11.08 at 2:02 am

Hi Tristan! Thanks for that quick reply - you’re gorgeous! OK so I have added a totally new element (See Recent Comments on the top of the first side bar on my blog) however, it’s still not working. What I noticed is when I click to ope the page element again the script is saved so:

var a_rc=5;var m_rc=false;var n_rc=true;var o_rc=100; Want this widget?

so where am I going wrong?

MyAvatars 0.2
#18 Meeta on 07.11.08 at 2:02 am

ok that did not work! maybe I can send you an email somewhere!

MyAvatars 0.2
#19 MadTom on 07.11.08 at 3:50 am

@Metta

Are you using the old Blogger (classic)?… Cause that might be the reason why the code doesn’t work. If that’s the case, I’ll see if I can get a work around with the code to work with the old Blogger. I will notify you.

MyAvatars 0.2
#20 Meeta on 07.11.08 at 4:01 am

no i am using the new blogger - I was using another code from Hans (Beautiful Beta ) - then yesterday changed it to your code but realized it’s not working.

MyAvatars 0.2
#21 MadTom on 07.11.08 at 10:01 am

@Meeta

You can try this one: http://www.madtomatoe.com/recent-comments-widget-for-private-blogger-blogs . It should work on non-private blogs, too.

MyAvatars 0.2
#22 Meeta on 07.11.08 at 1:50 pm

Tristan, thanks so much. That did the trick. However, I miss the style of this widget ;-( with the titles of posts and name of author. It was somehow more elegant.
How come this stopped working for me all of a sudden? Any ideas? I’d love to have this style back again. Can you help me on that please?
I’ll cook you anything you want on my blog ;-)

MyAvatars 0.2
#23 MadTom on 07.13.08 at 8:18 am

Hi Meeta!

I just sent you an email with the new (sort of) code for Recent Comments. Check it out. We might get lucky this time. ;)

MyAvatars 0.2
#24 Meeta on 07.20.08 at 3:59 am

Thanks T! It works perfectly now. I appreciate your time and help!

MyAvatars 0.2

Leave a Comment