How to Install Top Commentator Widget

1:50 AM
How to Install Top Commentator Widget

How to install a top commentator widget. Previously I've installed the widget's top commentators on this blog. This time I will write a blog tutorial on how to install this widget on blogspot / blogger.

As I wrote on post DoFollow top commentators, this widget will show the 10 most commentators commented on your blog (a dofollow link.) So, the top commentator widget can captivate the viewer to want to comment more on your website or blog.

The script used is not too long and not heavy I think. You can install it in a short time. For those interested please try!

1). Open Design »Page Elements.
2). Click Add a Gadget.







3). Select the gadget HTML / JavaScript.





4). Fill in the title of the gadget.
5). Copy-paste script below into the gadget earlier.

<script type="text/javascript">
function pipeCallback(obj) {
document.write('<ul>');
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('</ul>');
}
</script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?_render=json&_callback=pipeCallback&_id=47909d73002419d14e697928bd9c4f24&url=http%3A%2F%2Fwww.nameblog.com&num=10&filter=Name Blogger Account" type="text/javascript"></script>

6). Save gadget.

Note:
- Change the name above the name or address of your blog.
- Change the name in writing is marked at the top to filter (not display) name.


Simply get here how to install the top commentator widget. Furthermore, this widget will show the top commentators commented on your blog automatically.

Good luck!

Related Post



1 comments:

Anonymous at: January 12, 2011 at 3:11 AM said...

very good tips...

Post a Comment

Related Posts Plugin for WordPress, Blogger...