On 26 Jan 01, at 15:46, Ronald Edward Petty wrote:

> if u have a file that is in both exclude and restricted, will it show? ex.
> http://www.asdf.com/asdf  is the exclude http://www.asdf.com/asdf/fdsa is
> the restricted...

In this case, the first one (since it is one level up from the 
second).  What you need to do is something like this:

Say you have two directory trees of files under the same root, such 
as:

http://www.asdf.com/reports/asdf/foo
                                /bar
...
http://www.asdf.com/reports/fdsa/foo
                                /bar
...
and so on.  Or maybe you just have the two (or more) top-level 
directories to separate different topics (or whatever).  The 
restrict and exclude parameters could be used to provide more 
granular selection of where to search for certain things by 
restricting the search to a specific subset.  You can also split 
things into multiple databases as well.  In the specific example 
above, you may need to use multiple search forms, each with its own 
set of exclude/restrict settings.  In my experience thus far, the 
directory trees above can only go two levels deep for a single 
search form, because you only have the two parameters to work with 
(ie, restrict and exclude).  If someone has a creative solution to 
this, I'd love to hear it.

For example, how did they do the custom search form at SDSU (the 
one to search the course catalog):

http://www.sdsu.edu/cgi-bin/schedule/command=search_form

Do they use a custom version of the htdig code, or is it a 
completely different piece of software?  That's a nice detailed 
search form, and it would be really cool to be to use something 
like that...

Steve


_______________________________________________
htdig-general mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to