Tutorial Paparkan Jumlah Posting dan Komen di Blog

Tumblr_mk0spoq0zs1s4f28yo1_400_large

hye
jom follow tutorial nie kalau nax letax jumlah posting dengan komen di blog korang toe ye
 P/S : nax copy, highlight dan guna ctrl + c

 Dashboard -> Layout -> Add a Gadget -> HTML/Javascript
 copy dan paste kod di bawah di ruangan content
<center><script style="text/javascript">function numberOfPosts(json) {document.write('Jumlah Posting: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');}</script><script src="http://iema90.blogspot.com/feeds/posts/default?alt=json-in-script&callback=numberOfPosts"></script><script src="http://iema90.blogspot.com/feeds/comments/default?orderby=published&alt=json-in-script&callback=rp"></script><script style="text/javascript">function numberOfComments(json) {document.write('Jumlah Komen: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');}</script><script src="http://iema90.blogspot.com/feeds/comments/default?alt=json-in-script&callback=numberOfComments"></script></center>
color merah tukar link blog korang ye
 dah siap save je
selamat mencuba 

2 comments:

Anonymous said...

LHA INI YANG SAYA CARI THANKS DAH SHARE SIS IJIN COPAS YA

iema said...

@rohmadaini ok... boleh je
u r wc ^^