The best part of this widget is that it generates links automatically and you don't have to add links to your post every time you publish a post. It will also highlight new posts with the "New !!" text next to your post title. I would like to thank Abu-Farhan who is the author of this widget. You can take a look at the Sitemap of my blog.
How to create a Sitemap/TOC:
- Create a page- Go to posting tab > Edit Page > Create New Page. Type a suitable title for the Sitemap of your blog e.g Sitemap or TOC.
- Now select the Edit HTML tab and copy paste the code in the box below:
<script style="text/javascript" src="http://www.abu-farhan.com/script/daftarisiblogger/blogtoc-min.js"></script>
<script src="http://www.alfriana.blogspot.com/feeds/posts/default?max-results=9999&alt=json-in-script&callback=loadtoc"></script>
<script src="http://www.alfriana.blogspot.com/feeds/posts/default?max-results=9999&alt=json-in-script&callback=loadtoc"></script>
Now change [http://www.alfriana.blogspot.com] with the URL of your blog. That's it ! You now have a Sitemap for your Blog, you can also add an introduction before the script code.
Source : www.technetsavvy.com
