Customizing the Search Interface
438
Netscape Enterprise Server Administrator’s Guide
You can set up a search to use a variable conditionally so that if there is no
value associated with the variable, nothing is displayed. The syntax is as
follows:
variableName[conditionalized output]
For example, you could request that the document’s title be output if it exists. If
there is no title for this document, not even the label “Title:” is to be displayed.
To do this, you would use code like this:
$$Title[<PTitle: <B$$Title</B]
URL Encodings
When you construct HTML instructions, whether in decorated URLs or within a
pattern file, you need to follow the rules for URL encoding. Any character that
might be misunderstood as part of an URL should be encoded with a code in
the format of
%nn
, where
nn
is a hexadecimal code. Blanks are converted to
the + symbol (plus sign) in queries or to %20 in output. The following table
shows the most commonly used URL codes.
Table 16.6 Common URL encodings
Character
Description
Code
Space
%20
;
Semicolon
%3B
/
Slash
%2F
?
Question mark
%3F
:
Colon
%3A
@
At sign
%40
=
Equal sign
%3D
&
Ampersand
%26
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 ...