NAME

WWW::Zorpia::Journal - Post a journal to www.zorpia.com

SYNOPSIS

use WWW::Zorpia::Journal;

my $zorpia = WWW::Zorpia::Journal->new();
$zorpia->login('username', 'password');

# post a journal
$zorpia->journal( {
    title => 'Hello Zorpia', # required
    text  => 'Yup, this is fayland', # required
    category => 'Personal', # optional
    private => 1, # optional
    tags    => 'Zorpia Rocks', # optional
} );

PARAMS FOR ->journal

title

REQUIRED. journal title

text

REQUIRED. journal content

category

OPTIONAL. one of 'Personal', 'Beauty & Fashion', 'Books', 'Celebrities & Models', 'Computer & Internet', 'Food & Drinks', 'Games', 'Gossips & Jokes', 'Hobbies & Interests', 'Movies & Videos', 'Music', 'News & Sports', 'Photography & Art', 'Religion & Ethics', 'Romance & Relationships', 'Science', 'Travel', 'TV', 'Zorpia-related', 'Miscellaneous'. default is 'Personal'.

private

OPTIONAL. 0|1 0 means a public journal. everyone can read it. or else, just for yourself.

public

OPTIONAL. 0|1

tags

OPTIONAL. tag the journal.

SHORTCOMING

If post journal fails, no error is reported. I will improve in next version. Or patches are welcome.

AUTHOR

Fayland Lam, <fayland at gmail.com>

ACKNOWLEDGEMENTS

Zorpia http://www.zorpia.com Company Ltd.

COPYRIGHT & LICENSE

Copyright 2007 Fayland Lam and Zorpia Company Ltd., all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.