Friday, 3 May 2013

Memasang Widget Statistik Komentar dan Posting

Memasang Widget Statistik Komentar dan Posting - Kalau sebelumnya saya pernah update tentang Cara Verifikasi Komentar OpenID di Blog kali ini saya akan update tentang widget. Widget yang akan dibahas adalah widget statistik komentar dan postingan. Jadi, kamu tidak perlu untuk menghitung berapa jumlah komentar dan postingan mu.

Preview :

Posted
posts published
Commented





Script Code :
<div class="widget-content">
<div name="posted" style="float: left; height: 50px; margin-top: 5px; width: 160px;">
<div name="img" style="background: url(&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG4yzIvVh1Ubhgc5xiQSWnQgNUuZvfuAxJx9WBxe4IZ9gxsDg6UR8H6IEiftkAuD2TXTtWRUT3Ev3PlZ5WUwX4xvEZzeZ8_HZiYEmcmQQHTJbC3UDupmnMpXcb0-XX_84KIjrnD0EdXQM/s1600/posted.png&quot;) no-repeat scroll 0% 0% transparent; float: left; height: 46px; margin: 2px 5px 2px 2px; padding: 0pt; width: 46px;">
</div>
<div name="contador" style="font-family: Arial,Helvetica,sans-serif; font-size: 13px; font-weight: bold; margin: 0pt; padding: 6px 0pt 0pt;">
<script type="text/javascript">
function showpostcount(json) { document.write(parseInt(json.feed.openSearch$totalResults.$t,10)); }
</script><script src="/feeds/posts/default?alt=json-in-script&amp;callback=showpostcount">
</script> Posted</div>
<div name="posting" style="font-family: Arial,Helvetica,sans-serif; font-size: 10px; margin: 5px 0pt 0pt; padding: 0pt;">
posts published</div>
</div>
<div name="comments" style="float: left; height: 50px; margin-left: 10px; margin-top: 5px; width: 160px;">
<div name="img" style="background: url(&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH45JhmWwuvT876_RUfBmRW5v_Y60onpqhKFuJ1YuW6mAblLwJiaFu2bPSv47L-IGtnqoUkPDNIwp-CqPNG7L1U_SDQPUggphm1Vof6bvHPchIxGNZbUPN4ql_-_-IjI0z-UmiMd6NOuE/s1600/commented.png&quot;) no-repeat scroll 0% 0% transparent; float: left; height: 46px; margin: 2px 5px 2px 2px; padding: 0pt; width: 46px;">
</div>
<div name="contador" style="font-family: arial,Helvetica,sans-serif; font-size: 13px; font-weight: bold; margin: 0pt; padding: 6px 0pt 0pt;">
<script type="text/javascript">
function showpostcount(json) { document.write(parseInt(json.feed.openSearch$totalResults.$t,10)); }
</script><script src="/feeds/comments/default?alt=json-in-script&amp;callback=showpostcount">
</script> Commented</div>
<div name="texto" style="font-family: Arial,Helvetica,sans-serif; font-size: 10px; margin: 5px 0pt 0pt; padding: 0pt;">
Published comments</div>
</div></div>


Semoga Bermanfaat :)

No comments:

Post a Comment