| Net-Blogger documentation | view source | Contained in the Net-Blogger distribution. |
Net::Blogger::Engine::Base - base class for Blogger API engines
package Net::Blogger::Engine::SuperFly;
use vars qw ( @ISA );
@ISA = qw ( Net::Blogger::Engine::Base );
use Net::Blogger::Engine::Base;
sub new {
my $pkg = shift;
my $self = {};
bless $self,$pkg;
$self->SUPER::init(@_);
return $self;
}
Base.pm is used a base class by implementation specific modules for the Blogger API.
If an implementation follows the Blogger API to the letter then, conceivably, all it's package would need to define is a constructor and Proxy method to define the URI of it's XML-RPC server.
Base.pm inherits the functionality of Net::Blogger::Base::API and Net::Blogger::Base::Ext and defines private methods used by each.
Instantiate a new Blogger object.
Valid arguments are :
Releases prior to Net::Blogger 0.85 accepted a list of arguments rather than a reference. Version 0.85+ are backwards compatible.
Returns an object. Woot!
Initializes the option values
There are no public methods. See Net::Blogger::Base::API and Net::Blogger::Base::Ext.
Get/set the URI of the Blogger API server.
Get/set the magic appkey
Get/set the blogid
Get/set the username
Get/set the password
Return the maximum number of characters a single post may contain.
Fetch the last recorded error message.
Returns a string.
Just returns XMLRPC by default
1.0
$Date: 2005/03/26 19:29:08 $
Aaron Straup Cope
Copyright (c) 2001-2005 Aaron Straup Cope.
This is free software, you may use it and distribute it under the same terms as Perl itself.
| Net-Blogger documentation | view source | Contained in the Net-Blogger distribution. |