Re: [htdig] text highlight in linked document


Geoff Hutchison (ghutchis@wso.williams.edu)
Mon, 19 Jul 1999 12:53:34 -0400


Cam Proctor wrote:
> this may be simple to any of you who have been using htdig for a long
> time. but i'm looking for a way to highlight the search phrases (i.e. the
> $(WORDS) ) in the pages that come back.

If you're just serving up static HTML from your results, you can't. The
search CGI would somehow have to modify the static files on your server
based on the search.

If you're serving dynamic content, you could pass $(WORDS) to the
CGI/Perl/PHP/Whatever and have that code take care of the highlighting.

-- 
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Mon Jul 19 1999 - 09:12:18 PDT