Ads

How to Make Top Comment

After a working holiday to visit his home town of another little funny-funny, casually browsing using mobile devices, and stray to other blog on the sidebar I see there that gives visitors view the most comments, I finally got the idea to make it as an ingredient in my blog posts just maybe anyone is interested to install this widget, too.
This tutorial is very useful in my opinion to find out who from our blog visitors to comment the most, already know how I mean? if you already know how to direct it toward making let me not get bored with the story too much. And for those of you who are interested to install this widget, please copy the code below and place it on your own blog's sidebar, but not on other people's blogs later and my friend who got angry at some hackers.


<!--Top Comments-->
<span style="text-shadow:2px 2px 2px #adadad">
Top 10 Commentators:
</span>

<script type="text/javascript">
function pipeCallback(obj) {
document.write("<marquee>");
var i;
for (i = 0; i < obj.count ; i++)
{
var href = "'" + obj.value.items[i].link + "'";
var item = "" + "<a href=" + href + " target='_blank'>" + obj.value.items[i].title + "</a> | ";
document.write(item);
}
document.write("</marquee>");
}
</script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?_render=json&_callback=pipeCallback&
_id=0ac5949d5b93d12d0ba8133f7c52cc51&filter=
Dida
&url=http%3A%2F%2F
tutorial-4u.blogspot.com
&num=
10
" type="text/javascript"></script>
<!-- End Top Comments-->


Description: Replace that my red print with your tastes. Figures
10
shows the number of visitors that will be displayed in your sidebar.


When you're finished save your changes and see results. Now you can find out who your blog visitors to comment at most and do not forget to say thanks to your blog visitors to comment the most.

Bye Bye



If you want to read this article in the Indonesian language, please click here: