SiteMap for your blog

Discussion in 'Blogging' started by gethistuff, Jul 25, 2011.

  1. #1
    Put an index or sitemap is useful for your blog and improve your posts search.

    Adding this Gadget to your Blog, you can have all labels and individual posts in a single page, in other words, visitors can see everything that your blog have.

    This gadget shows a table of contents of all published articles, separated by category, the index of articles is sorted alphabetically and is updated automatically every time we post a new entry.

    When you post a new article will appear in red text that says New !!

    You can see it working on my blog here.


    To install the sitemap in your Blog:

    Create a New Page, go to Edit HTML mode and paste the following code:

    <script style="text/javascript" src="http://www.abu-farhan.com/script/daftarisiblogger/blogtoc-min.js"></script>
    <script src="http://myblog.blogspot.com/feeds/posts/default?max-results=9999&alt=json-in-script&callback=loadtoc"></script>

    Change the "myblog.blogspot.com" text with the url of you blog.

    Now you can link to this page in the side bar, menu bar or where ever you want.

    I hope you find it useful!

    Visit my blog for more blog tips.
     
    gethistuff, Jul 25, 2011 IP
  2. linc

    linc Member

    Messages:
    355
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    28
    #2
    For wordpress, I use google xml sitemap to auto generate it.
     
    linc, Aug 6, 2011 IP
  3. mahavircomputers

    mahavircomputers Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I use Google XMl sitemap , its very good & automated
     
    mahavircomputers, Aug 8, 2011 IP
  4. milindmk

    milindmk Active Member

    Messages:
    100
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    85
    #4
    Thanks for the share.. I use Google XML sitemap for all my websites and it works perfect... I will try this on my blogspot account and let you know how it works. :)
     
    milindmk, Aug 8, 2011 IP
  5. milindmk

    milindmk Active Member

    Messages:
    100
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    85
    #5
    I just tested it and it looks good but its show post category wise as I want to show post datewise I have searched for another script and found this: abu-farhan.com/2009/09/table-of-contents-categorized-by-dates-by-archived/
     
    milindmk, Aug 8, 2011 IP