> 1) Should I pull out the template from the __DATA__ section
> and place the template in a separate file -- or possibly a
> few template files so a site's layout/design can be more
> easily included? If the script runs under SpeedyCGI or
> mod_perl then the template needs be in a separate file.
Yes, I think it should be separated, makes conversion over to mod_perl
easier for people like me (who dont know Perl too well).
> Should those changes be included? Namely better highlight
> support and metaname selection?
Yes, just basic stuff, so people can see how to expand it if it needs more.
> So, see any reason why search.tt shouldn't be renamed to
> swish.tt? It could cause some grief for anyone using
> search.tt in the default install location, especially if
> search.tt was used for #1 above. But, I wonder if it won't
> cause more confusion for those trying to use search.cgi when
> first starting out.
I am for renaming it, it tripped me up as well.
Another item for the search.cgi script.
I had to modify my copy to do this.
If a search item is not found, then put a message on the screen, saying
(something like):
The search for: ".. your criteria here..." was not found.
Right now, you get the same screen back, so you are left trying to figure
out it if there is a problem in your script, and what the problem might have
been.
Dave
Received on Wed Jun 2 10:18:50 2004