Search This Blog

1.5.12

2 TOP COMMENTATORS WIDGET FOR BLOGGER BLOG.

In one of my Previous posts,I talked about adding Recent commentsto blogger blogs,& today,we'll be talking on how to ascertain the best commentator on your blog.

No doubt,Top commentators widget propels visitors to comment more in order to get to the first 10(whichever number is specified) of a blog.
Although,this widget is only useful on blogs with many members and commentators.It also comes handy whenever you want to give gifts to your blog members.

HOW TO ADD THIS WIDGET.

Go to Design >> Page element and select 'Add a gadget'.

Now scroll down to where you see HTML/JAVASCRIPT and select ADD.

Paste the following scripts and SAVE IT<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 + "'"; var item = "<li>" + "<a href=" + href + ">" + obj.value.items[i].title +"</a> </li>"; document.write(item); } document.write('</ol>'); } </script> <script type="text/javascript" src="//pipes.yahoo.com/pipes/pipe.run?_render=json&amp;_callback=pipeCallback&amp;_id=918c4b96efdf63fee389f2f025085904&amp;EntertheURL=http://+YOUR-BLOG.blogspot.com/+&amp;number=+10+&amp;Nametobeexcluded=Anonymous"></script>

CUSTOMIZING THE WIDGET

YOUR-BLOG.blogspot.com-Change this to the address of your blog.
number= 10-This is the number of commentators to display.Change it to any number you like.
Nametobeexcluded=Anonymous-This is the name of a visitor you want to disable from displaying.You can also change this to the name of one of your blog visitors or AUTHOR.
NEXT» ¤HOME¤

 
[GET THIS]