How to plug Actually Total Total Post and comments to Blogger is that many also know, apropos many colleagues who always ask, yes, dance is about how to write
Total Posts: 206
Total Comments: 1000
How to install very easily, colleagues live copy-paste it directly under the script code and do not forget to change the blog address is marked with red.
The script for Total Posts
<script style="text/javascript">
function showpostcount(json) {
document.write('Total Posts : <b>' + parseInt(json.feed.openSearch$totalResults.$t,10) + '</b><br>');}</script>
<script src="http://namablog.blogspot.com/feeds/posts/default?alt=json-in-script&callback=showpostcount"></script>
The script for the Total Comments
<script style="text/javascript"></script>
<script style="text/javascript">
function numberOfComments(json) {
document.write('Total Comments : <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');}</script>
<script src="http://namablog.blogspot.com/feeds/comments/default?alt=json-in-script&callback=numberOfComments"></script>
No comments:
Post a Comment