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 :
appkey
String. The magic appkey for connecting to the Blogger XMLRPC server.
blogid
String. The unique ID that Blogger uses for your weblog
username
String. A valid username for blogid
password
String. A valid password for the username/blogid pair.
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
Net::Blogger::API::Core
Net::Blogger::API::Extended
SOAP::Lite
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.
To install Net::Blogger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Blogger
CPAN shell
perl -MCPAN -e shell install Net::Blogger
For more information on module installation, please visit the detailed CPAN module installation guide.