Click LAYOUT > ADD A GADGET > HTML/JAVASCRIPT

Now add the code from below to it and save it.


<script style='text/javascript' src='http://blogergadgets.googlecode.com/files/recentpostswidgetv1.js'></script><script style='text/javascript'>var numposts = 5;var showpostdate = true;var showpostsummary = true;var numchars = 100;</script><script src='http://yourblogname.blogspot.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=showrecentposts'></script>

As now just replace red codes in above codes with your script url and the number 5 is the no of posts to be displayed and last red is your blog url.nuchars=100 is for post desription.

0 comments:

Post a Comment

Follow by Email

About Me