NAME
Net::Blogger::Engine::Userland::metaWeblog - UserLand metaWeblog API engine
SYNOPSIS
my $radio = Blogger->new(engine=>"radio");
$radio->Proxy(PROXY);
$radio->Username(USERNAME);
$radio->Password(PASSWORD);
$radio->metaWeblog()->newPost(
title=>"hello",
description=>"world",
publish=>1,
);
DESCRIPTION
Implements the UserLand metaWeblog API functionality.
This package is meant to be subclassed. It should not be used on it's own.
PUBLIC METHODS
$pkg->newPost(%args)
$pkg->newMediaObject(%args)
Valid argument are :
file
String. Path to the file you're trying to upload.
If this argument is present the package will try to load MIME::Base64 for automagic encoding.
name
String. "It may be used to determine the name of the file that stores the object, or to display it in a list of objects. It determines how the weblog refers to the object. If the name is the same as an existing object stored in the weblog, it replaces the existing object." [1]
If a file argument is present and no name argument is defined, this property will be defined using the File::Basename::basename function.
type
String. "It indicates the type of the object, it's a standard MIME type, like audio/mpeg or image/jpeg or video/quicktime." [1]
If a file argument is present and no type argument is defined, the package will try setting this property using the File::MMagic package.
bits
Base64-encoded binary value. The content of the object.
If a file argument is present, the package will try setting this property using the MIME::Base64 package.
$pkg->editPost(%args)
TBW
$pkg->getPost(%args)
TBW
$pkg->getCategories()
TBW
VERSION
0.3
DATE
January 10, 2003
AUTHOR
Aaron Straup Cope
SEE ALSO
http://www.xmlrpc.com/metaWeblogApi
http://groups.yahoo.com/group/weblog-devel/message/200
FOOTNOTES
CHANGES
0.3
Added support for metaWeblog.newMediaObject method.
Updated POD
0.2
Added hooks to getCategories to catch call by Movabletype engine.
Added quotes to $VERSION
0.1.2
Updated POD
0.1.1
Updated POD
0.1
Initial revision
LICENSE
Copyright (c) 2002-2003 Aaron Straup Cope. All Rights Reserved.
This is free software, you may use it and distribute it under the same terms as Perl itself.