The first version of our Recent Comments widget was a big success. Now, thanks to extensive customizations by Clemens Vargas Ramos we have come up with a new and much improved version of that widget.
Here is how the new improved widget works and how is it different from the rest:
- This widget is completely customizable and now supports internationalization.
- This widget does a quick search on all posts of the blog and save the blog-titles. The reason is, by default blogger comments do not contain the real post-title but kind of a pseudo title, i.e. the filename of the html file of the post.
- This widget searches for all available posts of the blog – even with hundreds and thousand of posts. Apparently blogger has an upper limit of posts within a single feed at 500. Therefore the script makes repeatedly calls to feeds on blogs with more than 500 posts. This search happens only once at load time of the script. I tested it with a blog with over 1300 posts and it behaves well and quick.
Next the script calls the comment feed and displays the comments together with some other information. This script will find every single comment of a blog – even with thousands and tens of thousand of comments. This is the big difference when compared to similar blogger widgets available on the net.
- Look and feel of the new widget is quite slick and Web2.0 ish.
Demo of this script is available here
- Right Click and download
- Unzip rcc.zip to get rcc.html
- Open the file rcc.html in a text editor like windows notepad. [Don’t use text formating applications like Word or OpenOffice, these applications can damage the code]
- Look for YOURBLOGNAME and replace YOURBLOGNAME with your blog name. Look for section “// user defined variables”.
- The script is multilingual – adjust to your language: German, English (default) or even user defined by you! Look for section “// user defined variables”.
- Adjust text, background colors and fonts with CSS if needed.
- You’re done. Enjoy the new widget! For further configuration look for section “Configuration:” within this script.
Please let us know your thoughts on this new widget in the comments section below.
*The code is released under the condition that footer credits should remain intact.
Free eBook: Important WordPress Plugins
An exhaustive list of all free, premium WordPress plugins we use across network of our wordpress sites.