punch_card_don has asked for the wisdom of the Perl Monks concerning the following question:
My in-house search engine returns result links like this:
http://www.mydomain.com/cgi-bin/my_highlighter_script.pl?url=url_to_retrieved_file/file_name.htm&keyword=my_keyword
my_highlighter_script.pl gets the file, scans it for the keyword, and inserts markup to highlight the word, and outputs the file line by line. Works like a charm for html files.
But - now I have some shtml files to deal with. Clearly, having my_highlighter_script.pl output the file line by line is going to circumvent the SSI.
How can I dynamically alter the contents of an shtml file and still get the SSI functionality?
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dynamically alter shtml file
by linuxer (Curate) on Apr 04, 2009 at 15:53 UTC | |
by punch_card_don (Curate) on Apr 04, 2009 at 16:19 UTC | |
by punch_card_don (Curate) on Apr 04, 2009 at 17:41 UTC | |
by Anonymous Monk on Apr 04, 2009 at 16:27 UTC |