beautypg.com

Changing result elements – Google Search Appliance Creating the Search Experience User Manual

Page 105

background image

Google Search Appliance: Creating the Search Experience

Customizing the User Interface

105

Changing Result Elements

The Result elements section of the XSLT stylesheet contains variables that control the appearance of all
search result listings. By editing variable values in this section, you can change the font face and color of
result titles, snippets, and link URLs. The search result page figure (see “Getting Started with Customizing
the User Interface” on page 91
) illustrates changes to the result title color, keyword match color, and
result cache link color.

The following table lists all elements of results listings that you can change and the types of changes
you can make to each one.

Search boxes

Display a search box at the top or the bottom of the search
results page. Specify the size of the search box.

Search buttons

Specify search button type (text or image).

Search info bars

Display search information bars.

Separation bar

Specify type of separation bar and label.

Navigation bars

Specify top and bottom navigation bars and attributes.

Sort by

Display Sort by link.

Spelling suggestions

Display spelling suggestions, change label text (Did you mean:),
or color.

Synonyms suggestions

Display synonym suggestions, change label text (You could also
try:
), or color.

KeyMatches

Display KeyMatches, change label text (KeyMatch), text color, or
background color.

Advanced Search Reporting

Specify whether to enable advanced search reporting.

User Interface Element

Customization

Result title

Display result title, change color of result title, change font size
of result title, show or hide result snippet, change color of result
snippet.

Keyword match

Change color of keyword match (the word or phrase that
matches the search term) in result titles and snippets, change
font size of keyword matches, use boldface font in keyword
matches.

Link URL

Display result link URL, change color of result link URL, change
font size of result link URL, truncate result link URL, or the length
of truncated result link URL.

Meta tags

Display meta tags.

Results size

Display the size of result pages in kilobytes.

Results date

Display dates when pages were found.

Results cache

Display links to results cache versions of pages.

Color used in result cache link,
similar pages, and description

Change the faint color used in result cache links, similar pages,
and descriptions.

Secure results radio button

Display secure results radio button.

User Interface Element

Customization