Skip to main content.
home | support | download

Back to List Archive

Re: newbie spider question

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Sun Mar 27 2005 - 00:57:07 GMT
On Sat, Mar 26, 2005 at 01:15:01PM -0800, john.hargreaves wrote:
> Something that is really not clear for me from the documentation is how to 
> restrict the spider to a subdirectory.
> 
> For example if my configuration file is
> 
> IndexDir spider.pl
> SwishProgParameters default http://mysite.com/subdirectory
> 
> Swish will index all of http://mysite.com !
> How can I get it to restrict the search to the subdirectory?

Did you look at the test_url callback function in the docs?

  http://swish-e.org/docs/spider.html#callback_functions

-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Sat Mar 26 16:57:11 2005