How can I create a Google-like search feature for my website?

Note: some of this information may not apply if you are using Summersault's new control-panel based hosting plans (setup after May 2007).  Learn more about this change.

Summersault uses the open source software htdig to add site-wide searching functionality to your site for free. If you would like htdig enabled for your site, just submit a technical support request letting us know.

Our system will "crawl" your site once daily, starting from the front page. It will only index HTML pages and PDF files that are linked via the front page using standard text or image links; links embedded in Javascript or Flash elements, for example, will not be followed. We can configure alternate starting pages if needed, just let us know when you send your setup request.

Once htdig is configured for your account, you can add a search form to your site using the following example HTML code. Be sure to replace USERNAME with your account username.

<form method="get" action="/cgi-bin/htsearch.cgi">
Search:<br />
<input type="text" size="9" name="words" value="" />
<input type=hidden name=config value="USERNAME" />
<input type=hidden name=restrict value="" />
<input type=hidden name=exclude value="" />
</form>

If you still have questions or need assistance, please submit a technical support request.

Categories for this entry

Tags: -

Related entries:

Last update: 2007-06-11 14:56
Author: Summersault Support
Revision: 1.0

Digg it! Print this record
Please rate this entry:

Average rating: 5 out of 5 (1 Votes )

completely useless 1 2 3 4 5 most valuable