Simple recent posts gadget for blogger

Friday, December 18, 2009


'Recent Posts gadget' is used to show up recent posts in your blog. By using this you can show the title, summary and date of the post published. Any number of posts 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/RecentPosts.js">
</script>
<script>
var numposts = 10;
var showpostdate = false;
var showpostsummary = false;
var numchars = 100;
</script>

<script src="http://bloggerflick.blogspot.com/feeds/posts/default?orderby=published&amp;alt=json-in-script&amp;callback=rp">
</script>
Replace the code in red with your blog URL and save the gadget.

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 Post Date and Post Summary in the gadget.

    Subscribe to our blog

    Do you have any Suggestions, add your comment. Please don't Spam!
    If you like this site >> Subscribe to our feed

    0 comments:

    Post a Comment