get paid to paste

Tutorial | Popular post widget

<!-- Popular posts with comment count Start -->

<script type="text/javascript">

function getYpipePP(feed) {

 document.write('<ol style="">');

 var i;

 for (i = 0; i < feed.count ; i++)

 {

var href = "'" + feed.value.items[i].link + "'";

var pTitle = feed.value.items[i].title;

var pComment = " \(" + feed.value.items[i].commentcount + "\)";

var pList = "<li>" + "<a href="+ href + '" target="_blank">' + pTitle;

 document.write(pList);

 document.write(pComment); //to remove comment count delete this line

 document.write('</a></li>');

 }

 document.write('</ol>');

 }

 </script>

 <script src="http://pipes.yahoo.com/pipes/pipe.run?

 YourBlogUrl=http://www.URLBLOG.blogspot.com

 &ShowHowMany=10

 &_id=390e906036f48772b2ed4b5d837af4cd

 &_callback=getYpipePP

 &_render=json"

type="text/javascript"></script>


<!-- Popular posts with comment count End -->

<center><small><a href="http://potpetfanna.blogspot.com/2010/12/tutorial-popular-post-widget.html" target="_blank">Get this widget here</a></small></center>

Pasted: Dec 20, 2010, 6:28:13 pm
Views: 51