[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: MV 3.08 one-click search discrepancy
****** message to minivend-users from Frank Miedreich <miedreich@acm.org> ******
>****** message to minivend-users from Troy Babcock <tjb4@po.cwru.edu>
>******
>
>Hello minivend users. Can anyone tell me why these seemingly identical
>searches perform differently?
>
>[page scan se=Ted/se=Bundy/os=no/sf=mass_murderers]Ted Bundy[/page]
>
>works as anticipated, but:
>
>[page scan
> se=Ted
> se=Bundy
> os=no
> sf=mass_murderers
> ]Ted Bundy[/page]
>
>produces the browser error:
>
>couldn't open /home/sbmedia/Minivend/catalog_3/tmp/se=Ted se=Bundy os=no
>sf=mass_murders :1: No such file or directory
>
>and writes the following error to the error.log:
>
>Runtime error llegal modulus zero at
>/usr/local/etc/mvend/lib/Vend/Interpolate.pm line 2560.
>
>Ideally I would like to use the form:
>
>[page scan
> se="Ted Bundy"
> sf=mass_murderers
> ]Ted Bundy[/page]
>
>But that does not work either.
>
>I am using MV 3.08, perl 5.004 and Solaris.
>
>Might I need to upgrade minivend?
>
>Any help would be greatly appreciated.
>
You most definitely want to upgrade, and you will also want to read the
following part from the documentation:
[tag scan/options]encased text[/tag]
Builds a one-click search based on the enclosed text. Properly
translates whitespace and non-word characters to be parseable by
MiniVend. You can add the normal scan options, just the
se=searchtext parameter will be affected. These two sequences
evaluate the same:
[tag scan/sf=category]Renaissance[/tag]
[page scan sf=category/se=Renaissance]Renaissance[/page]
Where it is useful is in adding long strings that would otherwise be
difficult to encode, like
[tag scan/sf=author/os=yes]John F. Kennedy[/tag]
instead of:
[page scan sf=author/se=John%20F.%20Kennedy]John F. Kennedy[/page]
This might be a more convenient way for this particular problem.
The double se solution is simply wrong (any version), and I don't think the
multi line sort options were in 3.08.
In 3.08 the following might work:
[page scan se=Ted%20Bundy/os=no/sf=mass_murderers]Ted Bundy[/page]
Frank
--
Frank Miedreich
Max-Planck-Institut fuer psychologische Forschung
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list