Sunday, July 19, 2009

Blogger Multiple Authors Stats widget

Blogger Multiple Authors Stats widget
Blogger has the mutiple author or co-author facilty enabled. And many of us would like to know which author has contributed vastly to the success of the blog. This widget displays the stats of each author. This widget can sound pretty useless If you are the only author of your blog. But since guest posting is a new found craze in the blogosphere. Some blogs have 5-10 co-authors. So this widget will enable competition between each other so that readers can judge the most active author.

I repeat. This widget can be fun only when you have lot of guest posters/co-authors enabled.

Login to Blogger Dashboard > Layout > Page Elements.

Click on "Add a new Gadget" Select "HTML/Javascript" and paste the code below.


<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=0914c284eb9e2a1e7e1e903896990b6f&url=http%3A%2F%2FYOURBLOG.blogspot.com&num=10" type="text/javascript"></script>


REMEMBER TO CHANGE YOURBLOG.blogspot.com to your blog address.

That's it. You can also get a free subscription to Chethstudios updates. We will be back with more useful content. Get latest hacks and updates on your email

8 comments:

  1. Hey cheth Really good. Pls add it to the #coffeeclub

    ReplyDelete
  2. Bummer, I cannot seem to get this to work on my blog. All that shows up is :cheth Studios%u2122

    ReplyDelete
  3. @Tenkely

    Thanks for letting me know, there was a small error.. fixed it now. Please try and let me know :)

    ReplyDelete
  4. @Cheth

    Maybe it is me... Nothing is rendering in the gadget, it is blank. Here is the link http://blog.tenkely.net I called it "Author Stats"

    ReplyDelete
  5. I hope you changed the blog url to your own blog and removedthe blogspot. I tried this hack on http://twittercoffeeclub.blogspot.com/

    Or maybe its because you have a self hosted blog is causing problems.

    ReplyDelete
  6. Where's the demo bro..?? we need it before applying your tricks... thank you...

    ReplyDelete
  7. @azarre

    Visit http://twittercoffeeclub.blogspot.com/ i cannot implement this hack in my blog because I dont have guest authors..

    http://TwitterCoffeeclub.blogspot.com is my another blgo where guest posting is enabled so you can see the widget in action there.

    ReplyDelete

Please Don't Spam that's all. Grab our RSS Feed and we would Love to see you in our comments section more often.