On Wed, May 03, 2006 at 07:42:02AM -0700, Ted Smith wrote:
> # Example for spidering
> # Use the "spider.pl" program included with Swish-e
> IndexDir spider.pl
I have not used windows is so long I'm not sure I can remember. But,
does Windows know how to run spider.pl? Or would you need to tell
Windows the IndexDir is perl.exe and the program parameters are
> The first thing I realized is that spider.pl is actually called
> spider.pl.in by default. I had to rename it to spider.pl. I assume that
> is correct? Until I did that it just couldn't find the file at all.
No, that should not be correct. the .in file is the template that is
modified upon installation with updated paths.
> After renaming it, when I run the following command :
> swish-e -S prog -c swishe.conf
> I get the following error :
> Indexing Data Source: "External-Program"
> Indexing "spider.pl"
> External Program found: C:\Program Files\SWISH-E\lib\swish-e/spider.pl
> 'C:\Program' is not recognized as an internal or external command,
> operable program or batch file.
I think you want to use forward slashes everywhere. Or maybe double
backslashes. I think forward slashes work for internal calls, but
not for anything that might pass through the "shell".
Unsubscribe from or help with the swish-e list:
Help with Swish-e:
Received on Wed May 3 07:51:31 2006