|
From: Jonathan S. <gel...@ge...> - 2002-03-03 22:02:12
|
On Thu, 28 Feb 2002, Gianluca Sforna wrote:
> This a diff output against revision 1.22; please be aware that I removed
> config lines (of course they are different) from the output.
> I can supply the whole modified script, if it could be of any help, and/or
> explanations (not likely to be necessary since my changes are almost
> trivial) about its new features.
>
I have applied the spirit of these changes and have updated the README.
> I would even add a $emulate_matt_code switch but, as stated in the previous
> mail to the mailing list, I never used Matt's search so I should first study
> his work.
>
I have put the code in that guards the changes with $emulate_matts_code.
I want to put an example in the search.html and there is a tiny change I
would like to make to the code to stop someone submitting 100000000 in
document and extending the array by that much.
>
> Only a question: why using only this mailing list and not the sourceforge
> forum section?? i think it is friendlier to users and easier to follow.
>
For myself I prefer mailling lists because I can read and reply to them on
the train, a good mail client helps make things easier to follow.
> Regards
>
> Giallu
>
> ------DIFF--------
>
> 121a114
> > my @subdirs = ('','/manual','/vmanual');
> 194,196c178,181
> < my $case = param("case") ? param("case") : "Insensitive";
> < my $bool = param("boolean") ? param("boolean") : "OR";
> < my $terms = param("terms") ? param("terms") : "";
> ---
> > my $case = param("case") ? param("case") : "Insensitive";
> > my $bool = param("boolean") ? param("boolean") : "OR";
> > my $terms = param("terms") ? param("terms") : "";
> > my $seldir = param("directory") ? @subdirs[param("directory")] : "";
> 215c200
> < $startdir = $basedir;
> ---
> > $startdir = "$basedir$seldir";
> 256c241
> < return if ($File::Find::dir eq $blocked)
> ---
> > return if ($File::Find::dir =~ /$blocked/)
>
>
> ----END_DIFF------
>
>
> Jonathan Stowe said:
>
> >
> > This stuff looks like it will be useful but I would like to see the
> > patches so we can protect the naive user from any unsuspected changes,
> > we tend to guard behaviour that is dissimilar to the MSA script with an
> > $emulate_matts_code switch ... I am sure that Dave will set you up as
> > a developer on the project if you want to contribute some code ...
> >
>
>
> ---------------------------------------------
> Dr. Gianluca Sforna - Lab. for Chemometrics
> Dep. of Chemistry - University of Perugia
> via Elce di Sotto 10, 06123 Perugia - ITALY
> ---------------------------------------------
>
>
--
Jonathan Stowe |
<http://www.gellyfish.com> | This space for rent
|
|