NAME

SWISH::Prog::Spider - crawl a website with an iterator

SYNOPSIS

use SWISH::Prog;
my $indexer = SWISH::Prog->new;
my $spider  = $indexer->spider(
                    'root'   => 'http://swish-e.org/',
                    'config' => \%spider_config
                    
                    );
# $spider is a SWISH::Prog::Spider object

until($spider->done)
{
    my $doc = $indexer->fetch($spider->next);
    $indexer->index( $doc ) if $indexer->ok( $doc );
}

DESCRIPTION

SWISH::Prog::Spider crawls a website using an iterator.

THIS MODULE IS NOT YET IMPLEMENTED.

METHODS

new( args )

# TODO

REQUIREMENTS

# TODO

SEE ALSO

http://swish-e.org/docs/

SWISH::Prog,

AUTHOR

Peter Karman, <perl@peknet.com>

COPYRIGHT AND LICENSE

Copyright 2006 by Peter Karman

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.