Specifying query parameters with xslt – Google Search Appliance Creating the Search Experience User Manual
Page 121
Google Search Appliance: Creating the Search Experience
Advanced Customization Topics
121
4.
Replace the default code with the custom code shown below in boldface and bracketed by start/
end comments below.This replaces the default radio button's choose clause with similar logic
appropriate for a checkbox.
checked="checked" />
Include secure content
5.
Edit the text or font as you choose. Do not change any of the code inside the choose statement.
6.
Save the stylesheet. If you are using an external editor other than the Admin Console's XSLT
Stylesheet Editor, you must also import the stylesheet into the associated front end.
7.
Verify the changes by opening the search query page and performing a test search on secure
content.
Specifying Query Parameters with XSLT
The default search box for a front end is defined by the associated XSLT stylesheet. You can modify the
XSLT stylesheet to include selected parameters in every query submitted from the query box in a front
end. Valid parameters are documented in the Search Protocol Reference.
Though it is not immediately apparent, the search box in the “Inline Frame Example page” on page 114
is customized in this way. Each query submitted from the search box explicitly retrieves selected meta
tag values and limits the number of results to optimize the limited page space.