Exploring the Default Search and Print Templates

NetWare Web Search Server includes several default templates used to create search forms and to format, display, and print search results for users.

You can use the templates as they are or you can modify them to look and feel how you want them to. You can also create as many additional templates as you need or replace the default templates with your own templates.

NetWare Web Search includes the five template categories:

The templates are stored at volume:\searchroot\TEMPLATES.


Search Page Templates

NetWare Web Search includes two search page templates that are used to generate a search page, as described in the following table.


Table 7. Default Search Page Templates

Template Name Purpose

SearchTemplate.html

Lets users select a variety of options when performing searches and is the default search template used by NetWare Web Search Server.

SearchTemplate.Simple

Similar to SearchTemplate.html, except that this template contains no dynamic indexes.


Search Result Templates

NetWare Web Search includes several ready-made result templates, as described in the following table.


Table 8. Default Search Result Templates

Template Name Purpose

ResultListTemplate.html

Formats and organizes search results and offers additional sorting functions to the user.

ResultListNoHitsTemplate.html

Indicates when no hits are found during a search and offers users a chance to refine their search.

ResultListTerseTemplate.html

Similar to ResultListTemplate but returns less information, such as dates and titles only.

ResultListVerboseTemplate.html

Similar to ResultListTemplate, but returns more information, such as file date, time, and language. Additional sort options are also provided.


Print Result Templates

From the search results page, users have the option of printing all files matching their search or only those files displayed on the current search results page. When one of these options is selected, the print result templates described in the following is displayed.


Table 9. Default Print Result Templates

Template Name Purpose

PrintResultTemplate.html

Combines the full contents of each of the files in the print request into a single document which is then displayed in the user's Web browser. A dynamic table of contents is also created.

Once the entire content is downloaded to the browser, the browser's print dialog appears.

PrintResultNoHitsTemplate.html

Indicates when no documents are found during a print request.



Previous | Next