Customizing the Search Interface
440
Netscape Enterprise Server Administrator’s Guide
•
variables defined in the
userdefs.ini
file, to which are added a
$$
prefix in decorated URLs and pattern files. For example,
uidir
,
logo
, and
title
become
$$uidir
,
$$logo
, and
$$title
.
•
variables defined in the configuration files,
webpub.conf
and
dblist.ini
files, which have a
NS-
prefix where they are defined in the
configuration file and which have a
$$NS-
prefix when they are used in
decorated URLs and pattern files. For example,
NS-max-records
,
NS-
doc-root
, and
NS-date-time
become
$$NS-max-records
,
$$NS-
doc-root
, and
$$NS-date-time
.
•
search macros and variables generated by a pattern file, which always have
a
$$NS-
prefix. For example,
$$NS-host
,
$$NS-get-next
, and
$$NS-
sort-by
.
User-defined Pattern Variables
You can create any number of your own user-defined pattern variables in the
user definitions file,
userdefs.ini
, or you can modify existing definitions.
When one of these variables is used in a pattern file, the $$ prefix is added to it.
Variable names can have up to 32 characters or digits, or combinations of both.
Characters can be letters A-Z in upper or lower case, hyphens (-), and
underscores (_). Names are case sensitive.
The default
userdefs.ini
file included with Netscape Enterprise Server
contains variables that are used to define the search query page (labeled
[query
] in the file, the results listing (labeled
[toc]
), the document display
page, (labeled
[record]
), and the collection contents page (labeled
[contents]
). Each line begins with a variable name and is followed by a
definition for that variable. Many are labels for screen elements, some are paths
to other files, and some have more complex contents. For example, the
following lines are from the query section of that file.
[query]
help=/help/srchhelp.html
title=ES3.0 Sample Search Interface
queryLabel=Search for:
collectionLabel=Collection:
booleanLabel=Boolean:
sortByLabel= Sort for:
copyright = Copyright © 1997 Netscape Communications Corporation.
All Rights Reserved.
Summary of Contents for Netscape Enterprise Server
Page 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Page 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Page 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Page 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Page 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Page 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Page 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Page 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Page 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Page 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Page 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Page 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Page 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Page 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Page 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Page 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Page 504: ...504 Netscape Enterprise Server Administrator s Guide ...