NAME

Search::Sitemap::Pinger - Notify a specific search engines of sitemap updates

SYNOPSIS

This package and it's subclasses are for internal use. The public interface to them is Search::Sitemap::Ping.

METHODS

ALL_PINGERS

Called as a class method (usually as Search::Sitemap::Pinger-ALL_PINGERS>) returns a list of all the installed subclasses of Search::Sitemap::Pinger.

new

Create a new Search::Sitemap::Pinger object.

submit( [ $callback ], @urls );

Submit the urls to the search engine. If the first argument is a code reference, it will be used as a callback after each attempted URL submission. The callback code reference will be passed either the word 'success' or the word 'failure', followed by the url that was attempted, followed by either the HTML content that accompanied a success or the HTTP error message that accompanied a failure.

SEE ALSO

Search::Sitemap

AUTHOR

Jason Kohles, <email@jasonkohles.com>

COPYRIGHT AND LICENSE

Copyright (C) 2005-2009 by Jason Kohles

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