<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> Untitled Document
Adding Search Components to Other Sites

This section assumes a competent knowledge of website construction. If you are not confident with what you read here, it is recommended that you continue with the sample interface. If you already have web-sites or an intranet to which you wish to add a TRIST based index and search, the following explains how to use the components within your existing pages.

To incorporate these files in your existing sites, use a server-side include.

On the page where you want to initiate a search, locate the place in the document where you wish to place the form.

It is recommended that the form is placed within a table cell as this gives more choice about placement without needing to change the form code.

Using a server-side include reference the file. Typically this would look like

<!--#include file="searchform.inc" -->

The form references the page results.asp at the same level. If results.asp is in a subfolder from searchform.inc the components will not work. Try to keep all the files in the same folder.

The file ‘ResultsNav’ is included to give the option of the page navigation seen at the bottom of the sample. It should not be edited. Use the include to add the bar where ever you want it to be displayed.

The results.asp page uses the remaining results*.asp files. These can be manipulated to suit your needs.