[thelist] Search engine for a simple site

Liam Delahunty liam at megaproducts.co.uk
Tue Nov 1 09:34:38 CST 2005


On 01/11/05, John Guchemand <jguchema at voanews.com> wrote:
> Hello everyone,
>
> I have a site that is less than 25 pages (I am being generous
> here...there might even be only 15 pages), and I am looking for a search
> engine (or simple search program) to search only the text on the site
> (not to search Internet-wide).

Assuming the site is quite static then the simplest search engine is
just to use google itself.

http://www.google.com/searchcode.html
if you agree to the T&C then adapt the following to suit.

<!-- SiteSearch Google -->
<FORM method=GET action="http://www.google.com/search">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="http://www.google.com/">
<IMG SRC="http://www.google.com/logos/Logo_40wht.gif"
border="0" ALT="Google"></A>
</td>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="Google Search">
<font size=-1>
<input type=hidden name=domains value="YOUR DOMAIN NAME"><br><input
type=radio name=sitesearch value=""> WWW <input type=radio
name=sitesearch value="YOUR DOMAIN NAME" checked> YOUR DOMAIN NAME
<br>
</font>
</td></tr></TABLE>
</FORM>
<!-- SiteSearch Google -->



--
Kind regards, Liam Delahunty



More information about the thelist mailing list