This was first made by my friend assesmyblog using yahoo pipes but was limited to show upto 5 readers . Then it was modified by amanda but couldn't show up the backlinks of the readers blog.
Then again it was modified which could show now any no of names with backlinks to there blog and works perfect. That was provided by gaurav.
Now follow an easy way to add it to your blog by just adding small bit of javascript to your blog page element.Now lets see how to install it in your blogspot.
Go To LAYOUT > Page Elements > Add a Gadget > Html/Javascript
Now add the below codes to it..
<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=918c4b96efdf63fee389f2f025085904&EntertheURL=http%3A%2F%2Fanshuldudeja.blogspot.com&number=10&Nametobeexcluded=Name" type="text/javascript"></script>
<noscript><a href="http://anshuldudeja.blogspot.com" target="_blank">Blogger Hacks</a></noscript>
Change the codes above with in red with name of your blog,total no of names you wanna show and Name with any name you want to exclude from the list of yours.
Now save It . And view your blog. It show up the list of the top of your blog with how many comments they have done.Isn't it very easy to add up this widget.
No comments:
Post a Comment