GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::BLOGGER::ENGINE::USERLAND::METAWEBLOG (3)

.ds Aq ’

NAME

Net::Blogger::Engine::Userland::metaWeblog - UserLand metaWeblog API engine

CONTENTS

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.

OBJECTS METHODS

CW$pkg->newPost(\%args)

Valid arguments are :
o <B>titleB>

String.

o <B>linkB>
o <B>descriptionB>

String.

o <B>categoriesB>

Array reference.

o <B>publishB>

Boolean.

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

Returns an int, or false.

CW$pkg->getRecentPosts(\%args)

Returns the most recent posts

Valid arguments are:
numberOfPosts The maximum number of posts to return

CW$pkg->newMediaObject(\%args)

Valid argument are :
o <B>fileB>

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.

o <B>nameB>

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.

o <B>typeB>

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.

o <B>bitsB>

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.

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

Returns a hash reference, or undef.

CW$pkg->editPost(\%args)

o <B>postidB>

Int. required

o <B>titleB>

String.

o <B>linkB>
o <B>descriptionB>

String.

o <B>categoriesB>

Array reference.

o <B>publishB>

Boolean.

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.

CW$pkg->getPost(\%args)

Valid arguments are :
o <B>postidB>

Int. required

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

Returns a hash reference or undef.

CW$pkg->getCategories()

Returns an array reference or undef.

VERSION

1.0

DATE

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

AUTHOR

Aaron Straup Cope

SEE ALSO

http://www.xmlrpc.com/metaWeblogApi

http://groups.yahoo.com/group/weblog-devel/message/200

FOOTNOTES

[1] http://www.xmlrpc.com/discuss/msgReader$2393

LICENSE

Copyright (c) 2002-2005 Aaron Straup Cope. All Rights Reserved.

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

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::BLOGGER::ENGINE::USERLAND::METAWEBLOG (3) 2016-04-04

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.