Facebook

How do I install a Search Engine on my website?

Search Engine Installation

Webii makes adding a search engine to your web site an easy process. All you need to do is code a few html tags in your page that will call the search engine. The author of this script includes his notes at the following url:http://www.ufbs.co.uk/jason/perl/jasearch.html

For example:

Search  match  terms.
 
The code required for the above form is:
<FORM METHOD=”POST” ACTION=”/cgi-bin/jasearch.pl”>
<INPUT TYPE=”hidden” NAME=”base” VALUE=”/sites/webii.net/public_html”>
<INPUT TYPE=”hidden” NAME=”rbase” VALUE=”https://www.webii.net”>
<INPUT TYPE=”hidden” NAME=”bgcolor” VALUE=”#E2E2E2″>
Search for <INPUT TYPE=”TEXT” NAME=”sv” VALUE=””> and match
<SELECT NAME=”type”>
<OPTION VALUE=”all” SELECTED> all
<OPTION VALUE=”any”> any
</SELECT> terms.
<INPUT TYPE=”SUBMIT” VALUE=”Search”>
<INPUT TYPE=”RESET” VALUE=”Clear”>
</FORM>

Where

You can also include the following fields:

If you want to restrict searches to specific directories you can include:

<INPUT TYPE=”HIDDEN” NAME=”dirs” VALUE=”/dir1;/dir2;/dir3″>

This will only search the directories that are listed in value.

Please note:
*.Each directory needs to start with /
*.Each directory is separated by ;

If you wish to search within your htdocs directory, type a / (slash) only. Do not type /publichtml, as the slash will already place you within the public_html directory.

Since Webii did not write this script, we are unable to troubleshoot or customize it. If you have specific questions about the script, please consult the author:
http://www.ufbs.co.uk/jason/perl/jasearch.html