Monday, December 7, 2009

How to put Top Commenter in the blog?

In the older post, I had wrote about how to put top post in the blog and today I want to wrote about how to put top commenter in the blog.Both of them look familiar.Am I right?By addding this top comment, you will be able to see the visitors who give the highest number of comment to your blog.To start having your own top comment,follow the steps below.Let's go for it. 

Step 1:
You must log in to blogger as usual.

 Step 2:
You must go to Layout--Page Element.Click at the Add a Gadget.


Step 3:
You must click at the HTML/JavaScript.

Step 4:
Copy and paste the code below in HTML/JavaScript


<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 + "'";
if(obj.value.items[i].link == "")
var item ="<li>" + obj.value.items[i].title + "</li>";
else
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=a55cb97ebb368bb1b89b7f6bdeb35336&url=http%3A%2F%2Fblog name.blogspot.com&num=10&filter=The name of commenter that you don't want at the top commenter" type="text/javascript"></script>



!!ATTENTION!!
You must change the blog name in the code text with your blog name without put http://. You can change the  
The name of commenter that you don't want at the top commenter   with your name.What I mean is,if you had also commented your post,you can put your name so the visitors cannot see your name in the top commenter.

Step 5: You must save it.
 DONE.

Hope you will successed.


PLEASE LEAVE A COMMENT ON THIS POST> 

 

1 comments:

outsourcing jobs on July 18, 2012 at 1:37 AM said...

very hierarchical explanation. Thanks

Post a Comment

 

Blogger Tips and Style Copyright © 2009 Community is Designed by Free Blogger Template