According to [EMAIL PROTECTED]:
> What I meant by "if-then stuff" in the results is:
> 
> I would like to have some kind of header for the meta description and another 
> for the excerpt.  But ... I only want the meta description header to appear 
> if there is a meta description.
> 
> RESULT TITLE
>    <b>Description</b>
>    This is a description.
>    <b>Excerpt</b>
>    ...some text where the word is found ...
> 
> I guess I'll have to look into php or some such thing.  If the new meta 
> description variable is empty I want the <b>Description</b> part omitted.

Yeah, it would either take something like a PHP wrapper to do this, or
more customization of the htsearch code, e.g. to insert this string
into the METADESCRIPTION variable when there is a meta description,
or to set a separate template variable in that case (probably a more
useful approach).

-- 
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 htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.
List archives:  <http://www.htdig.org/mail/menu.html>
FAQ:            <http://www.htdig.org/FAQ.html>

Reply via email to