CNSearch 1.5.1
cnsearch.conf
The search module configuration file (cnsearch.conf by default) should be stored in the same directory with the file 'search.exe'(search.cgi for Unix). It is a text file specially optimized for fast processing. Cnsearch.conf consists of two parts:
- Configuration - the search module settings;
- Templates of the search results pages.
The structure of the configuration file looks as follows:
::CONFIG regcode = Enter Oner registration code here
::CONFIG stats = password
::CONFIG content-type = text/html
::HTMLTOP
<HTML>
<TITLE>This is the top part of the HTML document</TITLE>
</HEAD>
<BODY>
::HTMLRESULT
<P>This the description of the found page.
There will be displayed 10 such descriptions.
::HTMLNOTFOUND
<P>This text will be displayed if
no search results will be found
::HTMLBOTTOM
This is the bottom part of the HTML document
</BODY>
</HTML>
You can use single-line comments in the configuration file. Each comment starts with the symbol "#".
__________
Searching Through Selected Sites
Grouping Search Results by Sites