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.
2008-12-12
Total Posts And Comments
Posted by
Is
|
at
8:52 PM
|
Labels:
JavaScript
|
Estou lendo: Total Posts And CommentsTweet this!
| Feed.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment
1. Comments posted must be accompanied by names or pseudonyms.
2. Anonymous posting and those containing profanities will be rejected.
3. Comments are moderated due to spam problems. I have to approve the comment before it will show up.