After posting about 'Recent Posts' here is a similar gadget but this time its about comments. 'Recent comments gadget' is used to show up recent comments on your blog. By using this you can show the title, summary and date of the comment published. Any number of comments can be shown in your sidebar using this gadget.
To add this gadget go to > Layout > Add a Gadget > HTML/Java Script and add the below code :
<script src="http://h1.ripway.com/BloggerFlick/Scripts/RecentComments.js">Replace the code in red with your blog URL and save the gadget.
</script>
<script>
var numposts = 10;
var showpostdate = false;
var showpostsummary = false;
var numchars = 100;
</script>
<script src="http://bloggerflick.blogspot.com/feeds/comments/default?orderby=published&alt=json-in-script&callback=rp">
</script>
You can also customize this gadget as :
- var numposts = 10; > Shows number of posts to display.
- var showpostdate = false; > Used to display the date of post.
- var showpostsummary = false; > To display summary of your post.
- var numchars = 100; > Lenght of the post summary.
Change the value false to true to display 'Comment Date' and 'Comment Summary' in the gadget.
Subscribe to our blog
If you like this site >> Subscribe to our feed
3 comments:
Awesome...it worked great...and I am clueless wihen it comes to all this HTML stuff! Thanks...I used a template of yours also and so far everything I have tried from your site is so simple to do with the instructions you give!!!!! I cannot thank you enough!
complete link building
thanks neil for your support
js script gone
Post a Comment