WN home page

Version 2.5.0
[Previous] [Next] [Up] [Top] [Search] [Index]

How the Index to WN User's Guide Server Works

The file docindex.html was produced by the WN utility wnindexmaker. wnindexmaker produces a collection of HTML unordered lists with entries like:

<li> <a href="search=context?content-type">content-type</a>

This is an anchor to a relative URL. The complete URL would be:


which asks the server to do a context search of the 25 files in the User's Guide with query term "content-type". When this is selected the server returns a list of all files in the directory with matches, with a sublist for each list consisting of the lines that contain a match. Selecting one of the highlighted search terms in a match line causes the server to return document positioned at the location of the matched item. This is part of all context searches. It is done by inserting an anchor on the fly at the location of the match.

WN version 2.5.0
Copyright © 1998-2005 John Franks <john@math.northwestern.edu>
licensed under the GNU Free Documentation License
Last modified: Sat June 18 2005
[Previous] [Next] [Up] [Top] [Search] [Index]