Subject: Re: [htdig] Want BOTH meta description and context excerpt
From: Gilles Detillieux (firstname.lastname@example.org)
Date: Tue Oct 17 2000 - 10:56:47 PDT
According to GregHolmes@aol.com:
> 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
> This is a description.
> ...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
-- Gilles R. Detillieux E-mail: <email@example.com> 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 firstname.lastname@example.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 : Tue Oct 17 2000 - 11:01:57 PDT