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
Net::PubSubHubbub::Publisher(3) User Contributed Perl Documentation Net::PubSubHubbub::Publisher(3)
 

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"(hub => $hub[, ua => $ua])
Takes a required hub URL, and an optional LWP::UserAgent instance.

"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.

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
2009-04-26 perl v5.28.1

Search for    or go to Top of page |  Section 3 |  Main Index

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