According to Shantonu Sen:
> i think the syntax on your hidden field is a little off, which is why
> htsearch isnt recognizing the field. to make something hidden, use the
> following code:
>
> <input type="hidden" name="exclude" value="this">
>
> as for excluding multiple things, you might try the above syntax and use,
> as you said, a pipe so it looks like 'value="this|that"'
Yes, this should work with earlier versions of htsearch, as well as current
versions.
> however, i have had good look by simply putting two hidden exclude fields:
> <input type="hidden" name="exclude" value="this">
> <input type="hidden" name="exclude" value="that">
>
> which might work fine too.
I believe this works correctly only since version 3.1.0b4, so the old
version which Fran�ois is running won't handle this form correctly. He
should either upgrade to 3.1.1 or later (preferable), or stick to the
value="this|that" form for multiple restrict or exclude patterns.
Note, though, that an exclude of "this|that" will exclude any URLs with
"this" or "that" ANYWHERE in the URL. As Fran�ois complains that he's
no longer getting results, it may be that his values for "this" and/or
"that" are not restrictive enough. E.g., if you want to exclude
http://www.my.domain/this/*
but not
http://www.my.domain/other/files/withthis.html or
http://www.thisdomain/stuff
then you should use a value of "http://www.my.domain/this" in your exclude
parameter, and not just value="this".
> On Mon, 12 Apr 1999, Francois Sauterey wrote:
> > I Apology, the answer was probably wrote many time here... (and for my so
> > bad english)
> > My htdig is a 3.0.8b2 version.
> > I've indexed the full tree of my site like http://www.my.domain : All works
> > fine.
> > But I want, IN SOME FORMS, to excluce http://www.my.domain/this, I put an
> > hidden field <"name="exclude" value="this"> ... I've no more answer.
> > So, how to do this work ?
> > I also want some other time to exclude this AND that so <value="this|that">
> > is the right syntax ?
> > @micalement,
> >
> >
> > "Quelle connerie la guerre" J. Pr�vert
> >
> > --
> > Francois Sauterey Home: +33 (0) 1 40 33 68 46
> > email mailto:[EMAIL PROTECTED]
> > to get my PGP KEY: send me a mail with Subject: send pgp key
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.