Kazuhiro Sera > XMLRPC-Lite-UpdatePing-0.06 > XMLRPC::Lite::UpdatePing

Download:
XMLRPC-Lite-UpdatePing-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.06   Source  

NAME ^

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

SYNOPSIS ^

  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 ^

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 ^

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 ^

XMLRPC::Lite

SEE ALSO ^

XMLRPC::Lite

AUTHOR ^

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

COPYRIGHT AND LICENSE ^

Copyright (C) 2008 by Kazuhiro Sera

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.