Note: This documentation is for an old version of Webinator. The latest documentaion is here.

Categories

Syntax: textual name and URL pattern pairs, additional input boxes will appear as you fill the ones provided

Webinator can create searchable sub-categories that will appear in a drop down box on the Search page. Enter the name of the category on the left, and its corresponding URL pattern on the right. URL patterns may contain asterisk(*) to indicate ``anything'' and question mark(?) to indicate any single character. There may be more than one pattern for each category. Separate multiple patterns with space. The following table provides an example.

 

Category URL Pattern
Demonstrations http://SERVER/demos/*
Manuals http://SERVER/manual/*
Books http://SERVER/a1/* http://SERVER/b3/*

Table 4.2: Example Categories

This example would create a category named ``Demonstrations'' which would only search the URL ``http://www.mysite.com/demos/'' and any files under this directory, thereby creating a more concise match to the user's search. The same is true for ``Manuals''. However, the `` Books'' category would include pages from both the ``a1'' and ``b3'' directories. The user would now have the option to search within just these categories or the entire database. The pattern should not be a single page unless you want a category with a single page in it (e.g. ``http://www.mysite.com/manual/index.html'' would be incorrect). It should typically be a prefix for a directory that has multiple pages within it followed by an asterisk (*).


Copyright © Thunderstone Software     Last updated: Thu Mar 11 16:13:32 EST 2010
Copyright © 2024 Thunderstone Software LLC. All rights reserved.