Tuesday, May 3, 2011

How to add top Commentators gadget to blogger

0 comments
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.

Leave a Reply

Related Posts Plugin for WordPress, Blogger...