Net::PubSubHubbub::Publisher - client library to ping a PubSubHubbub hub
my $pub = Net::PubSubHubbub::Publisher->new(hub => $hub); $pub->publish_update($atom_topic_url) or die "Ping failed: " . $pub->last_response->status_line;
new
Takes a required hub URL, and an optional LWP::UserAgent instance.
publish_update
Sends a ping that the provided Topic URL(s) has/have been updated.
Returns true on success. If false, see last_response to figure out why it failed.
last_response
Returns the last HTTP::Response. Use this when publish_update fails to discover why it failed.
This module is Copyright (c) 2009 Brad Fitzpatrick. All rights reserved.
You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.
This is free software. IT COMES WITHOUT WARRANTY OF ANY KIND.
Brad Fitzpatrick <brad@danga.com>
http://code.google.com/p/pubsubhubbub/ -- PubSubHubbub home
To install Net::PubSubHubbub::Publisher, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::PubSubHubbub::Publisher
CPAN shell
perl -MCPAN -e shell install Net::PubSubHubbub::Publisher
For more information on module installation, please visit the detailed CPAN module installation guide.