WebService::weblogUpdates - methods supported by the UserLand weblogUpdates framework.
use WebService::weblogUpdates;
my $weblogs = WebService::weblogUpdates->new(transport=>"SOAP",debug=>0); $weblogs->ping("Perlblog","http://www.nospum.net/perlblog");
# Since the 'rssUpdate' method has only been # documented for the XML-RPC transport, we switch # the internal widget.
$weblogs->Transport("XMLRPC"); $weblogs->rssUpdate("Aaronland","http://www.aaronland.net/weblog/rss");
This package implements methods supported by the UserLand weblogUpdates framework, for the weblogs.com website.
This package was originally named to reflect the class that the original ping method lives in, weblogUpdates.
Since then, other methods have been added that live in different classes or don't have any parent class at all. I have no idea why, especially since the equivalent serTalk methods live in a 'weblogUpdates' class themselves. [1]
So it goes.
new(%args)
Valid arguments are
String. Valid transports are SOAP and XMLRPC and REST. required
debugBoolean. Enable transport-specific debugging.
ping(\%args)
Ping the Userland servers and tell them your weblog has been updated.
Valid arguments are a hash reference whose keys are :
String. The name of your weblog. required
urlString. The URI of your weblog. required
changesurlString.
This key may be specified if
String.
Categories are not supported if the object's transport is REST.
Returns true or false. This means that, unlike the Userland server itself, a successful ping returns 1 and a failed ping returns 0.
rssUpdate(\%args)
Ping the Userland servers and tell them your RSS feed has been updated.
Valid arguments are a hash reference whose keys are :
String. The name of your weblog. required
urlString. The URI of your weblog. required
This method is not supported for the SOAP transport, although it will be as soon as it is documented by UserLand.
This method is not supported for the REST transport.
LastMessage()
Return the response message that was sent with your last method call.
Transport($transport,%args)
Set the transport for use with the package. Valid transports are SOAP, XMLRPC and REST. This field is required.
Valid arguments are
Boolean. Enable transport-specific debugging.
ping_message()
DEPRECATED Please use $pkg->LastMessage()
instead.
0.35
October 31, 2002
http://www.xmlrpc.com/weblogsComForRss
http://www.xmlrpc.com/discuss/msgReader$2014?mode=day
[1] http://www.xmlrpc.com/weblogsComForRss#changes103002ByDw
These packages are required in order to support the following transports :
One of the following :
Default
XMLRPC::Lite(part of SOAP::Lite)
This is optional, but required if you want this package to try and return a short and sweet message instead of raw HTML.
Copyright (c) 2001-2002, Aaron Straup Cope. All Rights Reserved.
This is free software, you may use it and distribute it under the same terms as Perl itself.