Simple recent comments gadget for blogger

Friday, December 18, 2009


After posting about 'Recent Posts' here is a similar gadget but this time its about comments. 'Recent comments gadget' is used to show up recent comments on your blog. By using this you can show the title, summary and date of the comment published. Any number of comments can be shown in your sidebar using this gadget.

To add this gadget go to > Layout > Add a Gadget > HTML/Java Script and add the below code :
<script src="http://h1.ripway.com/BloggerFlick/Scripts/RecentComments.js">
</script>
<script>
var numposts = 10;
var showpostdate = false;
var showpostsummary = false;
var numchars = 100;
</script>

<script src="http://bloggerflick.blogspot.com/feeds/comments/default?orderby=published&amp;alt=json-in-script&amp;callback=rp">
</script>
Replace the code in red with your blog URL and save the gadget.

You can also customize this gadget as :
  • var numposts = 10;                         > Shows number of posts to display.
  • var showpostdate = false;               > Used to display the date of post.
  • var showpostsummary = false;        > To display summary of your post.
  • var numchars = 100;                       > Lenght of the post summary.

 Change the value false to true to display 'Comment Date' and 'Comment Summary' in the gadget.

    Subscribe to our blog

    Do you have any Suggestions, add your comment. Please don't Spam!
    If you like this site >> Subscribe to our feed

    3 comments:

    Unknown February 11, 2010 at 4:09 PM said...

    Awesome...it worked great...and I am clueless wihen it comes to all this HTML stuff! Thanks...I used a template of yours also and so far everything I have tried from your site is so simple to do with the instructions you give!!!!! I cannot thank you enough!

    complete link building

    Bharath Mandava February 14, 2010 at 12:31 PM said...

    thanks neil for your support

    Khmer Spy June 26, 2011 at 2:25 PM said...

    js script gone

    Post a Comment