GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::PUBSUBHUBBUB::PUBLISHER (3)

.ds Aq ’

NAME

Net::PubSubHubbub::Publisher - client library to ping a PubSubHubbub hub

CONTENTS

OVERVIEW



  my $pub = Net::PubSubHubbub::Publisher->new(hub => $hub);
  $pub->publish_update($atom_topic_url) or
      die "Ping failed: " . $pub->last_response->status_line;



CONSTRUCTOR

new(hub => $hub[, ua => $ua]) Takes a required hub URL, and an optional LWP::UserAgent instance.

METHODS

publish_update($topic_url)
publish_update(@topic_urls) 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.

COPYRIGHT & LICENSE

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.

WARRANTY

This is free software. IT COMES WITHOUT WARRANTY OF ANY KIND.

AUTHOR

Brad Fitzpatrick <brad@danga.com>

SEE ALSO

<http://code.google.com/p/pubsubhubbub/> — PubSubHubbub home
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::PUBSUBHUBBUB::PUBLISHER (3) 2009-04-26

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.