January 8, 2009

Statistics Widget for Blogger ထည့္ၾကမယ္

Statistics Widget for Blogger ဆိုတာ မိမိ၏ Blogထဲတြင္ Postingအေရအတြက္ႏွင့္ Comment အေရအတြက္တို႔ကို ေဖာ္ျပသြားမွာ ျဖစ္ပါတယ္။ ထည့္ခ်င္တယ္ဆိုရင္
  • Blogger Account ထဲ၀င္ပါ။ Layout tabကိုႏွိပ္၍ Add a Gadgetကိုႏွိပ္ပါ။
  • HTML/JavaScript Widgetကိုႏွိပ္၍ ေအာက္ပါ codeကို ကူးယူ၍ pasteလုပ္ပါ။ အစိမ္းေရာင္ ျပထားသည့္ လိပ္စာတြင္ မိမိ၏ Blogလိပ္စာ ထည့္လိုက္ပါ။
...................................................................................................

<script style="text/javascript">
function numberOfPosts(json) {
document.write('Total Posts: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');

}
function numberOfComments(json) {
document.write('Total Comments: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');
}
</script>

<ul><li><script src="http://yourblog.blogspot.com/feeds/posts/default?alt=json-in-script&callback=numberOfPosts"></script></li>
<li><script src="http://yourblog.blogspot.com/feeds/comments/default?alt=json-in-script&callback=numberOfComments"></script></li></ul>
....................................................................................................................................


  • Saveႏွိပ္ပါ။

Related Posts by Categories



Widget by Scrapur

0 comments:

Blog Widget by LinkWithin
 

Popular Posts

Widget by Blogger Buster

Sign In and Check Message

ယေန႔ဖတ္သြားေသာ ေခါင္းစဥ္မ်ား

Recent Posts