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

CNSearch

The search engine for web-sites

Current Version

CNSearch 2.0.1

User Manual / CNSearch 1.5.1

5.6 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 one can assign the site number, for which Google Sitemap will be generated, with the held of the additional parameter "d".

The method of number assignment is described in the section "Searching at selected sites".

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 "fetch" programs are used for this purpose (it is installed at FreeBSD by default) or wget:

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

Back | Manual index | Next