Salam Sejahtera ! !
Dok lepak with Mr. Google untuk search widget top commentator & luckly terjumpa tuto bro Hanif Idrus . . Arigato Gozaimashita Sifu ! !
Widget yang hari tue Mai guna bukan tak okay tapi x berfunsi untuk blog Mai . . Mai bukan tak nak godek code tapi terlalu malas nak bermanja dengan code tue :)P
Okay back to title ! !
1. Dashboard > Layout > Add Gadget > HTML/Java Script
2. Copy & paste code kat bawah tue kat HTML/Java Script ::
<!-- Top commentators widget v1 Start -->3. Tukar yang Mai HIGHTLIGHT tue ek (tanpa kurungan *( )* )
<script type="text/javascript">
function getYpipe(feed) {
document.write('<ol>');
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 KORANG)
&ExcludedNick1=(NICK KORANG)
&ExcludedNick2=(NICK KORANG)
&ShowHowMany=(JUMLAH PENGOMEN)
&_callback=getYpipe
&_id=23022d7836bf2dd3c10a329feb9be26a
&_render=json"
type="text/javascript"></script>
<span style="font-size: 80%; float:right;">Get this <a href="http://www.maileyjayley.my/2013/01/top-commentator-widget-part-2.html>widget</a></span>
<!-- Top commentators widget End -->
4. SAVE ! !
Hasil nya akan jadi macam nie ::
Ehek ! ! Kak Niza jugak first tue . .
Hehe Senornya Mai nak widget macam Paly tue . . Best sebab dapat tengok sape komen untuk hari nie . . TAK PE ! ! Nanti Mai bodek Bro Paly :)P Jaga-2 Bro ! !
End ! !
nota butterfly : credit to Sifu Hanif Idrus
wah..dh ade top commentator la..ari2 ina singgah sini tgglkn komen..hehe..
ReplyDeletehahaaa jemput-2 komen :)
Deletemahu try.
ReplyDelete