Novell NETWARE 6-DOCUMENTATION Manual page 2121

Table of Contents

Advertisement

Search Page Variables
Table 10
Variable Name
$$BeginCollectionsLoop
$$Collection
$$Countervariable_number,
increment_number
$$EndCollectionsLoop
$$IncludeFile
$$QueryTemplateTheme
$$ResultEncoding
192 Getting Results with Novell Web Services
For more information about how to implement variables in a search or print
template, or how to implement search parameters in an HTML document to
create a search form, see
on page
185.
The following table lists all available search page variables that can be used to
extend the functionality of the default search templates (SearchTemplate.html
or SearchTemplate.Simple) or to create new templates from scratch.
Search Page Variables
Description
Begins the repeating section in the search template where index
information will be written.
The name of the collection.
Inserts the value of the specified var# counter into the search result
page. All counters initialize to zero. The optional second parameter
specifies the amount to increment or decrement the current value. A
maximum of 10 counters is supported. For example:
$$Counter[1] = insert value of counter #1
$$Counter[1,1] = increment counter #1 by 1 and display the new value
$$Counter[5,-3] = decrement counter #5 by 3 and display the new value
Ends the repeating section in the search template where index
information will be written.
Automatically pulls in the designated template at the location of this
variable. The included template can contain other template variables,
which will be processed as though they were a part of the original
template. The template name parameter can either be a full FILE:// URL
based on the file system of the server or a relative path based on the
location of the parent template. The template name parameter can be
located within quotation marks. See the SearchResultTemplate.html file
for an example use of this variable.
Identifies the theme requested by the search client.
Identifies the encoding used to return the current search results page.
Chapter 17, "Customizing Your Search Solutions,"

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netware 6

Table of Contents