When we are visiting our friends’ blog which uses WordPress, we sometimes find the blogs use Top Commentators plug in, right! What is To Commentator used for? Well, it is used to show the most visitors who give comments to the articles. The top commentators are usually shown in the sidebar.
Now, is there a widget for blogger machine? Is there a widget that can show the top commentators in blogger? The answer is yes. It happens because there are many bloggers lovers who participate in making Top Commentator Widget for blogger so that blogger look nicer to look at.
Top Commentator Widget was firstly created by this blog owner and then developed by this blog owner.
To add Top Commentator Widget, you simply need to insert this script into your blog :
<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 src="http://pipes.yahoo.com/pipes/pipe.run?_render=json&_callback=pipeCallback&_id=c92ac21897d8b56e61cfa85930dd89a1&filter=nickname&url=http%3A%2F%2FBlogName.blogspot.com&num=10" type="text/javascript"></script>
From the script above, we need to do some editing so that it matches your blog:
filter=nickname : Change the nickname with the name you want to filter, for example ; your own name. It is done not to show your comments in the widget. Example; Rohman
BlogName.blogspot.com : please change the blog address with your blog address. Example: rubrik-elektronik.blogspot.com
num=10 : The maximal number of commentators that you want to show in the widget, please change with the number you want, example: 5,6,7, or 8.
And how can we add the widget in our blog. Just read the steps below:
