Table of Contents

  • Introduction
  • Administrator
  • User
    · Introduction
    · Making a searchpage
    · Other character sets
    · Indexing
  • Appendix
  • 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
    A sample HTML page with an Intraseek search function in English:

    {html}
    {head}{title}{intraseek_title lang=en}{/title}{/head}
    {body}

    {intraseek_form lang=en ids="homepages, products"}
    {intraseek_results lang=en}

    {/body}{/html>}

    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
    Make several profiles searchable from the same page:

    {intraseek_form lang=en ids="homepages,corporate,products"}
    {intraseek_results lang=en}

    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: Country, Code, Country, Code Danish, da, English, en Finnish, fi, French, fr German, de, Hungarian, hu Italian, it, Lithuanian, lt Norwegian, no, Portugese, pt Romanian, ro, Slovenian, sl Spanish, es, Swedish, se

    ¹)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
    Besides the lang= attribute, there are three other useful attributes: target=, action= and textcolor=. Target and action work within the {intraseek_form} and {intraseek_results} tag, while textcolor only works in {intraseek_results}. By defining target=, you can select the destination frame, in which to display the search results. If you specify action=, you can send the users to a different page where you can display the search results, and by using textcolor= you can change the text color of the search result web page summaries.

    The example below uses the "Target=" and "Textcolor=" attributes.

    {intraseek_form target="otherpage.html" default_id="homepages"} {intraseek_results textcolor="#400000"}

    Finally, there is a third optional attribute to {intraseek_results} called charset=, which is discussed in the next chapter.