Wednesday, May 18, 2011

How to Make Autimatic Sitemap for Your Blog


Making sitemap of our blog is very important and recommended, because it can help the blog reader find the articles easier.
It’s pretty long time I should take to make this javascript file, finally in 2 two days I can finish it and ready to use.

Before you get started, may be you can see my sitemap page for example. The content of the page is loaded automatically.

This is how it works:
  1. Enter to your blog account, choose your blog that you want to give it a table of content. Go to “Posting” then go to “Edit Page”. Make a new page and give title you are desired for your sitemap.

  1. Now, on editing log, there are two choices to write your article, “Edit HTML” and “Compose”. Because you’re gonna put some codes, so choose “Edit HTML”

  1. Then copy-paste the codes below: 
  2.  
<script style="text/javascript" src="https://sites.google.com/site/brightbrain1014/contentlist-widget/blogsite.js"></script>
<script src="http://myblog.blogspot.com/feeds/posts/default?max-results=9999&alt=json-in-script&callback=loadtoc"></script>
     
  1. Don’t forget to change yourblog with your blog URL
  2. Then you can save it, and see the result……………….i can see you teeth right now ^-^

If you feel this post usefull, please share to your friends

No comments:

Post a Comment