Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] spider.pl, how not to spider file access protocol?

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Fri Nov 02 2007 - 15:52:20 GMT
On Fri, Nov 02, 2007 at 11:35:11AM +0100, Erik van Duren wrote:
>     test_url    => sub { $_[0]->canonical !~ /file:\/\//i },
> Without result however:

I didn't test this but I'd probably use:

    sub { $_[0]->scheme != 'file' }

But test to make sure that $_[0]->scheme returns "file".

-- 
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

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Fri Nov 2 11:52:20 2007