Aaron Straup Cope > Net-Blogger-0.8.1 > Net::Blogger::API::Extended

Download:
Net-Blogger-0.8.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  2
View Bugs
Report a bug
Module Version: 0.1.3   Source   Latest Release: Net-Blogger-1.02

NAME ^

Net::Blogger::API::Extended - provides helper methods not defined in the Blogger API.

SYNOPSIS ^

 TBW

DESCRIPTION ^

This package is inherited by Net::Blogger::Engine::Base and provides helper methods not defined in the Blogger API.

PUBLIC METHODS ^

$pkg->MaxPostLength()

$pkg->GetBlogId(%args)

Return the unique blogid for $args{'blogname'}.

Valid arguments are

Returns a string. If no blogname is specified, the current blogid for the object is returned.

$pkg->DeleteAllPosts(%args)

TBW

$pkg->PostFromFile(%args)

Open a filehandle, and while true, post to Blogger. If the length of the amount read from the file exceeds the per-post limit assigned by the Blogger servers -- currently 65,536 characters -- the contents of the file will be posted in multiple "chunks".

Valid arguments are

If a postid argument is present, the method will call the Blogger API editPost method with postid. Otherwise the method will call the Blogger API newPost method.

Returns true or false, followed by an array of zero, or more, postids.

$pkg->PostFromOutline(%args)

Like PostFromFile, only this time the file is an outliner document.

This method uses Simon Kittle's Text::Outline::asRenderedHTML method for posting. As of this writing, the Text::Outline package has not been uploaded to the CPAN. See below for a link to the homepage/source.

Valid outline formats are OPML, tabbed text outline, Emacs' outline-mode format, and the GNOME Think format.

Valid arguments are

If a postid argument is present, the method will call the Blogger API editPost method with postid. Otherwise the method will call the Blogger API newPost method.

Returns true or false, followed by an array of zero, or more, postids.

PRIVATE METHODS ^

$pkg->_PostInChunks(%args)

$pkg->_TrimPostBody(\$body)

VERSION ^

0.1.3

NAME ^

Aaron Straup Cope

DATE ^

May 04, 2002

SEE ALSO ^

Net::Blogger::Engine::Base

Net::Blogger::API::Core

CHANGES ^

0.1.3

0.1.2

0.1.1

0.1

LICENSE ^

Copyright (c) 2001-2002 Aaron Straup Cope.

This is free software, you may use it and distribute it under the same terms as Perl itself.