Wednesday, 1 October 2014

Tutorial : Top Commentator Monthly


Assalamualaikum.

Copy dan paste kan di HTML/Javascript ye~

 <script type="text/javascript">
function getYpipe(feed) {
document.write('<ul style="list-style-image: url(http://i.imgur.com/GVJam3n.gif);margin-left: 20px;">');
var i;
for (i = 0; i < feed.count ; i++)
{
var href = "'" + feed.value.items[i].link + "'";
if(feed.value.items[i].link == "")
var item ="<li>" + feed.value.items[i].title + "</li>";
else
var item = "<li>" + "<a href="+ href + '" target="_blank">' + feed.value.items[i].title + "</a> </li>";
document.write(item);
}
document.write('</ol>');
}
</script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?
YourBlogUrl=URL BLOG ANDA
&ExcludedNick1= NICKNAME ANDA
&ExcludedNick2= NICKNAME ANDA
&ShowHowMany=5
&ExcludeCommentsBefore=01-10-2014
&IncludeCommentsBefore=31-10-2014
&_callback=getYpipe
&_id=50b225c916b74b06779b9489abceef2a
&_render=json"
type="text/javascript"></script>

Warna hijau tu gambar icon korang. 
Buat yang bertanya pengomen Oktobert tak de ke? Ada je, tapi di simpan di blog lain. Supaya blog ni kelihatan ringan. Hehe.