Appreciate the commenter by enlisting their name.The old way is not so easy way.In old way you have to search and find the Top commenter but Today We are going to do Something new.We will use Yahoo Pipe which will automatically display Top commenter.Lets do it.
- Go to Blogger.com
- Go to Layout or Design.
- Click on “Add a Gadget”
- Select HTML/JavaScript
- Add the Following code.
<!-- Top commentators widget By BloggerRounder --> <script type="text/javascript"> function getYpipe(feed) { document.write('<ol>'); var i; for (i = 0; i < feed.count ; i++) { var href = "'" + feed.value.items[i].link + "'"; if(feed.value.items[i].link == "") var item ="<li>" + feed.value.items[i].title + "</li>"; else var item = "<li>" + "<a href="+ href + '" target="_blank">' + feed.value.items[i].title + "</a> </li>"; document.write(item); } document.write('</ol>'); } </script> <script src="http://pipes.yahoo.com/pipes/pipe.run? YourBlogUrl=http://bloggerrounder.blogspot.com &ExcludedNick1=Green Bajgain &ExcludedNick2= &ShowHowMany=10 &_callback=getYpipe &_id=23022d7836bf2dd3c10a329feb9be26a &_render=json" type="text/javascript"></script> <span style="font-size: 80%; float:right;">Get this <a href="http://bloggerrounder.blogspot.com/2011/03/top-commenters-widget-for-blogger.html">widget</a></span> <!-- Top commentators widget End --> <!-- Bloggerrounder.blogspot.com -->
- The code is By Google System.Credit goes to Them.
Tweaking the Code.
- The code is by Google System.Thanks to their invaluable Work.
- In Line16 .Change with your Blog URl to your own with our slash at end
- In line 19 to display number of Top Commenter
- In Line 17 change with the author of blog or name which is to be excluded
- For Bulleted list change
ol
toul
.
Subscribe for free
Thanks for visiting Blogger Rounder.We can subscribe to Blogger Rounder's by RSS feed or email updates.
0 comments on "Top Commentators List Widget for Blogger.":
Post a Comment
We Love To Hear Comments from You.Comments are Welcome.You can comment here regarding this Post.If it is not related with the post you can ask a question by Contacting Us.Before Comment Please Subscribe To our RSS or email updates.Publishing Spam Comment is Not allowed.If you want to Add Code then Please Encode it.
Simple Tags like <a> ,<strong>,<b>,<em> and <i> are allowed for preventing spam