• Be My Freind :)

    Wanna Be My Friend? Then connect to me on these social sites where you will often find me updating about me.

  •  
  • Money Making Theme

    Money Maker Theme for Wordpress
  •  

Subscribe to this blog

Subscribe to full feed RSS
Follow me on Twitter!

Subscribe to Blog Updates Via Email

1260 Happy Subscribers :)

Statistics Widget for Blogger

By Typhoon On November 26, 2008 Under Blogger Hacks, Tools For Bloggers

Just came to know about this cool widget n it’s easy to use also. This widget basically shows Quick Stats Of your blog which includes “Total Posts” n “Total Comments” on your blog.You can see the working of it in my blog in the sidebar at the bottom.


If you are interested to display the total number of posts and total number of comments on your blog, please follow the instructions below.


1.Log in to your Blogger account.

2.In your Blogger Dashboard, click on the “Layout” link.

3.This will bring you to the “Page Elements” tab. Decide where you want to insert the statistics widget and click on the “Add a Gadget” link accordingly.

4.Scroll down the list and click on “HTML/JavaScript” button.

5.This will open the “Configure HTML/JavaScript” window. In the title section, please type “Blog Statistics” or “Blog Information” or “Blog Data” or any title you wish to.

6.In the content section, copy & paste the following code exactly:

<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>

<center><span style=”font-size:75%;”><a href=”http://assessmyblog.blogspot.com/” target=”_blank”>Assesmyblog</a> | <a href=”http://www.smartbloggerz.com/” target=”_blank”>Smartbloggerz</a></span></center>

7.Remember to replace the text “yourblog” with your blog address. Note that you replace it in two locations.

8.Click on “Save” button and Check your blog.

You will see a small widget in your sidebar with the “Total Posts” n “Total Comments”.

If you have any problem feel free to ask me


Stumble
Delicious

Article written by Typhoon

Yo! I am Typhoon a.k.a Sushant, a 16 yrs. old blogger from India and the owner of SmartBloggerz. Here I try to share useful Blogging related articles which would help a blogger to succeed. You can connect to me on Twitter.

Typhoon has written 317 superb article(s) on this blog

Get Chitika | Premium

Don't be shy ;) Share your thoughts on this article by commenting below. Remember that this is a do-follow blog with many more exciting features!

3 Comments Add yours

  1. Taylor Thompson

    November 26, 2008
    8:04 pm

    Great Post man. How did you make your blog a DoFollow blog and how did you get the code into this post without it turning into code?

    By the way, are you a member at Digital Point? They’re awesome forums that definitely give some great traffic to your site.

    I’d check them out.

  2. Typhoon

    November 27, 2008
    3:54 pm

    To make your blog a dofollow..
    Go to blogger account n select your site.
    Then Go to Layout>Edit HTML>n Tick up the Expand Widget Templates.
    Then click ctrl+ F in firefox n srch for "nofollow..n change it with "follow" everywhere.

    N Done..Your blog will be a Dofollow Blog.

    Yes I m there on DP also.

  3. Ben Pei

    November 29, 2008
    12:20 pm

    Hey.. Thanks a good one.. Thanks!

Add a comment

Don't Forget To Read Our Comment Policy

  • Avatars are handled by Gravatar
  • Comments are being moderated

CommentLuv Enabled

This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.

Link Building Services
online counter