| Net-Blogger documentation | Contained in the Net-Blogger distribution. |
Net::Blogger::Engine::Blogger - Pyra Blogger API engine
TBW
This package inherits Net::Blogger::Engine::Base and defines methods specific the the Pyra (blogger.com) XML-RPC server.
Instantiate a new Blogger Engine object.
Return the URI of the Blogger XML-RPC proxy
Return the maximum number of characters a single post may contain.
<quote src = "ev"> There are some blogs for which setTemplate will return a permission denied error. Newly created blogs will work. Sufficiently older blogs will work. A meanwhile work-around: edit the template through Blogger UI first. </quote>
1.0
$Date: 2005/03/26 19:29:08 $
Aaron Straup Cope
http://plant.blogger.com/api/
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 | Contained in the Net-Blogger distribution. |
{
package Net::Blogger::Engine::Blogger; use strict; use constant BLOGGER_PROXY => "http://plant.blogger.com/api/RPC2"; use constant MAX_POSTLENGTH => 65536; $Net::Blogger::Engine::Blogger::VERSION = '1.0'; @Net::Blogger::Engine::Blogger::ISA = qw ( Exporter Net::Blogger::Engine::Base ); @Net::Blogger::Engine::Blogger::EXPORT = qw (); @Net::Blogger::Engine::Blogger::EXPORT_OK = qw (); use Exporter; use Net::Blogger::Engine::Base; sub new { my $pkg = shift; my $self = {}; bless $self,$pkg; if (! $self->SUPER::init(@_)) { return 0; } return $self; }
sub Proxy { my $self = shift; return $self->SUPER::Proxy(@_) || BLOGGER_PROXY; }
sub MaxPostLength { return MAX_POSTLENGTH; } sub DESTROY { return 1; }
return 1; }