According to Torsten Neuer:
> According to Chuck Bradley:
> >I don't know if I'm sending this to the right place, so please let me 
> >know if I'm bothering you.
> >
> >I have a small intranet for Kinko's in Atlanta and I'm using htdig. The
> >problem is that I can't get the results to return the meta descriptions.
> >All I get is the contextual excerpts, which are annoying. I've tried
> >adding the "use_meta_descriptions: true" line to my configuration file,
> >but it doesn't seem to help. I even tried using the noindex tag in my
> >html to block off some of the unwanted stuff, but it has no effect
> >either. Do I need to do something to the script to tell it that the
> >configuration file has been updated? I know nothing about CGI, except
> >that it exists and that it makes stuff like this happen.
> 
> It uses the descriptions, but is doesn't display them.

No, that's not right.  If use_meta_description (not plural!) is true, and
the document has a meta description, and it's not truncated to nothing by
a 0 in max_meta_description_length, then it will display the meta description
instead of the contextual excerpt.

> When htsearch finds a matching document it either shows the top lines
> of the document ("excerpt_show_top: true") or tries to get an excerpt
> for the matching words from within the document and displays that.
> In case no excerpt can be made, htsearch will just display a default
> message that can be configured ("no_excerpt_text: ...") or display
> the top of the document ("no_excerpt_show_top: true").
> 
> Maybe it would be a nice idea to have instead displayed the meta
> descriptions?  I suggest "no_excerpt_show: [top|text|description]".
> This would make "no_excerpt_show_top" a deprecated tag, but could
> still be used and will then overwrite the setting of "no_excerpt_show".
> Any comments? Ideas?

The upcoming 3.1.2 release will feature a patch by Gabriele, which will
ensure that meta descriptions will always be shown from the beginning,
rather that part-way in if a search word matches a word part-way into
the meta description.  I think this will suit the tastes of most users,
so I don't really see the need to change the existing excerpt options.

Chuck, just take the extra "s" off your use_meta_description configuration
line and you should be off to the races.

-- 
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
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to