|
findinsite-js configuration screen Look and Feel section
Introduction
Use the Look and Feel section of the findinsite-js
configuration screen
to do these jobs:
Once you have made any changes, click on the Make Changes button to effect
the change.
To remove a value for a field, replace the existing value with a space and press
Make Changes.
Partial screenshot of the online configuration screen Look and Feel section:
|
|
Display the template HTML
As described in the main
Look and feel page,
findinsite-js uses template files to customise the look
and feel of the output pages.
The Look and Feel section of the configuration screen
lists the template files that are currently in use.
To view the contents of these files, check the
Display the template HTML box and press the Make Changes button.
The template file contents are then shown to the right of each filename field.
Reload the template files
If you change the contents of your template files then press the
Reload template files button to tell findinsite-js to use these new files.
Change the template filenames
Change the filename path for a template file using the appropriate field box
and then press the Make Changes button.
A message at the top of the screen says whether the file was loaded successfully.
Enable/disable highlighting in found pages
By default, findinsite-js highlights search words
in result web pages,
as described here.
To switch off highlighting, uncheck the Enabled checkbox
and then press the Make Changes button.
To turn off the information header inserted on each highlighted page
by findinsite-js, uncheck Header
and press Make Changes.
To change the HTML used to highlight words,
see here.
Specify any additional languages
As described in the main
languages page,
findinsite-js uses language files to customise its output to match a user's locale.
To add to or change the list of supported languages, enter
a comma-separated list of language file paths to the
Additional Languages box and press the Make Changes button.
findinsite-js always shows its currently supported languages in a list to the
right of the Additional Languages box.
Get the word counts
By default findinsite-js does not retrieve the
count of all search words in each page hit.
However if you want to show this information in each results sheet, then
add an %WORDCOUNT%
Results line variable
to your line template file, eg findline.htt.
(The word count can also be retrieved in
WordCount JSP session variable.)
Next, check the Get Word Counts box and press the Make Changes button.
Word counts are automatically retrieved if Reorder Results is set to "wordcount",
as described below.
Decide how the results should be ordered
By default, findinsite-js sorts the search results so that pages that are more likely
to be of interest are listed first. For web pages, this means that words
in the web page Meta description, Meta keywords, title and headings in that order.
Similar priorities are used for other file types.
You can change the results sort order by choosing a Reorder Results and
Ascending option
and pressing the Make Changes button.
|
Reorder Results options
|
| off |
Standard findinsite-js sorting |
| filename |
Sort results on the page filename |
| title |
Sort results on the page title |
| abstract |
Sort results on the page abstract |
| priority |
Sort results on the page Priority |
| wordcount |
Sort results on the count of search words in each page |
For ascending sorting, check the Ascending box.
For descending sorting, clear the checkbox.
|