Advanced Boolean Search Help Page

Command link:     /search/X
HTML document:  srchhelp_X.html

The srchhelp_X.html page supports the Advanced Word Search syntax and provides for the inclusion of limiting options on the Search Help page. You can customize this page as needed, while ensuring the inclusion of certain required tokens as noted below.

The following tokens are valid for the srchhelp_X.html page:

Token Description
<!--{toplogo}--> The system replaces this token with the HTML defined in the TOPLOGO Web option. If used, this token must be the first token in the file.
<!--{advancedsearchbody}--> This token inserts the <body> HTML tag and attached JavaScript to use with the <!--{advancedsearch}--> token. If you are using the <!--{advancedsearch}--> token, you must replace the <body> HTML tag with this token.
<!--{advancedsearchformbegin}--> This token inserts the <form> HTML tag and attached JavaScript to use with the <!--{advancedsearch}--> token. If you are using the <!--{advancedsearch}--> token, you must replace the <form> HTML tag with this token.
<!--{advancedsearch}--> This token inserts the Advanced Word Search tool that includes the drop down selections for indexes to search, text input boxes, and boolean operators.
This token requires the <!--{advancedsearchbody}-->, <!--{advancedsearchformbegin}-->, and <!--{advancedsearchformend}--> tokens.
<!--{availlim}--> The system replaces this token with a "Limit to available" checkbox in the search tool. The label text is set with the AVAILLIM Web option. This token must be between the <!--{advancedsearchformbegin}--> and <!--{advancedsearchformend}--> tokens.

This functionality is not supported on INN-Reach Central Servers.

<!--{branch}--> The system replaces this token with a Limit to Location drop-down menu list of valid library locations.
<!--{circ_hist_limit}--> The system replaces this token with a checkbox in the search tool to remove any limits on search results based on patron type or reading history, such as Homebound Patron Services. This token must be between the <!--{advancedsearchformbegin}--> and <!--{advancedsearchformend}--> tokens.
<!--{clearform}--> The system replaces this token with the value of the ICON_CLEAR_FORM Web option. This token must be between the <!--{advancedsearchformbegin}--> and <!--{advancedsearchformend}--> tokens.
<!--{currentscope}--> The system replaces this token with the name of the current scope the user is searching.
<!--{DOCDATE}--> The system replaces this token with input boxes to specify a start and end date of publication to limit a search by.
<!--{innreach}--> If a search has no results on an INN-Reach Local Server, the system replaces this token with the link defined in the INNREACH Web option.
<!--{lang}--> The system replaces this token with a drop-down list of languages to limit a search by.
<!--{logout}--> Libraries using the My Account feature can place this token on any WebPAC page to display a Logout and a Return to Patron Record button after a patron logs onto the system. After selecting this button, the patron returns to the Patron Information page for the original log on. If the TOPLOGO_LOGGEDIN Web option is set to a false value, the system ignores this token.
<!--{mattype}--> The system replaces this token with a drop-down list of material types to limit a search by. To customize the sort order of this list, see Menu Options for Limit by Material Type.
<!--{msg}--> The system replaces this token with any system messages.
<!--{netli_ask}--> If your library has set the Set netLibrary code system option, the system replaces this token with a check-box that allows the user to pre-limit the searches to netLibrary eBooks.
<!--{netli_force}--> The presence of this token instructs the system to automatically limit any searches to netLibrary eBooks.
<!--{nosort}--> This token enforces browse list sorting in the order specified by the first option that your library has set in Advanced Searching: Ranking Options option. The user has no opportunity to change the order.
<!--{partner}--> This token places a PARTNER button on the page and allows the search to pass through to the partner library. The button appears only following a search with no resulting entries.
<!--{patron}--> If your library uses My Account, the system replaces this token with a You are logged in as:[patron name] message if the patron is logged in.
<!--{progstartdate}--> The system replaces this token with the program start date to limit a search for.
<!--{progenddate}--> The system replaces this token with the program end date to limit a search for.
<!--{progdow}--> The system replaces this token with checkboxes for the day of the week (Sunday through Saturday) to limit a search for.
<!--{publish}--> The system replaces this token with an input box to specify a publisher to limit a search by.
<!--{resetscope}--> The system replaces this token with a drop-down list of scopes defined in your Scope Menu.
<!--{resetscope:[#]}--> The system replaces this token with a link to the scope number defined in your Scope Menu. The scope to search is indicated by [#] in the token description (for example, <!--{resetscope:3}--> to search scope 3 as defined in your Scope Menu). The appearance of this link is controlled by the ICON_RESETSCOPE Web option.
<!--{return}--> Places a Return Home link on pages retrieved when searching the central machine's database in an INN-Reach consortium or when searching a remote, partnered machine's database. After selecting this link, the user returns to his or her home Innovative server.

Setting the BUT_RETHOME Web option displays a graphic image button, specified by the option, for this link. Otherwise, the link appears as the text Return Home. If the TOPLOGO_LOGGEDIN Web option is set to a false value, the system ignores this token.
<!--{RSS:[settings]}--> This token is replaced by an RSS feed where [settings] is specified using the following colon-delimited, elements:

[URL]:
[MAX_ITEMS]:[DISPLAY_DESCRIPTIONS]:[DISPLAY_DATES]:
[DISPLAY_IMAGE/TITLE]
Token ElementDescription
[URL]The URL of the RSS feed.
[MAX_ITEMS]The maximum number of items to display from the RSS feed.
[DISPLAY_DESCRIPTIONS]This element controls the display of the RSS feed item description. If this element is set to 1 or t, the WebPAC displays the RSS feed item description.
[DISPLAY_DATES]This element controls the display of the RSS feed item date. If this element is set to 1 or t, the WebPAC displays the RSS feed item date.
[DISPLAY_IMAGE/TITLE]This element controls the display of the image and title for the RSS feed. This element accepts the following settings:
  • 0— Show neither the title nor the image.
  • 1— Show only the title.
  • 2— Show only the image.
  • 3— Show both the title and the image.


For example:
<!--{RSS:http://www.nytimes.com/services/xml/rss/nyt/Science.xml:5:t:t:3}-->
Images for Items

The <!--{RSS:[settings]}--> token does not control display of titles and images for individual items. Use the feed configuration file to control that display.

<!--{scope}--> The system replaces this token with a drop-down list of scopes defined in your Scope Menu. This token must be between the <!--{advancedsearchformbegin}--> and <!--{advancedsearchformend}--> tokens.
<!--{sort}--> This token places a drop-down menu on the page allowing the user to select a sorting option, such as by Date, Alphabetically, or by Relevance, for the retrieved records. See Advanced Search for details on the sort options available with this feature. This token must be between the <!--{advancedsearchformbegin}--> and <!--{advancedsearchformend}--> tokens.
<!--{spellcheck}--> If your library has acquired Spell Check, this token inserts the Spell Check Tool on the page. Using the Spell Check Tool, the user can choose corrected search terms. For more information, see Using Spell Check.
Form Tags

Note that the spellcheck token creates a form and must not be placed between existing HTML form tags or tokens that generate form tags, such as the <!--{advancedsearchformbegin}--> token.

<!--{srchhist}--> This token places a Search History drop-down menu on the page, from which the user can select a previously entered search to repeat. The space for this menu is empty on the first search page that the user calls up. See Repeating Previous Searches (Search History) for more information on this feature.

This token must appear between the <!--{advancedsearchformbegin}--> and <!--{advancedsearchformend}--> tokens.
<!--{ifprogreg}--> If your library has acquired the Program Registration product, the system interprets the tokens between this token and its closing <!--{xif}--> token.
<!--{progregcal}--> The system replaces this token with the value of the ICON_PROGRAM_CAL Web option.
<!--{xif}--> Closes the <!--{ifprogreg}--> logic.
<!--{advancedsubmit}--> This token is replaced by the value of the ICON_SUBMIT Web option. This token must be between the <!--{advancedsearchformbegin}--> and <!--{advancedsearchformend}--> tokens.
<!--{advancedsearchformend}--> This token inserts the </form> HTML tag to use with the <!--{advancedsearch}--> token. If you are using the <!--{advancedsearch}--> token, you must replace the </form> HTML tag with this token.
<!--{botlogo}--> The system replaces this token with the HTML defined in the BOTLOGO Web option. If used, this token must be the last token in the file.

You can create separate custom forms for each combination of language, scope, and patron type by using the following naming convention:

srchhelp_X_LANG_s#_p#.html

LANG The language code (spi for Spanish, frc for French, etc.).
s# The number of the scope (s1, s2, s3, etc.).
p# The patron type or PTYPE (p0 or p243, etc.).

For a current example of this form, see the appropriate example set in WebPAC Example Sets and Photoshop Files on CSDirect.