Skip to main content.
home | support | download

Back to List Archive

Swish.config question regarding ExtractPath

From: Jody Cleveland <Cleveland(at)not-real.winnefox.org>
Date: Fri Apr 02 2004 - 15:04:59 GMT
Hello,

I just setup swish-e 2.4.2 on a redhat 3 es server. I'm setting up
swish-e to spider sites I have on windows boxes. I've got one:
http://www.oshkoshpubliclibrary.org/citydirs/

That I want to spider. When I put that url in for SwishProgParameters,
it ends up indexing not only the citydirs directory, but also
directories above that in the tree. I'd like it to stick with citydirs,
and it's subfolders.

I was looking at the config documentation, and came across ExtractPath.
Is this what I should use to do that? I tried this syntax, but it
didn't' work:
ExtractPath citydirs regex !^/citydirs/([^/]+)/.*$!$1!

Or, is it something else all together?

--
Jody Cleveland
Computer Support Specialist
cleveland@winnefox.org
Received on Fri Apr 2 07:05:00 2004