Skip to main content.
home | support | download

Back to List Archive

Possible bug in spider.pl

From: Adam Edelman <aedelma(at)not-real.tulane.edu>
Date: Thu Feb 28 2002 - 18:05:30 GMT
I've been using spider.pl from swish-e-2.1-dev-25-2002-02-12 and noticed
that the subroutine I defined under filter_content was never getting called.
Taking a look at the spider code I found the following:

    } else {
        return $links_extracted unless check_user_function( 'content', $uri,
$server, $response, \$content );

I changed this to:

    } else {
        return $links_extracted unless check_user_function(
'filter_content', $uri, $server, $response, \$content );

and now the subroutine is called.  Incidentally, I found the same problem in
swish-e-2.1-dev-25-2002-02-26.  Thanks.

Adam Edelman
Received on Thu Feb 28 18:15:42 2002