Show Popular posts on Blogger

Popular Posts widget on Blogger uses Pipes , a feed and content aggregation tool from Yahoo. It fetches the Comment feeds and find outs the most commented post .

Now , to Show Popular posts on Blogger

Go to your Blogger template’s layout and select suitable location for the widget to be appeared .
Click to add a gadget and pick up HTML/JavaScript .
You have to paste the following code into it , after making the necessary changes .

<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=""type="text/javascript"></script>

You have to change with your URL and the number 10 with the required number of posts. Save your template and preview the Popular posts widget .

This entry was posted in Uncategorized by . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *