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


Search-Sitemap documentation  | view source Contained in the Search-Sitemap distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

METHODS

Top

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

Top

Search::Sitemap

AUTHOR

Top

Jason Kohles, <email@jasonkohles.com>

COPYRIGHT AND LICENSE

Top


Search-Sitemap documentation  | view source Contained in the Search-Sitemap distribution.