Gilles Detillieux (firstname.lastname@example.org)
Mon, 22 Feb 1999 16:36:12 -0600 (CST)
According to Kenny Nguyen:
> I have a question regarding about a cgi script, preferably in perl
> language, which interacts with htsearch program to produce an output layout
> rather than using the default header.html, footer.html, or nomatch.html.
> Can it be possible for htsearch to call a cgi script (perl) to get an
> output for header.html and footer.html respectively?
> The reason i want to have a dynamic header.html or footer.html output is to
> have different look for each searchrather than having the static look every
Hmmm. I'm a big fan of consistency myself, but this problem sounds
similar to the one discussed a bit more than a month ago, when a few
users wanted to insert dynamically generated banner adds on the search
What you can do is set up an htsearch script that sets one or a few
environment variables to the dynamic content you want to insert into
the search results pages, then call the real htsearch program to do
the actual search. Then, in your header.html & footer.html files
(or wrapper.html), and in nomatch.html and syntax.html, you can add
references to those variables to insert the dynamic content you want.
-- 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 containing the single word "unsubscribe" in the SUBJECT of the message.
This archive was generated by hypermail 2.0b3 on Fri Feb 26 1999 - 14:34:12 PST