![]() Table of Contents
|
Making a searchpage In order to use the search engine on your web pages, you use the IntraSeek tags. Let's start with some examples:
Example 1
Between the <title> and </title> tags you can add the <intraseek_title> tag. The <intraseek_form>tag adds a search form in English (lang=en) for the profiles homepages and products. Finally, the <intraseek_results> tag will be substituted by Intraseek with the result (scores, summaries and links) for the search. The language used here will be English as well (lang=en). If you want to make several profiles searchable from the same web page you can replace the default_id attribute in <intraseek_form> with ids= followed by a comma-separated list of active profile id's.
Example 2
You can use the lang= attribute in all the IntraSeek tags to change language. If nothing is specified, English will be used as default. Note that the lang= attribute will only affect the IntraSeek output, and will not translate the actual summaries. The languages that are supported in this release are:
¹)Assumes iso-8859-2 encoding. If you find any problems with the translations, or want to make IntraSeek support your own language you can edit the file "modules/languages.h" manually. We at Idonex would also appreciate information about language errors, in order to correct them in the forthcoming releases.
Web page summaries
The example below uses the "Target=" and "Textcolor=" attributes.
Finally, there is a third optional attribute to <intraseek_results> called charset=, which is discussed in the next chapter. |