Tuesday, May 3, 2011

How to add top Commentators gadget to blogger

How to add top Commentators gadget to blogger

This gadget will help you to show who are the top
Commentators on your blogger.Its easy,
Follow these steps.

Commentators,blogger,comment,top Commentator
1. Log in to your blogger account and Go to Design >>page Element

2.Click Add gadget and Select HTML/JavaScript 

3. Now paste paste below code

<script type="text/javascript">
function pipeCallback(obj) {
document.write('<ol>');
var i;
for (i = 0; i < obj.count ; i++)
{
var href = "'" + obj.value.items[i].link + "'";
if(obj.value.items[i].link == "")
var item ="<li>" + obj.value.items[i].title + "</li>";
else
var item = "<li>" + "<a href=" + href + ">" + obj.value.items[i].title + "</a> </li>";
document.write(item);
}
document.write('</ol>');
}
</script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?_render=json&_callback=pipeCallback&_id=a55cb97ebb368bb1b89b7f6bdeb35336&url=http%3A%2F%2F
bloggertrix.com
&num=15
&filter=Blogfuel" type="text/javascript"></script>

<small><div style="font-size:90%; text-align:right; text-shadow:2px 2px 2px #adadad;"><a href="http://bloggertrix.com/2010/05/top-commentators-widget-in-blogger.html" target="_blank" title="widget top commentators">Add this widget to your blog</a></div></small>

 * Replace bloggertrix.com with your URL
 * 15 is how many Commentators show. you can change it as your like.

4. Now save  HTML/JavaScript  


you are done.

24 comments:

  1. my blog use facebook comment? there is widget for count this?

    ReplyDelete
  2. Thanks I was looking for it to implement it on my blog.

    ReplyDelete
  3. My blog is a new one but like to add this widget to my blog when I get few comments

    ReplyDelete
  4. thanks for sharing the nice post,......

    ReplyDelete
  5. like this
    easy to understand and implement

    cheers

    ReplyDelete
  6. thanks, but why it doesnt work in my blog?

    ReplyDelete
  7. Thanks for sharing your knowledge. I have read completely

    ReplyDelete
  8. Nice article, thanks for your idea

    ReplyDelete
  9. Thanks for posting this! I'm debating using it, but not totally sure yet...

    ReplyDelete
  10. please send me final html. it doasnt work, when i do it.
    my url
    http://she-is-the-1.blogspot.com/
    commentators 15

    ReplyDelete
  11. Thanks for informative post. I am pleased sure this post has helped me save many hours of browsing other similar posts just to find what I was looking for. Just I want to say: Thank you

    ReplyDelete
  12. Thanks to give this blog For all And This Useful Java Scripts for Blog spot Thanks

    ReplyDelete
  13. Very good sharing thanks for being so helpful.

    ReplyDelete