Re: [htdig3-dev] restrict and exclude syntax


Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Fri, 26 Mar 1999 13:13:22 -0600 (CST)


According to Stankard, Michael L.:
> sorry if this is a stupid question but I can't find it in the documentation;
> If I want to use restrict (or exclude) to limit the results to several
> servers, what is the syntax?
> also, can I use wildcards?
> Could somebody post some examples...

You can either use one single restrict variable that contains all the
patterns separated by vertical bars (|), or you can use multiple restrict
variables, as you'd do for checkboxes. E.g.:

<br><dl><dt>Restrict to:</dt><dd>
<input type=checkbox name=restrict value="">Whole Web Site<br>
<input type=checkbox name=restrict value="http://www.scrc.umanitoba.ca/SCRC/">SCRC Web Pages<br>
<input type=checkbox name=restrict value="http://www.scrc.umanitoba.ca/Physiology/">Physiology Web Pages<br>
<input type=checkbox name=restrict value="http://www.scrc.umanitoba.ca/Physiology/gradbook/">Grad. Studies in Physiology<br>
<input type=checkbox name=restrict value="http://www.scrc.umanitoba.ca/wcsn/">WCSN Web Pages<br>
</dd></dl>

htsearch will combine multiple restrict variables into a single list,
separated by bars, and will pass it on this way to followup searches.

Ditto for exclude.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
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 htdig3-dev mailing list, send a message to
htdig3-dev@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Fri Mar 26 1999 - 11:35:25 PST