Customizing the Search Interface
436
Netscape Enterprise Server Administrator’s Guide
•
defined in the configuration files,
webpub.conf
and
dblist.ini
files,
with a
$$NS-
prefix (for more information, see “Configuration File
Variables” on page 441).
•
search macros and variables generated by a pattern file, with a
$$NS-
prefix (for more information, see “Macros and Generated Pattern Variables”
on page 444).
To see how these work together, here are some lines from the standard query
pattern file,
NS-query.pat
:
<input type="hidden" name="NS-max-records" value="$$NS-max-records"
<td align=left colspan=2$$logo</td
<td align=right<h3$$sitename</h3</td
<td align=right<b$$queryLabel</b</td
<td align=left <input name="NS-query" size=40 value="$$NS-display-
query"</td
Each line contains standard HTML tags and one or more variables with the
$$
or
$$NS-
prefix. Examining each line more closely requires looking at the
configuration files mentioned in “Configuring Manually” on page 400.
•
NS-max-records
: Defined in the
webpub.conf
file. Because this field is
hidden, users cannot change this value, which defines how many matching
documents to return at a time. In the advanced HTML query pattern file,
NS-advquery.pat
, this is a user-modifiable input field.
•
$$NS-max-records
: The search generates a variable from this field that
can be used in subsequent searches to calculate how many result records to
display at a time. Because this field is not modifiable here, the value is set
to that in
webpub.conf
file. In the advanced query, this value could vary
for each query.
•
$$logo
: Defined in the
userdefs.ini
file. This could be any image or
text the user wanted to display on the form.
•
$$sitename
: Defined in the
userdefs.ini
file as the server’s host
name that is provided by the
$$NS-host
search macro.
•
$$queryLabel
: Defined in the
userdefs.ini
file as a text label for the
query input field. In this case, the label on the form is the word “For:”
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 ...