Customizing the Search Interface
434
Netscape Enterprise Server Administrator’s Guide
Customizing the Search Interface
As server administrator, you can customize the search interface to meet specific
user requirements. All of the HTML-based forms that the user sees are defined
through a set of pattern files that set up display formats for the search results
page header and footer as well as each search result record listed in response
to a query. There are a set of pattern variables that you can use to construct the
forms used for search input and output. Many of the variables are defined in
the system and user configuration files (
userdefs.ini
,
webpub.conf
, and
dblist.ini
, which are discussed in “Configuring Manually” on page 400).
Note
The search home page, at
http://
yourServer
/search-ui/examples
, 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.
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 take 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
.
Содержание 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 ...