XMLRPC::Lite::UpdatePing - send update ping easily with XMLRPC::Lite
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);
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
my $client = XMLRPC::Lite::UpdatePing->new();
Create and return a new XMLRPC::Lite::UpdatePing object.
$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.
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.
my $result = $client->ping($your_rssfeeds);
Send update ping requests to the ping servers and return a result string.
XMLRPC::Lite
Kazuhiro Sera, <webmaster@seratch.ath.cx>
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.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install XMLRPC::Lite::UpdatePing, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XMLRPC::Lite::UpdatePing
CPAN shell
perl -MCPAN -e shell install XMLRPC::Lite::UpdatePing
For more information on module installation, please visit the detailed CPAN module installation guide.