WN home page

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

User Defined Fields on the WN Server


The maintainer may associate an arbitrary field value to any document in the WN hierarchy. It is then possible to do fielded searches.

A line like:

Field3=any text here

in the index file associates the text "any text here" with user defined Field3. The '3' in this example can be replaced with any number from 0 to 19. A fielded search is invoked by a URL like:

http://host/dir/search=field3

In addition to fielded searches the user supplied fields can be inserted in documents. This is done by including a field marker such as:

<!-- #field3 -->

in the file at the point where the value should be inserted. If there is no Wrappers= or Includes= line in the index file for this entry then there must be a line like:

Attributes=parse

so the server knows it is to parse the file to look for the marker. See the section "Set File Attributes" in this guide for more details.


WN version 2.0.3
Copyright © 1998 John Franks <john@math.nwu.edu>
licensed under the OpenContent Public License
last-modified: Fri, 09 Oct 1998 18:18:09 GMT
[Previous] [Next] [Up] [Top] [Search] [Index]