| Support
- CGI - ht://dig Site Search |
|
This document explains how to implement ht://Dig on
your Zetnet hosted web site. Please note that this search facility is currently
unavailable on sites hosted on Windows servers or using Frontpage Extensions.
Each Zetnet commercially hosted site can have its own
search engine. This engine uses ht://Dig and scans your site every morning,
building an index database as it goes.
The search engine is not automatically set up for you,
but must be requested by sending a message to webweaver@zetnet.net saying
"I would like a search engine on http://www.mydomain.com/"
Once the search engine has been set up, you can include
the search facility anywhere on your site using HTML code similar to the
example below:
--------------------------------------------------------------------------------
<FORM METHOD="GET" ACTION="/cgi-zet/htsearch">
<INPUT TYPE=hidden NAME="restrict" VALUE="http://www.yourdomain.com/">
<TABLE BORDER=0 CELLPADDING=5>
<TR>
<TD ALIGN=CENTER>
Text to Search For:
</TD>
<TD COLSPAN=3 ALIGN=CENTER>
<INPUT TYPE=text NAME="words" SIZE=40>
</TD>
</TR>
<TR>
<TD>
Keywords to match:
</TD>
<TD>
<SELECT name="method">
<OPTION value=and>All
<OPTION value=or selected>Any
<OPTION value=boolean>Boolean
</SELECT>
</TD>
<TD ALIGN="right">
<INPUT TYPE=submit VALUE="Search!">
</TD>
<TD ALIGN="right">
<INPUT TYPE=reset>
</TD>
</TR>
</TABLE>
</FORM>
Note: Do not forget to replace the
yourdomain with your domain's URL.
|