Chapter
17 - Search Engine
This option in your Control Panel will allow you to install the Webglimpse
Search Engine to your web site.
WebGlimpse adds search capabilities to your WWW site easily. It
attaches a small search box to the bottom of every HTML page you edit,
and allows the search to cover the neighborhood of that page or the whole
site. With WebGlimpse there is no need to construct separate search pages,
and no need to interrupt the users from their browsing. All pages remain
unchanged except for the extra search capabilities. It is even possible
for the search to efficiently cover remote pages linked from your pages.
(WebGlimpse will collect such remote pages to your disk and index them.)
Installation, customization (e.g., deciding which pages to collect and
which ones to index), and maintenance are easy.
Getting Started
To install
the Webglimpse Search Engine, click on the Search Engine option inside
your Control Panel and then click on Install Search Engine. It will take
approximately 10 minutes for the server to install the search engine.
After approximately 10 minutes, return to your Control Panel and click
on the Search Engine option. You will now see a list of options that will
enable you to manage the Webglimpse Search Engine. Each option will provide
you with complete instructions for setting up and utilizing the search
engine.
Please be
advised that search engine is not added to all pages automatically, You
must copy and paste the html code found in wgindex.html (this
file is automatically created when you installed Webglimpse search engine)
to every page you like to add the search capability.
Actually
there are two ways to get it on a site that has already been installed.
1) Create
a link to http://domainname/wgindex.html (which opens to the pre-designed
search page).
2) To add
search to a custom existing page, open http://domainname/wgindex.html
and copy the body portion of the html code. Paste
it into the target page html. The target page must located
in the same directory as the original wgindex.html file.
Here is a
sample of the HTML for the Webglimpse search engine:
---------------------
<center>
<table border=5>
<tr><td align=center valign=middle>
<a href="http://glimpse.cs.arizona.edu/webglimpse"><imgsrc=".glimpse-eye.jpg"
alt="Webglimpse Logo" align=middle height=34 width=60></A>
</td>
<td align=center valign=middle>
<font size=+3>
<ahref="http://glimpse.cs.arizona.edu/webglimpse">
WebGlimpse</a>Search<br></font></td></tr>
<!-- Admins - local copy pointers have been
eliminated as of v1.6. If this bothers
you e-mail gberns@tucson.com and complain -->
<tr><td colspan=2 align=center>
<FORM method=get
ACTION="/cgi-bin/webglimpse/home/username/domain-www">Search
the full archive: domainname Search</td></tr><tr>
<td colspan=2>String to search for: <INPUT NAME=query size=30>
<INPUT TYPE=submit VALUE=Submit>
<br>
<INPUT NAME=case TYPE=checkbox>Case sensitive
<!-- SPACES -->
<INPUT NAME=whole TYPE=checkbox>Partial match
<!-- SPACES -->
<INPUT NAME=lines TYPE=checkbox>Jump to line
<!-- SPACES -->
<SELECT NAME=errors align=right><OPTION>0<OPTION>1<OPTION>2</SELECT>misspellings
allowed<br>
</center>Return only files modified within the last <INPUT NAME=age
size=5> days.<br>Maximum
number of files returned:<SELECT NAME=maxfiles><OPTION>10<OPTION
selected>50<OPTION>100<OPTION>1000</SELECT>
<br>Maximum number of matches per file returned:<SELECT NAME=maxlines><OPTION>10<OPTION
selected>30<OPTION>50<OPTION>500</SELECT>
<br>Maximum number of characters output per file:<INPUT NAME="maxchars"
VALUE=10000><br><!-- Admins - remove this line to
stop caching next hits --><INPUT NAME="cache" VALUE="yes"
TYPE="HIDDEN"></FORM>
</td></tr><tr><td colspan=2><center><font
size=-2><ahref="http://glimpse.cs.arizona.edu">Glimpse</a>
and<ahref="http://glimpse.cs.arizona.edu/webglimpse">
WebGlimpse</a>,Copyright © 1996,University of Arizona</center></font></td></tr></table>
---------------------------
|