Chapter 16, Using Search
441
Customizing the Search Interface
The file also includes references to search macros, such as $$NS-server-url, and
can also refer to other user-defined variables, as in the following lines:
uidir = $$NS-server-url/search-ui
icondir = $$uidir/icons
Search macros are described further in “Macros and Generated Pattern
Variables” on page 444.
You can use any supported HTML character entity in your variable definitions.
You can use entity names that are defined in the
&name
; format as well as
those defined with the three-digit code in the
&#nnn
; format. In the
userdefs.ini
code sample, the entity
inserts a nonbreaking space
and
©
inserts a copyright symbol. Some of the more commonly used
entities are in the following table:
Configuration File Variables
Some variables are defined in the system configuration and the collection
configuration files. These use a prefix of
NS-
in the configuration file to
differentiate them from other markup tags in an HTML page. To use these
variables as arguments to the search function, you add another prefix
$$
to the
variable, as in
$$NS-date-time
and
$$NS-max-records
.
Table 16.7 Common HTML character entities
Numeric code
Entity name
Description
 
Space
"
"
Quotation mark
$
$
Dollar sign
:
-
Colon
<
<
Less than
>
>
Greater than
™
-
Trademark symbol
 
Nonbreaking space
©
©
Copyright symbol
®
®
Registered trademark
Содержание Netscape Enterprise Server
Страница 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Страница 31: ...Part 1 Server Basics 31 1 Server Basics Introduction to Enterprise Server Administering Enterprise Servers ...
Страница 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Страница 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Страница 64: ...Migrating a Server From a Previous Version 64 Netscape Enterprise Server Administrator s Guide ...
Страница 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Страница 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Страница 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Страница 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Страница 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Страница 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Страница 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Страница 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Страница 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Страница 390: ...Customizing the Web Publisher User Interface 390 Netscape Enterprise Server Administrator s Guide ...
Страница 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Страница 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Страница 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Страница 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Страница 504: ...504 Netscape Enterprise Server Administrator s Guide ...