Re: htdig: 'exclude' and 'restrict'


Geoff Hutchison (Geoffrey.R.Hutchison@williams.edu)
Mon, 23 Nov 1998 20:34:41 -0500


At 7:09 PM -0500 11/23/98, William Rhee wrote:
>---snip---
>Limit the search to any of the following collections (click one or many):
...
><input type=radio name=restrict value=http://someplace.org/calendar/>
>---snip---

You can't select more than one with <input type="radio">. Try checkboxes...

>When htsearch receives the multiple 'restrict' values from the form it
>would be nice if it could take all the values and join them with a pipe
>character ('|') to create the pattern to check against.

>The way that htsearch seems to work now, it doesn't consider multiple
>values when trying to build exclude/restrict patterns. It would be a nice
>feature for a new release :-)

This should work. If you try something like restrict value="one|two|three"
it works. And I think it should be compatible with <select multple> forms
too. If it's not, tell me what the URLs look like and I can fix it.

-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:28:51 PST