260 Recent comments widget update! (This works in IE7)
August 24, 2007 /

EDIT: You can bow create your own "Recent Comments" widgets using the Recent Comments widget generator here at Blogger Buster.

Since the Recent Comments Widget suddenly stopped working in IE7, I've updated the code and uploaded it to my site in order for us all to continue using it! You can download the new code below. I've tested this in both IE and Firefox and it seems to work just fine (take a look in my right sidebar).

Here's the updated code for the widget which should work fine for all browsers (copy and paste into an HTML/Javascript widget in your blog sidebar):

<script style="text/javascript" src="http://kunoichi.info/blogger_buster/comments.js"></script><script style="text/javascript">var a_rc=3;var m_rc=true;var n_rc=true;var o_rc=100;</script><script src="http://yourblog.blogspot.com/feeds/comments/default?alt=json-in-script&callback=showrecentcomments"></script>
You need to change the portion in red to your own blog address in order for the widget to work.

If anyone has problems using this widget, please let me know!

Technorati Tags: | |

Author: Amanda Kennedy

Amanda is a professional blogger and web designer living in Sheffield, United Kingdom.

In addition to curating Blogger Buster, you can find Amanda on Twitter, Facebook or add her to your circle on Google+.

Like to share?

You may also like to subscribe to Blogger Buster's RSS feed or receive free email updates of our latest posts.

260 comments:

  1. I'm glad to hear this is working okay for you!

    ReplyDelete
  2. Thanks a lot! Seriously, a LOT!:)

    ReplyDelete
  3. Thanks for that! It works a treat. The only thing is that it only shows three recent posts, whereas my old one used to show 5. How do I remedy this? Also, is it possible to add a link to leave a general comment from this widget?

    ReplyDelete
  4. Im with the dude above about allowing more comments.

    But first and foremost thanks for fixing what I got used to from the other site. Is it possible for us to host the script ourselves?

    We have added a link to your site from AskTheAdmin.com

    You Rock1

    ReplyDelete
  5. You can easily change the number of posts by altering the variable var a_rc=3 in the code. Just change the 3 to 5, or whatever.

    ReplyDelete
  6. @Karl L Gechlik: of course, I don't mind if you host the script yourself! You would need to download the script from here:
    http://kunoichi.info/blogger_buster/comments.js
    and upload this to your own hosting account, then change this link in the widget code to match the new url of the script.

    @John Bolch: Thanks for posting your comment about the variables. I've only just got back to the computer to be able to answer these requests!

    The variables to change elements of the widget are all contained within the widget code itself rather than the external javascript, so altering them is made much easier. I will make a post about this later for the benefit of other users, and will look into the possibility of providing a form to generate the code similar to the one which appears in the Blogger Templates blog (at present I am a little busy with another Blogging project!)

    ReplyDelete
  7. Thanks so much for telling me how to do that! And so easy too!

    ReplyDelete
  8. Hi Amanda, i'm Peter, from Perú. Could you tell me please how can i change the phrases On Aug 24 becky commented on to spanish.

    ReplyDelete
  9. Hello Peter,

    To translate this to Spanish, I would have to rewrite most of the javascript code for the widget and translate keywords to Spanish. Unfortunately my Spanish is very poor, and I think I would struggle to do this effectively! What I can do is to make the widget say "Becky comentada encendido" for example, if you would be willing to omit the date prefix?

    Let me know if this would be okay and I'll post the javascript and widget code for the Spanish version.

    ReplyDelete
  10. Hey thanks ya! this works for me, but I can see only 3 comments, is there any way to increase the no.of comments on this widget

    ReplyDelete
  11. I've now uploaded a Recent Comments Widget Generator which you can use to easily customize your widgets to suit your preferences, and then upload straight to your blog!

    Hope this helps you all get your widgets working the way you like them to. Please get in touch if there are any problems with this.

    ReplyDelete
  12. Thanks. Your widget works like a charm.

    ReplyDelete
  13. This comment has been removed by a blog administrator.

    ReplyDelete
  14. @Ildebe aka Bebeto: thank you so much for doing this, I'm sure it will be of great benefit for other bloggers :)

    ReplyDelete
  15. Hi,

    For the last few days, when I click on the commenter's name inside the widget, it doesn't take me directly to the comment anymore, but rather to the post page.

    I think this is because the widget is reading comment address endings as "#comment-c8580156288701345694" whereas the comment address endings are simply "#c285520970679359586".

    Help!:)

    ReplyDelete
  16. @Asif:

    Yes it is acting strangely now. Even when using the comment permalink from the comment itself I can't link directly to the comment.

    It works on some blogs but not on others. I'm not sure why this is happening either.

    I haven't made any changes to the javascript used for this hack, so now I'm wondering if this is something happening at Blogger's end..?

    I'll look into it and will let you know when I find out what's happening.

    ReplyDelete
  17. Thanks Amanda! I'm almost 100% sure it's something to do with blogger and not your script.

    ReplyDelete
  18. Hi Amanda! Thanks for this widget. I'm using it on my blog! I love it!!
    BRAVA BRAVA BRAVA ^__^

    ReplyDelete
  19. Hi Amanda,

    Just wanted to let you know I recently discovered your "Recent Comments" widget, and it works quite nicely. Thank you for providing this.

    Chris Lyons
    Office Hero Headquarters
    http://officeherohq.blogspot.com

    ReplyDelete
  20. Thanks! :)

    I added it to my blog.

    ReplyDelete
  21. This is so great, thank you!

    ReplyDelete
  22. i already added it to my blog but its not working, any idea to chase up for me? tq

    ReplyDelete
  23. Great, I have been searching for so long!
    My blog look better now! Thank you very much!

    ReplyDelete
  24. I put this widget in my blog months ago and it's worked fine. I went on to put it in the blogs of everyone I know. Working fine. Then out of the blue mine doesn't work! There are no comments in the box even though there are loads of comments. Site feed and comment feeds are enabled at full. If I change the URL address on the widget to someone else's blog I can see the comments on THEIR blog. It MUST be something to do with the permissions but it all seems like the permissions are in place. What could be going wrong????

    ReplyDelete
  25. It's not working for me. =(

    ReplyDelete
  26. It works except that it seems to be picking up the post title from the post's URL, so the title is all in lower case, is sometimes truncated and occasionally has a number as a suffix. Anyway to pick up the actual post title?

    ReplyDelete
  27. Hi, mu name is Adrián, from Mexico.

    Congratulations for your blog... it's very useful.

    I'm using this widget in my blog, but is in spanish and I'd like to know if is posible to translate "on June 16 John Smith commented on..." to spanish.

    Thank you !

    ReplyDelete
  28. Thanks ! Have this in my blog now and I love it !

    ReplyDelete
  29. this blog is doing really grt........ salute to U....

    ReplyDelete
  30. Shilpa Plzzz cum back !!
    v misss very much !!!

    ReplyDelete
  31. very great widget..will pose it in all my blogs..thanks..

    http://gemstarlightexpress.blogspot.com Simply The Best
    http://www.rubybenz.com Euroangel Graffiti
    http://www.theworldwidewebaddict.rubybenz.com The WWW Addict
    http://www.mydailynourishment.rubybenz.com My Daily Nourishment
    http://myeurotravelandadventures.blogspot.com My Euro Travel and Adventure
    http://www.euroangelsgermany.com/Euroangel's Exploring Germany
    http://www.myeuroangel.com/ Adventure in Carefree USA

    ReplyDelete
  32. This comment has been removed by the author.

    ReplyDelete
  33. Hi there,
    thanks for this great widget!
    Is it possible to change the colour of the writers names?

    ReplyDelete
  34. Thanks. It worked fine. any way to changed the size of the comments in particularly that widget only?

    ReplyDelete
  35. Ihr seit alle bescheuert, ihr mit eurem veoh! Bin froh das ich hier ma wieder was gefunden hab mit dem divx player. Ich mein ihr könnt ja mehere player nehmen, aber der divx player sollte immer dabei sein. Also mit den anderen playern bin ich sehr unzufrieden und es hat kaum was damit zu tun das man sich es da gleichzeitig runter lädt, man kanns ja wieder löschen wenn mans nicht mag. Bei den anderen playern ist die qualy meißt richtig beschissen, ich hoffe ihr hört nicht auf die, die was gegen den divx player haben, macht einfach weiter so, euch allen noch viel spaß!!

    Übrigens ich suchte den Film get Smart, weiß nicht zufällig jemand wo man den schon gucken kann?!?

    ReplyDelete
  36. Please correct the error below, and submit your template again.
    Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
    XML error message: The reference to entity "callback" must end with the ';' delimiter.

    i received this. i'm not sure what went wrong. i hope you can find a solution for me.

    ReplyDelete
  37. I like Parwez Musharaf Becuse he is the only prseident who are honest, sincere and a great politician.

    ReplyDelete
  38. wow..is it my blog or the code is not working..huwaaaa..

    ReplyDelete
  39. Hi, First I want to say thank you! I like this feature a lot and I already added it to my blog.

    I noticed one problem, though. I write my blog in Polish and some of the non-standard letters (like ę, ś, ó etc.) are automatically deleted from post titles in the widget, although they appear allright in the comment body. Is there a way to fix it?

    Here's the blog in question, in case you want to have a look (scroll down to see the widget)
    http://szafasztywniary.blogspot.com/

    ReplyDelete
  40. Maybe this has something to do with the fact that post urls don't show those fonts either.

    ReplyDelete
  41. Someone really decided to put on their thinking cap, great going! It’s fantastic to see people really writing about the important things.

    ReplyDelete
  42. Hi..... congratulations met, this his article was very good, could I with in blog saya. thank you

    ReplyDelete
  43. I'm pretty new to this and I can't get it to work. Which part of the sidebar HTML do I put it in? Thanks.

    (Feel free to tell meif I'm just trying something too advanced for my template!)

    ReplyDelete
  44. where's the sidebar?
    where exactly do i paste the code?

    ReplyDelete
  45. a very big help. thank you so much!

    ReplyDelete
  46. thanks, better than mine, I take yours

    ReplyDelete
  47. thank you... I really appriciate it... thanks again..

    ReplyDelete
  48. It doesn't seem to work in my blog either, though it does for every other blogger I know.

    (http://fumierresartus.blogspot.com/)

    ReplyDelete
  49. OMG!
    Amanda, you are really my savior!
    Can't thank you enough!

    ReplyDelete
  50. Thank you very much. It's working a treat.

    ReplyDelete
  51. IT doesn't work for me. The title comes up on the side bar, but comments aren't displayed. I have my blog private, does that make a difference?
    sarahtcit@yahoo.com

    ReplyDelete
  52. Hi, i have added the widget, but i still couldnt use it, can you help me on that?

    really appreciate it.

    thank youyj

    ReplyDelete
  53. Since I moved our blog to its own domain name (its still powered by blogger) I have noticed that the recent comments do not seem to be updating. I have adjusted the URL in the script but new comments are not showing up.... Why?

    ReplyDelete
  54. Durai MOvie is a copy of the movie GLadiator (2000) many parts of the story are copied. Bad attempt

    ReplyDelete
  55. HOW TO MAKE LABELS????LIKE LABELS IN YOUR BLOG......PLEASE

    ReplyDelete
  56. Is it possible to chenge the language in the widget?

    ReplyDelete
  57. Yep! That works for me! Thanks!

    Emily

    ReplyDelete
  58. I just added this in my site. Thanks!

    ReplyDelete
  59. Thanks a million for this gem! One small problem for me though. SOme of my posts are in chinese, so when the comments showed, they became On Oct 29 Sue commented on blog post_29:..." The Chinese title became "blog post_29". Any way to get around this? Thanks!

    ReplyDelete
  60. Dear Sushil,

    Thanks for Great Epid RAMAYANA.

    The file http://rapidshare.com/files/145974107/ramayan_ep_021.rar could not extract, and showing CRC error.
    Please upload it again.
    -Bhartendu Trivedi

    ReplyDelete
  61. Hi

    I tried to paste it in HTML but something comes up in spanish or so...Kindly tell me what's wrong?

    ReplyDelete
  62. hi visit first, I just a copy of your widget. tanhk you. if you tour to Bali please.
    www.indoncrafts.blogspot.com

    ReplyDelete
  63. How to change the tile of the post according to the real title? I mean, some of the uppercase letters are changed to lowercase letters.

    ReplyDelete
  64. stopped working for me back in Aug.

    Tried readding it many times and still does not work

    ReplyDelete
  65. HI! I am using Firefox 3.0.5 and 3.1 Beta 2. I have copied your widget but it not showing any comment.

    Same is happening with Top Commentators widget.

    Could you please help on those two? Both are still installed in my blog

    I am pretty sure I did it correctly.

    Best Regards

    ReplyDelete
  66. Che splendido Natale!!La migliore colonna sonora della vita.GRAZIE
    That wonderful Christmas! The best soundtrack of life.Thanks

    ReplyDelete
  67. Have anyone album this Eternal Spirit with this artist David Sun?
    And this CD's from Global Journey Eternal Forest.

    ReplyDelete
  68. Hiya, very helpful gadget for us bloggers... thanks for sharing...

    http://madzlifesdiary.blogspot.com/
    http://madzlifesknowledge.blogspot.com/
    http://mybeachweddinginmauritius.blogspot.com/

    ReplyDelete
  69. I searched something like this, thanks it works like a Magic....

    Do check my blog http://openwithursmile.blogspot.com/

    comment leave your valuable comments...

    ReplyDelete
  70. I was searching like this, thanks a lot, do visit my blog www.openwithursmile.blogspot.com/ and leave your valuable comments....

    ReplyDelete
  71. It works from me BUT shows very old comments from 2005. What do I do?

    ReplyDelete
  72. Thanks! I really like it. I'm using on my blog! Sorry 'cause my english is bad. But I want to write this here because this help me on layout of my blog! Kisses!

    ReplyDelete
  73. Works great, but the comments it's showing aren't from my blog..... o.O

    ReplyDelete
  74. im using this widget in my blog.. its cool check me www.timugon.com

    ReplyDelete
  75. Thank you! Like someone else asked, is there any way to have this show the actual post titles, with uppercase letters, special characters and all?

    ReplyDelete
  76. pharmacist man20 January 2009 14:38

    jazaka-allah sister

    ReplyDelete
  77. This is a great tool that I found through Network Blogs, from someone that joined my network, then browsing through her blog...how cool is that. I posted to my blog! Thank you.

    ReplyDelete
  78. Thank you...^_^
    that's really work

    ReplyDelete
  79. wow !!! Amazing widget it really works fine on my blogs.

    ReplyDelete
  80. Hi...thanks for the information...you sure have helped me a lot...i was searching for codes for recent comments on blogger before but didn't work...gladly that i found your site...thanks again and keep it up....

    ReplyDelete
  81. Works great - thanks very much.

    ReplyDelete
  82. very,very hot guy

    ReplyDelete
  83. Hiya, very helpful gadget for us bloggers... thanks for sharing...
    http://hell69-sarawak69unityban.blogspot.com/

    ReplyDelete
  84. hi, how to keep this widget scrolling...!

    ReplyDelete
  85. thanks ... it is work with me :)

    ReplyDelete
  86. Hello, I am of Argentina, I collect t-shirts of soccer but ONLY red and black to strips vertical, if somebody knows some club Malaysia that has those colors I exchange, it by some of my country. - Thanks Fidel
    joeelpolentero@yahoo.com.ar

    ReplyDelete
  87. thanks for this. :D

    sriramble.blogspot.com

    ReplyDelete
  88. Thanks for the widget Amanda, it works!

    ReplyDelete
  89. Hi i From Colombia, good blog, I was very helpful ... greetings

    ReplyDelete
  90. Funciona perfectamente. ¡Muchas gracias!

    ReplyDelete
  91. Thanks for the widget , it works ^_^

    ReplyDelete
  92. Thanks for the widget!! U rocks...

    ReplyDelete
  93. Its a really good tip Amanda! I´ve put it on a friends blog and it works peeeeeeeeerfectly :-D

    ReplyDelete
  94. thanks a trillion.....now it works for my blog ;)

    ReplyDelete
  95. ¡Que útil! muchas gracias, quedó excelente en la plantilla de mi blog :D

    ReplyDelete
  96. hi...im sorry but i don't think it works for mine...i copied and paste then it says the world 'callback' must end with ';' and even after i add that,i saved the template, the widget still don't appear in my page

    ReplyDelete
  97. Thanks for this widget , it works
    just place it on my blog ^.^
    http://www.mmulite.blogspot.com/

    ReplyDelete
  98. Just set it up on my blog, thanks.
    http://www.mmulite.blogspot.com/

    ReplyDelete
  99. Great widget , thanks for sharing...

    ReplyDelete
  100. Thank you for sharing this. It worked instantly. Awesome

    ReplyDelete
  101. Thanks so much, added mine last night, really pleased with it.

    ReplyDelete
  102. Wao! i really want this one on my blog .XD
    well, i don't quite understand my layout though...
    The comments won't open. XD originally it really was not coded in the blog template i downloaded. but if you have any thoughts... please help me use the comment program by blogger on my entries page... (http://meizuffu.blogspot.com) thank you very much ^^

    ReplyDelete
  103. thx.. just added to my old blog

    ReplyDelete
  104. Thanks, great tool.

    If now I only actually had some comments in my blog :P

    ReplyDelete
  105. I put this widget in my blog months ago and it's worked fine. I went on to put it in the blogs of everyone I know Working fine. Then out of the blue mine doesn't work.

    ReplyDelete
  106. Thanks so much, Amanda!

    ReplyDelete
  107. thank i'll try this widget..

    ReplyDelete
  108. thx...works for me too! just added to my blog...

    ReplyDelete
  109. HOLA. ME GUSTO MUCHO TU BLOG FELICIDADES¡¡
    SOY MEXICANA SALUDOS ROSS

    ReplyDelete
  110. thanks..it work for me

    ReplyDelete
  111. thank you for a great widget.

    ReplyDelete
  112. Nice post.

    Kami merupakan pekerja2 yang telah dipecat tanpa pampasan. bantulah kami meriahkan blog kami. jadi follower kami.

    kami nak perjuangkan hak kami.

    http://agni-energie.blogspot.com/

    ReplyDelete
  113. terrific...i love it ..
    i will try to modify my blog with this widget
    thanks

    ReplyDelete
  114. Hi
    I tried to add the widget to my blog,but it didn't work.Help!
    http://iweikok.blogspot.com/

    ReplyDelete
  115. nice blog and nice information

    ReplyDelete
  116. PROBLEM SOLVED...NICE INFO

    ReplyDelete
  117. this is very nice... thank you so much..

    ReplyDelete
  118. worked like a charm... and everyone likes charms.

    ReplyDelete
  119. It works for me...thanks
    But..I don't want to put the date..
    How could I change the code?

    ReplyDelete
  120. hi, thanks i'm happy with you recent-comments widget generator, it's very simple.Thanks all.

    ReplyDelete
  121. Hi There!

    You got a very nice site! Its helpful!

    Hope that we can exchange links. Here are my links:

    http://rockyrics.blogspot.com/

    http://bitsofrocks.blogspot.com/

    http://tvseriescraze.blogspot.com/

    http://techkyrocky.blogspot.com/

    http://rocklits.blogspot.com/


    Hope also to visit my sites. Thanks!

    ReplyDelete
  122. hey there ;) thanks for droppin by!hope u visit my other blogs too
    life round me N you
    earthy me
    at-a-blink
    heartQUAKES

    ReplyDelete
  123. thanks it works!its just that i need to change the font colour.how do i do so?

    ReplyDelete
  124. Hi, I have re-loaded the code and I still aren't getting my recent commnets coming through. It still has yesterday's comments. Any clue as to why this would be?? I've had a bunch of new comments since then! Thanks

    ReplyDelete
  125. So much better than the one blogger offers. Thanks!

    ReplyDelete
  126. tlg kc tau setingnya ebuddy handler donk. krm ke email y.. ni almtnya padjero.v.4.2@gmail.com

    ReplyDelete
  127. tlg kc tau setingnya ebuddy handler donk...

    ReplyDelete
  128. hello

    thank you very much
    very nice widget

    ReplyDelete
  129. Hejsan, hos mig fungerar det inte, testade med ett par kommentarer i går kväll, men de syns fortfarande inte:-)

    ReplyDelete
  130. Hey, with me it does not work, tried yesterday with a comment that is not visible yet.

    ReplyDelete
  131. Thanks a mill, dear friend!

    It works and it works good...! Cheers to you!

    ReplyDelete
  132. Man, you are a a legend! I've spent about a week trying to sort out my comments because I'm wanting to publish next year and the comments are a selling point so it's REAL important. Stumbled on this gadget on another blog and loaded it up then 'hey presto' I NOW HAVE COMMENTS! A BIG BIG BIG thankyou!

    ReplyDelete
  133. This worked on my blog..thanks a lot my friend

    ReplyDelete
  134. Hi,

    Thanks for sharing this wonderful hack, I'm currently using it in my site and it works great although it would be awesome if it could also work in EI, do you think there's a fix on this problem?

    ReplyDelete
  135. This code did not work at all for me on blogger. I tried it at least 5 times with my blog address on it. Please let me know what I did wrong! Thanks! Roz

    ReplyDelete
  136. Hi again. I don't know what went wrong but when I checked on my site, recent comments was empty. Hope you can help me and i've tried using your updated recent comments, is there any way I can configure it? to blend the color of the recent comment to my page? Hope you can help. Thanks and more power ^_^

    ReplyDelete
  137. Thank you so much for sharing

    ReplyDelete
  138. Recently I have been seeing this recent comments on several blogs and was wondering how they were able to do that. I thought it was a plugin or module, but now I did understand the way it is done.

    ReplyDelete
  139. I am thoroughly convinced in this said post. I am currently searching for ways in which I could enhance my knowledge in this said topic you have posted here. It does help me a lot knowing that you have shared this information here freely. I love the way the people here interact and shared their opinions too. I would love to track your future posts pertaining to the said topic we are able to read.

    ReplyDelete
  140. Thanks for taking the time to discuss this, I feel strongly about information and love learning more on this. If possible, as you gain expertise, It is extremely helpful for me. would you mind updating your blog with more information

    ReplyDelete
  141. Thank you so much for sharing.

    ReplyDelete
  142. Hello, Thanks for this fine blog. I think it is really a great topic to write about on my blog. Also here is some nice information:
    testking

    ReplyDelete
  143. Thanks for the write up! Also, just a heads up, your RSS feeds aren't working. Could you take a look at that?
    SEO services company

    Dominican Republic Real Estate

    ReplyDelete
  144. This is a very nice blog. Thank you for sharing with us. Also this post is very interesting
    Shore Condos

    ReplyDelete
  145. I hope they will work more on compatibility so that the application will be more useful.
    Removal Services

    ReplyDelete
  146. Thanks Amanda! I'm almost 100% sure

    ReplyDelete
  147. This site is very interesting and also great. I’m glad to find out this site immediately. It’s very informative.

    ReplyDelete
  148. You are focused on realizing all you possibly can about this. We're completely satisfied you discovered us. On this site, we have introduced collectively an unlimited array of data and sources on this.


    Accountants in Leeds

    ReplyDelete
  149. Good post. Leather Jacket This is a very interesting article.

    ReplyDelete
  150. A very good looking Cheap vintage leather bags site and very informative too.

    ReplyDelete
  151. I always like Forrester blog. I think this helps us all to get some useful information here. Thanks for sharing.

    ReplyDelete

Great! You've decided to leave a comment! Please bear in mind that comments are often moderated and that rel="nofollow" is in use and spammy comments will be deleted. Let's have a meaningful conversation instead. Thanks for stopping by!

Advertise on Blogger Buster

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 | Privacy Policy