2008-12-12
Total Posts And Comments
Click the title to post comments...

This script will add a total number of posts and comments to your blog. After you install this script, you will get to see your total number of posts and comments since you started blogging.
To install this script, login to your Dashboard> Layout> Add A Gadget (preferably with a sidebar). Copy and paste the code below.Total <script style=""> function showpostcount(json) { document.write(parseInt(json.feed.openSearch$totalResults.$t,10)); }</script><script src="/feeds/posts/summary?max-results=0&alt=json-in-script&callback=showpostcount"></script> posts <br>
Total <script src="/feeds/comments/summary?max-results=0&alt=json-in-script&callback=showpostcount"></script> comments
That's all it takes to install and save your work.


0 comments: