Thanks Bill and OK.
I am now using spider.pl and I did this test with this outcome.
[admin@swish swishindexes]$ spider.pl default
http://username:password@hostname.xiotech.com/default.nsf | swish-e -S prog
-i stdin
Indexing Data Source: "External-Program"
Indexing "stdin"
/usr/local/bin/spider.pl: Reading parameters from 'default'
http://hostname.xiotech.com/global2.nsf/web%20search%20simple?OpenForm !=
(text/html text/plain)
Warning: Unknown header line: 'HTML>' from program stdin
Warning: Unknown header line: 'HTML>' from program stdin
Need Authentication for http://inside.xiotech.com/names.nsf at realm '/'
(<Enter> skips)
Don't know what it means. Especially !=(text/html text/plain). Does !=
mean "not equal"?
Thanks.
Tom
"From Bill"
Try using the spider.pl program instead to spider your site.
There's a number of different ways to set it up. A quick test might be
something like (assuming spider.pl is in the current directory and swish-e
is in your path)
./spider.pl default http://hostname.xiotech.com | \
swish-e -S prog -i stdin
and it should ask you for a password when needed.
The above command is piping the output from spider.pl to swish. I assume
you are running unix of some type.
>
> Tom
>
> > -----Original Message-----
> > From: Bill Moseley [mailto:moseley@hank.org]
> > Sent: Monday, February 03, 2003 8:45 AM
> > To: Multiple recipients of list
> > Subject: [SWISH-E] Re: Swish-e and Lotus Notes Domino server
> >
> >
> > On Mon, 3 Feb 2003, Krueger, Tom wrote:
> >
> > > Has anyone ever gotten Swish-e to work with a Lotus Notes
> > Domino server? It
> > > does not use normal URLs but rather what looks like
> > database queries such
> > > as:
> > >
> > >
> > http://xyz.xiotech.com/salestools.nsf/ByCategory?OpenView&CollapseView
> > >
> > > I can get swish-e to work with a URL ending in .nsf but
> > nothing after that
> > > is spidered. I get the error:
> > >
> > > Wrong method or server
> >
> > $ fgrep 'Wrong method or server' *.c
> > http.c: printf("Skipping %s: %s\n", url, "Wrong
> > method or server.");
> >
> > It prints that when it thinks that the method or server name
> > is not the
> > same as your initial base URL. That's to limit spidering to
> > one server.
> > Is it showing a different host name that the one you are
> > passing to swish
> > with -i or IndexDir?
> >
> >
> >
> >
> > --
> > Bill Moseley moseley@hank.org
> >
>
--
Bill Moseley moseley@hank.org
Received on Tue Feb 4 18:26:44 2003