Thursday, January 8, 2009

How to make recent post widget?

  • Log in to Blogger and then select "Layout"
  • Click on the "Page Element" select "Add a Gadget - HTML / Javascript"
  • Copy the following code in the box and put the "content".

<script src="http://www.geocities.com/uddin_81/recent-post.js"></script>
<script>var numposts = 10; var showpostdate = false; var showpostsummary = false; var numchars = 100; </script>
<script src="http://BLOGNAME.blogspot.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=rp">
</script>


  • Change BLOGNAME with the name of your blog that u wanna used.
  • The "numposts = 10" shows is the number of "Recent Post" that you want to displayed, you can replace it with the number you want.
  • Save.

No comments:

Post a Comment

Message with proper word and language..don't be rude ok ^_^..thx for the comment.