Blog Archive

Perempuan apabila sembahyang lima waktu, puasa bulan Ramadhan, memelihara kehormatannya serta taat akan suaminya, masuklah dia dari pintu syurga mana sahaja yang dikehendaki.(Women are five times when prayer, fasting month of Ramadan, will maintain his honor and obey her husband, she entered the door of heaven where the desired sake only.)

Senin, 06 Desember 2010

Showing Top Commentators in Blogger

topcommentators When we are visiting our friends' blog which uses WordPress, we sometimes find the blogs use Top Commentators plug in, right! What is To Commentator used for? Well, it is used to show the most visitors who give comments to the articles. The top commentators are usually shown in the sidebar.
Now, is there a widget for blogger machine? Is there a widget that can show the top commentators in blogger? The answer is yes. It happens because there are many bloggers lovers who participate in making Top Commentator Widget for blogger so that blogger look nicer to look at.
Top Commentator Widget was firstly created by this blog owner and then developed by this blog owner. How about Kang Rohman? Well, Caniago Online got this information from Kang Rohman's friend, oom.
To add Top Commentator Widget, you simply need to insert this script into your blog :


<script type="text/javascript">
function pipeCallback(obj) {
document.write("<ol>");
var i;
for (i = 0; i < obj.count ; i++)
{
var href = "'" + obj.value.items[i].link + "'";
var item = "<li>" + "<a href=" + href + ">" + obj.value.items[i].title + "</a> </li>";
document.write(item);
}
document.write("</ol>");
}
</script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?_render=json&_callback=pipeCallback&_id=c92ac21897d8b56e61cfa85930dd89a1&filter=nickname&url=http%3A%2F%2FBlogName.blogspot.com&num=10" type="text/javascript"></script>

From the script above, we need to do some editing so that it matches your blog:
filter=nickname : Change the nickname with the name you want to filter, for example ; your own name. It is done not to show your comments in the widget. Example; Rohman
BlogName.blogspot.com : please change the blog address with your blog address. Example: rubrik-elektronik.blogspot.com
num=10 : The maximal number of commentators that you want to show in the widget, please change with the number you want, example: 5,6,7, or 8.
And how can we add the widget in our blog. Just read the steps below:
  1. Log in into blogger with your ID.
  2. Click Layout
  3. Click Page Elements tab
  4. Click add a Gadget addgadget
  5. Click plus sign (+) for HTML/JavaScript add-html
  6. Copy and paste the code that you have
  7. Clicks save button.
  8. Please move to the area you want, do not forget to click save button.
  9. Finish
Have a nice Trying and Good Luck!!


Tidak ada komentar:

Search Islamic Directory
Keyword: