According to Gilles Detillieux
> 
> 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.
>

I actually have the use_meta_description (not plural!) set to true. When
I read your message, I thought, "Oh how simple!" then I checked and
found out that it was already singular (not plural.)

I added the "excerpt_show_top: yes" and "no_excerpt_show_top: yes" lines
so now I can get the page to show the top, but still no descriptions.

I went so far as to use SSI in addition to using the htdig-noindex tags
in my html to keep the text in my menu lists from showing up.

I posted a copy of my conf file at...
   http://www.atlantakinkos.com/htdig_conf.html
..so you can check it out. It seems as though I'm following all the
instructions, but I'm just not getting it right.

I tried an experiment.  I recreated the meta description inside the body
of the page really small and in the same color as the background. This
way the show top shows the description. Unfortunately, it also shows the
text following it. I could decrease the length, but unless I make all of
my descriptions the same length, that wouldn't help much.

It's better than nothing.

--
Chuck Bradley
Kinko's, Atlanta
Remote Document Center

----------
------------------------------------
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