How To Create A Sitemap or TOC

by Rajib Kumar

This guest post is by Sam Azgor. A sitemap/TOC is very much important for a blog or website. Every blogger should create a sitemap/TOC for the reader.

1st of all we have to know what is sitemap/TOC?

A site map or sitemap/TOC is a list of pages of a web site accessible to crawlers or users. It can be either a document in any form used as a planning tool for web design, or a web page that lists the pages on a web site, typically organized in hierarchical fashion.

See more >> Google definition site map

How To Create A Sitemap or TOC

it is very easy to create a sitemap/TOC for reader by using a static page.

Feature of this script:

  1. Accordion effect
  2. Show and hide effect
  3. CSS 3
  4. Automatic add jquery
  5. Different color for content
  6. Different style for open and close
  7. Auto Sort the title
  8. Add New!! for 10 newest entry

Copy this code and paste in new page:

How To Create A Sitemap or TOC

Code:

<link href="http://abu-farhan.com/script/acctoc/acc-toc.css" media="screen" rel="stylesheet" type="text/css"></link>

<script src="http://abu-farhan.com/script/acctoc/daftarisiv2-pack.js"></script>

<script src="http://samazgor.blogspot.com/feeds/posts/summary?max-results=1000&alt=json-in-script&callback=loadtoc"></script>

<script type="text/javascript">

var accToc=true;

</script>

<script src="http://abu-farhan.com/script/acctoc/accordion-pack.js" type="text/javascript"></script>

replace http://samazgor.blogspot.com with your blog name.

Comments on this entry are closed.




Previous post:

Next post:

. Border