Search Engine |
Applies to HTML Viewer, IE Browser publications.
About the built-in search engine
HTML Executable tells the number of pages and unique words that were found while indexing pages in the compilation log. End users can access to the search panel by clicking on the "Search" button or by selecting "Navigate|Show Search". You can also use HEScript commands to integrate the search engine in your HTML pages: see StartFullSearch. Configuring the search engineEnabling the search engine can result in a larger publication file (it depends on the number of HTML pages you compile). If you therefore do not want to include a search engine in your publication, then turn the following option on: "Disable the search engine". When a search is complete, the publication lists the results. Each result displays the page's title and URL on which end users can click to access to the page. If you prefer to keep your URLs secret, you can also hide the page URLs from the search results. In this case, a "(click)" URL will be displayed instead. Some keywords may be automatically excluded from the index so they won't give any result if end users search for them. In addition to some common words, you may add your own sensitive keywords to the exclusion list. Just press Add and specify the keyword to add. On the contrary, you can remove keywords from the exclusion list by selecting them and clicking Remove. Keyword exclusion lists may be imported/exported from/to XML files using the XML button, so you can edit them manually using any XML editor. Some keywords may be escaped; the search engine always takes account of them. With HTML Executable 3.3, we introduced an improved search engine that better filters results better. If you prefer to stay with the previous one, enable "Do not use the improved search engine". Finally if your compiled website uses frames, you may need to specify in which frame a page whose URL was clicked on should be displayed. Use the SearchFrameTarget property to indicate it. This only applies to IE browser publications however.
Examples:
Customizing the display of search resultsIt is possible to customize how search results are formatted: go to the Localization tab, and under Resource Strings, you can modify these three resource strings:
|