DESA CILEMBU
Ganti kemasan produk Anda dengan Kemasan berbahan dasar bambu ramah lingkungan...dimensi bisa request. Lihat GRATIS di DAFTAR HARGA KEMASAN BAMBU

Pasang Populer Posts Dengan Jumlah Komentar

www.desacilembu.com
بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِ
Assalam'muallaiqum.Wr.Wb...Sampurasun...Rampes.


Pasang Populer Posts Dengan Jumlah Komentar ~ silahkan dicobain
Caranya :

  1. Login ke blognya.
  2. ke Rancangan>>Tambah Gadget>>klik HTML/JavaScript
  3. Paste Kode dibawah ieu.
  4. Warna merah silahkan diganti.
  5. Warna Biru ganti URL sohib
<script language='javascript'>

aBold = false;

numposts=100;

maxshowresult=20;

home_page = "http://desacilembu.blogspot.com/";

</script>

<script type='text/javascript'>

//<![CDATA[

var postTitlear=new Array();var postUrlar=new Array();var postCommentar=new Array();var totalpost;document.write("<ul>");function showrecentposts(j){var a=j.feed.entry.length;totalpost=a;for(var f=0;f<a;f++){var h=j.feed.entry[f];var c=h.title.$t;var b;var g;if(f==j.feed.entry.length){break}for(var d=0;d<h.link.length;d++){if(h.link[d].rel=="alternate"){g=h.link[d].href;break}}for(var d=0;d<h.link.length;d++){if(h.link[d].rel=="replies"&&h.link[d].type=="text/html"){b=h.link[d].title.split(" ")[0];break}}c=(aBold)?"<b>"+c+"</b>":c;postTitlear.push(c);postUrlar.push(g);postCommentar.push(b)}sortPosts();for(var f=0;f<maxshowresult;f++){var e='<li><a href="'+postUrlar[f]+'" class="recent-link">'+postTitlear[f]+" ("+postCommentar[f]+" comments)</a>";document.write(e)}}function sortPosts(){function c(d,f){var e=postTitlear[d];postTitlear[d]=postTitlear[f];postTitlear[f]=e;var e=postUrlar[d];postUrlar[d]=postUrlar[f];postUrlar[f]=e;var e=postCommentar[d];postCommentar[d]=postCommentar[f];postCommentar[f]=e}for(var b=0;b<postTitlear.length-1;b++){for(var a=b+1;a<postTitlear.length;a++){if(parseInt(postCommentar[b])<parseInt(postCommentar[a])){c(b,a)}}}}document.write('<script src="'+home_page+"feeds/posts/default?max-results="+numposts+'&orderby=published&alt=json-in-script&callback=showrecentposts"><\/script>');

//]]>

</script>



[]Semoga berguna
Enter your email address to get update from DESA CILEMBU.
Print PDF
ARTIKEL TERKAIT :
Tulisanmu ingin dibayar? Kirim artikelmu ke: troyalfawaz@gmail.com
NOTES: Jika Kolom Komentar Nggak Terbuka, Harap Muat Ulang Halaman ini
Next
« Prev Post
Previous
Next Post »

Copyright © 2008 - DESA CILEMBU | Privacy Policy | Disclaimer | About | Created by Kompi ajaib - Powered by Blogger