Saturday, September 3, 2011

Recent Comments With JavaScript code

Howtomake Recent Comments With JavaScript code for blogger/blogspot


Okay, today i wanna share tips thats may be usefull for you.
There so many trick to show recent comments that able to show more than 5 link. But now i will show you howtomake it with javascript.

First

Go to your Blogger account
Go to Layout Section - Page Element
Add a gadget on sidebar column - Choose HTML/Javascript

<script style="text/javascript" src="http://sites.google.com/site/angga123site/comments.txt"></script><script style="text/javascript">var numcomments = 20;var showcommentdate = true;var showposttitle = true;var numchars = 100;var standardstyling = true;</script><script src="http://YourBlogURL.com/feeds/comments/default?alt=json-in-script&callback=showrecentcomments"></script>

Change YourBlogURL.com with your url .
And change the number "20" with any number (this is number of comment that displayed)
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

0 comments: on "Recent Comments With JavaScript code"

Post a Comment