Christopher H. Laco > Net-Blogger > Net::Blogger::API::Extended

Download:
Net-Blogger-1.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  2
View/Report Bugs
Module Version: 1.0   Source  

NAME ^

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

SYNOPSIS ^

 It's very dark in here because this is a black box.

DESCRIPTION ^

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

OBJECT METHODS ^

$pkg->MaxPostLength

Abstract method for returning the max post length

$pkg->GetBlogId(\%args)

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

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 a string. If no blogname is specified, the current blogid for the object is returned.

$pkg->DeleteAllPosts(\%args)

Delete all the posts on a weblog. 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 true or false.

$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.

Releases prior to Net::Blogger 0.85 accepted a list of arguments rather than a reference. Version 0.85+ are backwards compatible.

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.

Releases prior to Net::Blogger 0.85 accepted a list of arguments rather than a reference. Version 0.85+ are backwards compatible.

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

VERSION ^

1.0

DATE ^

$Date: 2005/03/26 19:29:08 $

AUTHOR ^

Aaron Straup Cope

SEE ALSO ^

Net::Blogger::Engine::Base

Net::Blogger::API::Core

LICENSE ^

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.

syntax highlighting: