On Thu, 31 May 2001, Bill Moseley wrote:
> Yes. There will be an example CGI script in the source distribution
> that will provide some form of term highlighting, and context output
> (showing a few words on either side of the matched term(s)).
> Don't get too excited, as there are some open issues.
A suggestion for the script: Instead of just using SWISH-E's
StoreDescription feature, how about allowing a user-defined function to be
provided that takes the matched document name as the input, and returns
the contents of the document (converted to plain text if necessary) to the
script, which then hilights the right places?
This way, people can use your example script no matter how the original
document is stored (text file, Berkeley DB, MySQL, etc.).
-Philip Mak (email@example.com)
Received on Thu May 31 13:32:05 2001