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. How about Zisya? Well, Zisya got this information from Zisya’s friend.
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:
- Log in into blogger with your ID.
- Click Layout
- Click Page Elements tab
- Click add a Gadget
- Click plus sign (+) for HTML/JavaScript
- Copy and paste the code that you have
- Clicks save button.
- Please move to the area you want, do not forget to click save button.
- Finish
Have a nice Trying and Good Luck!!
Please Comment but No Spam !!!