XMLRPC::Lite::UpdatePing - send update ping easily with XMLRPC::Lite


XMLRPC-Lite-UpdatePing documentation  | view source Contained in the XMLRPC-Lite-UpdatePing distribution.

Index


NAME

Top

XMLRPC::Lite::UpdatePing - send update ping easily with XMLRPC::Lite

SYNOPSIS

Top

  use XMLRPC::Lite::UpdatePing;

  my $your_rssfeeds = ( 'example1' => 'http://example.com/rss.xml',
                        'example2' => 'http://example.com/rss2', );

  my $client = XMLRPC::Lite::UpdatePing->new();
  my $result = $client->add_ping_server('http://rpc.reader.livedoor.com/ping')
                      ->ping($your_rssfeeds);

DESCRIPTION

Top

XMLRPC::Lite::UpdatePing is a Perl modules that you can send update-ping to ping servers so easily.

You can send update ping to the following ping servers by default.

  http://blogsearch.google.com/ping/RPC2
  http://www.blogpeople.net/servlet/weblogUpdates
  http://rpc.technorati.com/rpc/ping

METHODS

Top

new()
  my $client = XMLRPC::Lite::UpdatePing->new();

Create and return a new XMLRPC::Lite::UpdatePing object.

add_ping_server($url)
  $client->add_ping_server('http://api.my.yahoo.com/RPC2');

Add a new ping server to the list of target ping servers and return self object.

setup_ping_servers(\@url)
  my $ping_servers = [ 'http://api.my.yahoo.com/RPC2',
                       'http://rpc.reader.livedoor.com/ping',
                       'http://r.hatena.ne.jp/rpc',  ];

  $client->setup_ping_servers($ping_servers);

Set a new list of ping servers instead of the default list and return self object.

ping(\%feed_url)
  my $result = $client->ping($your_rssfeeds);

Send update ping requests to the ping servers and return a result string.

DEPENDENCIES

Top

XMLRPC::Lite

SEE ALSO

Top

XMLRPC::Lite

AUTHOR

Top

Kazuhiro Sera, <webmaster@seratch.ath.cx>

COPYRIGHT AND LICENSE

Top


XMLRPC-Lite-UpdatePing documentation  | view source Contained in the XMLRPC-Lite-UpdatePing distribution.