Saturday, April 2, 2011

tuto cara pasang top commentator

السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ

ika tak reti wat tuto pun sebenanye, tapi ika di request oleh cik ezy camne nak pasang widget top commentator.
top commentator tu, yang ni..

kelebihan?.. insyaAllah orang akan komen entry awak sebab mesti die nak name die naik kat blog awak, kan. care die?..

*design.
*page elements.
*add a gadget.
*HTML / java script.
*copy and paste kod ni.

<script type="text/javascript">

function getYpipe(feed) {

document.write('<ul style="list-style-image: url(http://3.bp.blogspot.com/-vGIRCcJwLQI/TWeHAUEdneI/AAAAAAAABZo/GbNJxdKhRHg/s1600/circle-arrow-blue.png);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('</ul>');
}
</script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?
YourBlogUrl=http://ikachenta.blogspot.com
&ExcludedNick1=nurul atika
&ExcludedNick2=anonymous
&ShowHowMany=5
&_callback=getYpipe
&_id=23022d7836bf2dd3c10a329feb9be26a
&_render=json"
type="text/javascript"></script>
<span style="font-size: 50%; float:right;">Get this <a href="http://ikachenta.blogspot.com/2011/04/tuto-cara-pasang-top-commentator.html
">widget</a></span>


tulisan hijau ni, masukkan name blog awak..
tulisan merah, masukkan name awk (untuk mengelakkan name awak dikire sekali dalam top commentator tu)
tulisan biru, untuk jumlah komen yang awak nak appearkan..

pastu, save..

BISIKBISIK; ika tak reti nak buat tuto.. kalau salah silap, tegur ika tau..

SEKIAN

kalau suke, LIKE saje..

16 comments:

  1. terima kasih sygggg..
    kejap ye nk try..

    ReplyDelete
  2. hehek.. tenkiu sayangggggsss..
    dh jdk dh..
    mekaseh sgt2.. dh lame nk wat tp xreti...
    huhu

    ReplyDelete
  3. Tolong follow,
    http://cselalu.blogspot.com

    ReplyDelete
  4. hurm..sedeih..kalo wp leh gak amik coding ni

    ReplyDelete
  5. tutorial yg amat berguna... thanks 4 sharing...

    ReplyDelete
  6. tq ye untuk tutorial senang ni :)

    ReplyDelete
  7. cam best jer..hhe..

    leh cuba wak ni..

    ReplyDelete
  8. kalo gne komen jenis intense debate x bole gune la kan yg nih?

    ReplyDelete
  9. tqvm dear sbb share tutorial yg senang sgt nak faham & implement...
    1st time try trus menjadi...tq so much

    ReplyDelete