> Main > Products and Services > Purchase > Company
English / Russian

Documentation

CNSearch 1.5.1

© "CN-Software" Ltd. 2002-2008
support@cn-software.com
www.cn-software.com
Previous | Table of Contents  | Next

Google Sitemap Automatic Generation

Note: Google Sitemap generation is not the main CNSearch function; first of all, CNSearch is the system for full-text search at a site.

To generate Google Sitemap, one should perform indexing (see indexing module) and set the search module (see search module) at the site. After that, Google Sitemap generation can be performed by means of accessing the address:

http://www.site.com/cgi-bin/search.cgi?sitemap=1&password=secretword

where,

If search index contains several sites, then, using additional parameter 'd', you can assign the site number the Google Sitemap will be generated for.

This method is described in Searching Through Selected Sites paragraph.

For example:

http://www.site.com/cgi-bin/search.cgi?sitemap=1&password=secretword&d=5

Google Sitemap generation should be performed right after the search index updating. In Unix/Linux systems, the "fetch" (installed at FreeBSD by default) or wget programs are used for this purpose:

fetch -q -o /path/to/www.site.com/sitemap.xml \

http://www.site.com/cgi-bin/search.cgi?sitemap=1&password=secretword

or

wget -q -O /path/to/www.site.com/sitemap.xml \

http://www.site.com/cgi-bin/search.cgi?sitemap=1&password=secretword

where

Related links

  1. About Google Sitemap at Google site
  2. BSD fetch utility at www.freebsd.org
  3. The official site of GNU Wget

Previous | Table of Contents  | Next