To show list of top commentors on your blog

Sunday, December 20, 2009

This gadget is used to display list of top commentators on your blog. You can include any number of commentors or can exclude anyone from the list. This gadget is useful only if your blog has many number of comments.

To add this gadget to your blog go to > Layout > Add a Gadget > HTML/Javascript and add the below code :
<script type="text/javascript">
function pipeCallback(obj) {
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>";
var item = "<li>" "<a href=" href ">" obj.value.items[i].title "</a> </li>";
<script src="" type="text/javascript"></script>
Replace the code in red with your blog url and num=10 indicates the number of commenters to be displayed in the list. If you want to exclude anyone then replace Author with Commenter Name.

Now, save your 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


Post a Comment