Wednesday, June 24, 2009

Popular Post Widget-Most commented Posts Blogger

7 comments 6/24/2009
Sign up to receive our site updates!


P
opular Post Widget i.e Most commented Posts for blogger as is very great widget to show of your posts, is very easy to install ..........

How to install this widget:-

Go to Layout > Add page Element > Html/Javascript

Add the below code there


<script type="text/javascript">
function pipeCallback(obj) {
document.write('<ol style="text-transform: capitalize;">');
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=1a1c6e4e6d4f148e3650fda46910e15f&url=http%3A%2F%2Ftechtasks.blogspot.com&num=10" type="text/javascript"></script>
<noscript><a href="http://techtasks.blogspot.com" target="_blank">Tech Tasks</a></noscript>



Above code displays the post(comment count)like this.
If you want show posts with out comment count.
use the following code...


<script type="text/javascript">
function pipeCallback(obj) {
document.write('<ol style="text-transform: capitalize;">');
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=1cf38ae68efbe859c4ba1ee239cec099&url=http%3A%2F%2Ftechtasks.blogspot.com&num=10" type="text/javascript"></script>
<noscript><a href="http://techtasks.blogspot.com" target="_blank">Tech Tasks</a></noscript>



Don't Forget to change the blog address show in RED color
Here num=10 is no of posts you want to display.
Your Ad Here

7 comments:

mestika on June 25, 2009 at 3:34 PM said... [Reply]

Nice posting and great blog, i must learn from u..
from http://universmile.blogspot.com

Heaven on August 21, 2009 at 2:14 PM said... [Reply]

Very unique blog.
Fantastic pictures. Wow...

I like your blog.

Please visit:
http://heaven-view.blogspot.com

Keep blogging.
Have a great time.

Rajesh Kumar.Chekuri on August 28, 2009 at 2:24 AM said... [Reply]

Welcome To all....

Term Papers on April 27, 2010 at 4:11 PM said... [Reply]

I have been visiting various blogs for my term papers writing research. I have found your blog to be quite useful. Keep updating your blog with valuable information... Regards

Sites Like Youtube on December 22, 2010 at 1:16 AM said... [Reply]

Hi buddy, I want to show gratitude for writing such a good feature article, really will support me out in frequent ways…

counter for Blogspot on May 20, 2011 at 6:48 PM said... [Reply]

Great post.I too want to display comment count.Thats why i like first option.Thanks for sharing it.Its really informative post.

Anonymous said... [Reply]

Greetings! Quick question that's totally off topic.
Do you know how to make your site mobile friendly? My web site looks weird when viewing from my iphone4.
I'm trying to find a template or plugin that might be able to correct this problem.

If you have any suggestions, please share. Thanks!

my blog ::

Respects for your's Questions & Opinions

  • Friends
  •  

    Recent Posts

    New Comments

    Copyright 2008 All Rights Reserved Tech Tasks Template by Rajesh Kumar Chekuri