Top Commentator Widget Cloud

image Top commentators widget we usually see on blogs that use nofollow attribute. Because of the nofollow, so they give a little gift backlink to visitors the most comments by installing top commentator widget. If you are interested to install it, please follow the steps below.

  1. Please login to blogger with your user ID.
  2. Go to Layout.
  3. Click Add a Gadget.
  4. Then enter this code:

    <!-- Top Commentators Cloud Start
    (c) 2010 Blogger Sentral. Original code by http://bloggersentral.blogspot.com/. Do not remove this credit and the Make your own link at the bottom of the code.-->
    <div style="text-align:justify;line-height:1.2;">
    <script type="text/javascript">
    function cCloud(feed) {
    max = 0;
    min = 10000;
    //finding highest and lowest count
    for (i=0;i<feed.count;i++)
    {
    ccCount = feed.value.items[i].commentcount * 1;
    if (ccCount > max)
    {
    max = ccCount;
    }
    if (ccCount < min)
    {
    min = ccCount;
    }
    }
    ccCountD = "";
    display = "";
    for (j=0;j<feed.count;j++)
    {
    ccdiff = feed.value.items[j].commentcount - min;
    ccFontsize = 80 + (ccdiff * 100) / (max - min) + "%";
    ccUrl = "'" + feed.value.items[j].authorurl + "'";
    ccCountD = "(" + feed.value.items[j].commentcount + ")";//comment count
    ccName = feed.value.items[j].title + ccCountD;
    ccLName = "<a style='text-decoration:none;font-size:" + ccFontsize + "' href=" + ccUrl + " target='_blank'>" + ccName + "  </a>";//clickable commentator name
    display = display + ccLName;
    }
    document.write(display);
    }
    </script>
    <script src="http://pipes.yahoo.com/pipes/pipe.run?
    YourBlogUrl=http://bloggersentral.blogspot.com
    &Exclusions=Anonymous,Greenlava
    &ShowHowMany=20
    &Order=alphabet
    &_callback=cCloud
    &_id=cfa196644e1d6159c9183548c4b5e2f5
    &_render=json"
    type="text/javascript"></script>
    <span style="font-size: 80%; float:right;;margin-top:10px;"><a href="http://bloggersentral.blogspot.com/2010/02/top-commentators-cloud-widget.html" target="_blank">Make your own</a></span>
    </div>
    <!-- Top Commentators Cloud End -->

  5. Save.

Description :

  • Remove the red text if you do not want to display the number of comments.
  • Please change http://bloggersentral.blogspot.com with your blog url address with no end with a slash (/).
  • Anonymous, Greenlava is a commentator who does not want in the show, usually the name of the blog owner, replace it with your name (the name of the user blogger).
  • Figure 20 is a lot of commentators who want to display.
  • alphabet is the top commentators in alphabetical order, please replace with "frequency" if you want sorted based on the number of comments.

Share / Save

6 comments

April 23, 2010

Widget nya lumayan bagus bro, tapi sayang sidebar saya sudah terlalu berat dengan beban, jadi saya gak bisa pasang top commentators cloud itu.
Kalo bikin widget recent comment gimana caranya bro?

April 23, 2010

@ Mirza : klo mo buat recent comments -->> Tata Letak --> Elemen Halaman --> Tambah Gadget --> Feed --> http://miscah.blogspot.com/feeds/comments/default

April 30, 2010

Thanks for this info...it's been a long time since I visited this blog...:)

Nice widget. Thanks!

November 29, 2010

Today, IMT-CDL, Ghaziabad is well known for its distinguished faculty, state-of-the-art technology and innovative pedagogy.

Post a Comment