According to [EMAIL PROTECTED]:
> Can anyone tell me how HtDig is supposed to use the keywords that it finds
> in the Meta tags of a document.
> I was under the impression that HtSearch would return a document even if the
> only match for the search term was found in a Meta tag ie not in the body
> text, but on our site it doesn't seem to be doing this. Have I got the
> config wrong, or have I misunderstood how meta tags work.

The accepted forms of meta keywords tags that htdig recongizes are:

  <meta keywords="words">
  <meta htdig-keywords="words">
  <meta name="keywords" content="words">
  <meta name="htdig-keywords" content="words">

The last two forms are controlled by the keywords_meta_tag_names
attribute, so any names listed there are allowed in this way.  The default
ones are keywords and htdig-keywords.  The first two forms above are
not configurable.

As long as your documents are using one of these forms of the tag, and
you haven't set max_keywords to 0, keywords should behave as you expect.
If they don't, try running htdig with at least four -v options to see
what words are being indexed for a given document.

Meta description tags are also indexed, but only to the maximum length
allowed by max_meta_description_length (512 by default).

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to