CGI Connection Search
CGI Connection Search
This is a demo of how the Site Searcher Configuration screen looks
Config Password:
This is the password that must be entered to get to this configuration screen
Retype Password:
Type in the password again to verify the change.
Start Folder:
This is the starting folder on your web site to begin searching
Exclude Folders:
/path/to/exclude /path/to/exclude2
Do not search in these folders
Example: /path/to/private/folder
(Enter one per line)
File Extensions:
html htm php txt php2 php3 php4 text doc js
Only search for files with these extensions
(Enter one per line)
Max. Folders:
Maximum number of folders that should be searched into
Max. Files to Display:
Maximum number of files that should be displayed at one time
Max. Chars to Display:
Maximum number of characters that will be displayed for each file description
Min. Search Chars:
Mininum number of characters the user must enter to search for
Max. Search Time:
Maximum number of seconds each search can run for
Max. Bytes:
Maximum number of bytes a file can be, or it will not be searched
Remove HTML Tags?
Yes
No
Should basic HTML tags be removed when searching for files? This may improve search accuracy.
Below will be used to display on the screen during searches
Title:
This is the title that is displayed for your search engine
Search Description:
Display this before any files or folders have been found
Term Description:
Display this when searching in found files for search terms entered
Found Description:
Display this while searching to show how many files and folders have been found
No More:
Display this when there are no more results to be displayed
Max Reached:
Stop searching and display this when the default number of search seconds has been reached
Below is the default style sheet for the searches
This sets the overall colors and feel of the search screens
<style type="text/css"> body { font-size: 100%; font-family: arial, sans-serif; background-color: #ffffff; margin-left: 5%; margin-right: 5%; } h2 { font-family: arial, sans-serif; } table { background: #cccccc; font-family: arial, sans-serif; } #searchbox { font: arial, sans-serif; background-color: #fffccc; color: #000000; border: 1px solid black; } </style> <html><body>
Below is the default screen visitors will see when they go to your search page
<title>!TITLE!</title> <center> <h2>!TITLE!</h2> </center> <center> <form method=POST action="!SITESEARCHURL!"> <input type=hidden name=area value="search"> <center><table border=0> <tr><td> <b>Text to Search For:</b> <input type=text name="terms" value="!TERMS!" size=40> <input type=submit value="Search"> <div align="center"> <b>Boolean:</b> <input type=radio name="boolean" value="AND" CHECKED> AND <input type=radio name="boolean" value="OR"> OR ���� <b>Case</b> <input type=radio name="case" value="insensitive" CHECKED> Insensitive <input type=radio name="case" value="sensitive"> Sensitive </div> </td></tr></table></form></center> </body></html>
Below is how the results of each search will be displayed
<!--TOP--> <title>!TITLE!</title> <center> <h2>!TITLE!</h2> <hr size=2 width=75%> <form method=POST action="!SITESEARCHURL!"> <input type=hidden name=area value="search"> <center><table border=0> <tr><td> <b>Text to Search For:</b> <input type=text name="terms" value="!TERMS!" size=40> <input type=submit value="Search"> <div align="center"> <b>Boolean:</b> <input type=radio name="boolean" value="AND"!ANDCHECKED!> AND <input type=radio name="boolean" value="OR"!ORCHECKED!> OR ���� <b>Case</b> <input type=radio name="case" value="insensitive"!INSCHECKED!> Insensitive <input type=radio name="case" value="sensitive"!SENSCHECKED!> Sensitive </div> </td></tr></table></form> <hr size=2 width=75%> </center> <br /><br /> </center> <!--/TOP--> <!--MIDDLE--> [<b>!DOCNUM!</b>] <a href="!SITESEARCHURL!?area=get&filename=!FILENAME!">!DOCTITLE!</a> <br /> !DESCRIPTION! <br /> <font color="green">!FILENAME! - !SIZE!</font> <br /><br /> <!--/MIDDLE--> <!--BOTTOM--> <hr size=2 width=75%> <center> <a href="javascript:history.back(-1);">Previous</a> �� <a href="!SITESEARCHURL!?area=next&terms=!TERMSENCODED!&boolean=!BOOLEAN!&case=!CASE!&count=!COUNT!&filename=!FILENAME!">Next</a> <br /><br /> <form method=POST action="!SITESEARCHURL!"> <input type=hidden name=area value="search"> <center><table border=0> <tr><td> <b>Text to Search For:</b> <input type=text name="terms" value="!TERMS!" size=40> <input type=submit value="Search"> <div align="center"> <b>Boolean:</b> <input type=radio name="boolean" value="AND"!ANDCHECKED!> AND <input type=radio name="boolean" value="OR"!ORCHECKED!> OR ���� <b>Case</b> <input type=radio name="case" value="insensitive"!INSCHECKED!> Insensitive <input type=radio name="case" value="sensitive"!SENSCHECKED!> Sensitive </div> </td></tr></table></form></center> <hr size=2 width=75%> </body> </html> <!--/BOTTOM-->