If you look at my sidebars, you can see that now I have put there the top commentators and most commented posts of this blog. You can also do the same with your blogger/blogspot blog in a very simple way. Just follow these steps:
- Go to the dashboard and choose layout.
- Click 'add a page element'
- Click 'html/javascripts'
- Copy the code below and paste it there.
- Change BLOGNAME.blogspot.com with your blog address.
- Important: Merge everything between the last <script src> and </span> - make sure it is not broken.
- Adjust the layout and then save.
To show Most Commented Posts:
To Show Top 10 Commentators of your blog:
Or just copy-paste from this page.
To show HTML/Javascripts Code Hacks in your blogger post like what I did above, follow these steps:
<script type="text/javascript">Or just copy-paste from this page.
function pipeCallback(obj) {
document.write('<ol style="text-transform: capitalize;">');
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=
1cf38ae68efbe859c4ba1ee239cec099&
url=http%3A%2F%2FBLOGNAME.blogspot.com&num=10" type="text/javascript"></script>
<span style="gt;<a href="http://jed.revolutia.info/
2008/05/top-commentators-most-commented-and.html
">How To Install This One? </a></span>
To Show Top 10 Commentators of 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
&url=http%3A%2F%2FBLOGNAME.blogspot.com
&num=10" type="text/javascript"></script>
<span style="gt;<a href="http://jed.revolutia.info/
2008/05/top-commentators-most-commented-and.html
">How To Install This One? </a></span>
Or just copy-paste from this page.
To show HTML/Javascripts Code Hacks in your blogger post like what I did above, follow these steps:
- Open Notepad. Paste your code there.
- Go to Edit->Replace (or Ctrl+H) and in the Find what: box write < and in the Replace with: box write
- and click Replace All (or Alt+A).
- Now go to Edit->Replace (or Ctrl+H) again and in the Find what: box write > and in the Replace with: box write
- and click Replace All (or Alt+A) again
- Paste the resultant code in the post editing box and preview it to make sure its showing fine.
Comments
Have greatd day!
mohon bimbingannya..
Yup !
Post a Comment