 | Note: Make sure Search Engine is installed in your control panel by clicking Search Engine and Installing WebGlimpse.
There are two ways to get Webglimpse search engine 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 markup. The target page must located in the same directory as the original wgindex.html file.
Here is a sample of the HTML markup for the Webglimpse search engine
<center>
<table border=5>
<tr><td align=center valign=middle>
<a href="http://glimpse.cs.arizona.edu/webglimpse"><img src=".glimpse-eye.jpg" alt="Webglimpse Logo" align=middle height=34 width=60></A>
</td>
<td align=center valign=middle>
<font size=+3>
<a href="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>
<a href="http://glimpse.cs.arizona.edu">Glimpse</a> and
<a href="http://glimpse.cs.arizona.edu/webglimpse">WebGlimpse</a>,
Copyright © 1996,
University of Arizona
</center>
</font></td></tr>
</table>
Be sure to replace domainname, domain, and username with the appropiate entries
|