>I am using htdig to search html files that have a same format. The
>beginning of all files is is a table that i want to display to the
>users when a match to the keywords is found. In other words, i
>want to replace the current output format of htserch to include
>the above tables.

The easiest way to do this is to insert the important info into a META
description tag:

<meta name="description" content="This is important info that should be
displayed as the results of the search.">

Then set "use_meta_description:" to true in your conf file and the
descriptions will be used instead of excerpts.

If you don't like this approach, I suggest adding another field to the
database and hacking HTML.cc to detect your table and put that into the
database (maybe with a non-standard tag). Look for the DocMetaDsc field for
an example.


-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/


----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.

Reply via email to