Installing this widget is easy! Just copy the code below:
<script>
function totalPosts(json) { document.write('Total Posts: <b>' +
json.feed.openSearch$totalResults.$t + '</b>
'); } function totalComments(json) { document.write('Total Comments: <b>' +
json.feed.openSearch$totalResults.$t + '</b>
'); }
</script>
<script src="%20/feeds/posts/default?alt=json-in-
script&callback=totalPosts">
</script>
<script src="%20/feeds/comments/default?alt=json-in-
script&callback=totalComments">
</script>
Users online: <b><script src="http://fastonlineusers.com/on3.php?d=your%
20website.com" type="text/javascript">
</script></b>
- Login to your Blogger
- Head over to ‘Layout’ in your Dashboard then click on any ‘Add a Gadget’ button where you intend your stats to be displayed (ex. on the sidebar)
- On the list of gadgets window, scroll down and select ‘HTML/Javascript’
- Paste the code you copied onto the ‘Content’ box of the gadget window (providing a ‘Title’ is optional) then ‘Save’ the widget
- Click on ‘Preview’ to see how the widget looks on your blog then just ‘Save’ your template when you’re satisfied
0 comments:
Post a Comment