Customizing the Search Interface
280
Netscape Enterprise Server Administrator’s Guide • November 2001
This section includes the following topics:
•
Dynamically Generated Headers and Footers
•
HTML Pattern Files
•
Search Function Syntax
•
Using Pattern Variables
Dynamically Generated Headers and Footers
You can specify dynamically generated headers and footers. To accomplish this,
add the
add-headers
and
add-footers
directives to your
obj.conf
file as Service
functions. These directives require either a path or
URI
parameter. Use the path
parameter to specify a static file as the header or footer. For example:
Service fn="add-headers" path="/export2/docs/header.html"
Service fn="add-footer" path="/export2/docs/footer.html"
Use the
URI
parameter to specify a dynamically generated file, such as a CGI
program, as the header or footer. For example:
uri="/cgi-bin/header.cgi"
These Service functions should precede the actual Service function that will answer
the request, such as
send-file
or
send-cgi
.
HTML Pattern Files
A good place to begin customizing the interface is to modify the existing pattern
files. After you understand pattern variables and how they work, you can create
your own pattern files, and change the configuration files and other pattern files to
point to them. In the default installation of Enterprise Server, the pattern files are in
this directory:
server_root\plugins\search\ui\text
. It’s a good idea to make
copies of your original pattern files so you can restore them afterwards.
NOTE
The search home page, at
http://
server_root:port
/search
also provides
an introduction to the search interface, as well as an online QuickStart
tutorial on customizing the interface. The tutorial discusses the various
pattern files, and gives examples of how they can be changed to produce
different results.
Summary of Contents for NETSCAPE ENTREPRISE SERVER 6.0 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Enterprise Server Version6 0 November 2001...
Page 18: ...18 Netscape Enterprise Server Administrator s Guide November 2001...
Page 26: ...26 Netscape Enterprise Server Administrator s Guide November 2001...
Page 48: ...Migrating a Server 48 Netscape Enterprise Server Administrator s Guide November 2001...
Page 50: ...50 Netscape Enterprise Server Administrator s Guide November 2001...
Page 146: ...146 Netscape Enterprise Server Administrator s Guide November 2001...
Page 242: ...242 Netscape Enterprise Server Administrator s Guide November 2001...
Page 294: ...294 Netscape Enterprise Server Administrator s Guide November 2001...
Page 332: ...Deleting a Virtual Server 332 Netscape Enterprise Server Administrator s Guide November 2001...
Page 378: ...378 Netscape Enterprise Server Administrator s Guide November 2001...
Page 396: ...Responses 396 Netscape Enterprise Server Administrator s Guide November 2001...
Page 414: ...Posting to JSPs 414 Netscape Enterprise Server Administrator s Guide November 2001...
Page 432: ...Further Information 432 Netscape Enterprise Server Administrator s Guide November 2001...
Page 444: ...444 Netscape Enterprise Server Administrator s Guide November 2001...