Ok, ive been experimenting with the callback functions. I'm a bit confused
as to what i can do through them?
I'd just like to know if there is anyway i could write to a database with
two fields:
indexing_result | indexing_error
and if the indexing is successfuly i can just write TRUE to the database, if
the indexing is not successfull then i would like to write FALSE to the
database and write the error that meant indexing failed.
I've been trying to pipe out STDERR and have been trying to create an
indexing API, just wondering if the problem above can be solved through
callback functions? Is it possible to write out the DEBUG info to a database
through a callback function?
sorry for all the questions!!
andy
>From: Bill Moseley <moseley@hank.org>
>Reply-To: moseley@hank.org
>To: Multiple recipients of list <swish-e@sunsite3.berkeley.edu>
>Subject: [SWISH-E] Re: Callback Functions For Indexing
>Date: Fri, 27 Jan 2006 10:23:41 -0800 (PST)
>
>On Fri, Jan 27, 2006 at 09:44:44AM -0800, andy rosbrook wrote:
> > Well i just want to know after each URL in spider.config weather the
> > spidering was a success or a failure. I know i could just check for a
> > complete index.swish-e but this doesnt allow me to capture any error
> > messages.
>
>use test_response callback in your config. That's called right after
>the HEAD or GET request has returned (and sometimes before all the
>data has be fetched from the remote server).
>
>--
>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
>
_________________________________________________________________
Are you using the latest version of MSN Messenger? Download MSN Messenger
7.5 today! http://messenger.msn.co.uk
Received on Sun Feb 5 08:44:11 2006