Pasang Top Commentator di Blog


Hai haii ^^ chiaki mau post tutorial nih, tutonya seputar Top Commentator di Blog kita, maksudnya yang rajin Comment blog kita gitu.. heheh, mau buat di blog kalian? Yuk Ikutin stepnya ^^
1. Login ke Blogger
2. Dashboad > Pilih Tata Letak
3. Pilih Tambahkn Gadget
4. Pilih HTML / Javascript
5.Copy dan Paste Kode di bawah
<!-- Top Commentators Cloud Start
(c) 2010 Blogger Sentral. Original code by http://www.bloggersentral.com/. Please do not remove this credit and the &#8220;Get this commentators widget&#8221; link at the bottom of the code.-->
<div style="text-align:justify;line-height:1.2;">
<script type="text/javascript">
function cCloud(feed) {
max = 0;
min = 10000;
//finding highest and lowest count
for (i=0;i<feed.count;i++)
{
ccCount = feed.value.items[i].commentcount * 1;
if (ccCount > max)
{
 max = ccCount;
}
if (ccCount < min)
{
 min = ccCount;
}
}
ccCountD = "";
display = "";
for (j=0;j<feed.count;j++)
{
ccdiff = feed.value.items[j].commentcount - min;
ccFontsize = 80 + (ccdiff * 100) / (max - min) + "%";
ccUrl = "'" + feed.value.items[j].authorurl + "'";
ccCountD = "(" + feed.value.items[j].commentcount + ")";//comment count
ccName = feed.value.items[j].title + ccCountD;
ccLName = "<a style='font-size:" + ccFontsize + "' href=" + ccUrl + " target='_blank'>" + ccName + "</a>";//clickable commentator name
display = display + ccLName + " ";
}
document.write(display);
}
</script>
 <script src="http://pipes.yahoo.com/pipes/pipe.run?
 YourBlogUrl=URL BLOG
 &Exclusions=NAMA BLOG KALIAN
 &ShowHowMany=10
 &Order=frequency
 &_callback=cCloud
 &_id=cfa196644e1d6159c9183548c4b5e2f5
 &_render=json"
type="text/javascript"></script>
</div>
<!-- Top Commentators Cloud End -->
6. Save

okee.. sekian ya untuk tuto ini , semoga bermanfaat ^^
Terima Kasih Sudah Membaca , Tinggalkan Komentar juga ya ^^


2 comments:

  1. banyak dah coding top commentator aisyah guna..tp semua tak jadi..huhu , tak tau lah kenapa ye...sobs..sobs..

    ReplyDelete

 
Related Posts Plugin for WordPress, Blogger...