Re: [htdig] customizing footer.html


Subject: Re: [htdig] customizing footer.html
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Thu Sep 28 2000 - 12:31:03 PDT


According to Piera Bettini:
> On Wed, 27 Sep 2000, Geoff Hutchison wrote:
> > At 1:07 PM +0200 9/27/00, Piera Bettini wrote:
> > >I know that the variable TITLE contains <Subject_of_the_message>;
> > >which variable contains <From_field_value>?
> >
> > That depends on what your documents look like. My guess is that this
> > would be in the $(EXCERPT). Of course you'll probably want to set
> > excerpt_show_top from the way you describe it.
> >
> $(EXCERPT) shows me too much. For example, if a message I sent is found,
> I want to show the line:
> From: Piera.Bettini@caspur.it
> that is only a part of $(EXCERPT).
> Is it possible to obtain this?

Not without either customizing htdig to look specifically for that line
and storing it specifically in some field for htsearch, and customizing
htsearch to grab and display that field, or else perhaps just customizing
htsearch to find that line in the excerpt and starting the excerpt
display at that point.

The ht://Dig package was designed for general HTML file indexing, and
isn't geared specifically for mail archives, so it may not do exactly
what you want without a bit (or a lot) of hacking.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
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 htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this. List archives: <http://www.htdig.org/mail/menu.html> FAQ: <http://www.htdig.org/FAQ.html>



This archive was generated by hypermail 2b28 : Thu Sep 28 2000 - 12:34:37 PDT