Christopher H. Laco > Net-Blogger > Net::Blogger::Engine::Slash

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::Engine::Slash - Adds support for the Slashcode SOAP API.

SYNOPSIS ^

  # Create object.
  my $blogger = Net::Blogger->new(engine=>"slash",debug=>1);

  # Same old, same old.
  $blogger->Username(1234);
  $blogger->Password("*****");
  $blogger->Proxy("http://use.perl.org/journal.pl");

  # Hey, this is different!
  $blogger->Uri("http://use.perl.org/Slash/Journal/SOAP");

  # This (the good old Blogger API) ...
  $blogger->newPost(postbody=>\"hello\nworld");

  # ...is the same as (slashcode API) ...
  $blogger->slash()->add_entry(subject=>"hello",body=>"world");

DESCRIPTION ^

Net::Blogger::Engine::Slash allows a program to interact with the Slashcode SOAP API using the Blogger API. Neat, huh?

Blogger API OBJECT METHODS ^

$pkg->getUserBlogs()

$pkg->newPost(\%args)

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

$pkg->getPost($postid)

$pkg->getRecentPosts(\%args)

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

$pkg->editPost(\%args)

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

$pkg->deletePost(\%args)

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

$pkg->setTemplate()

This method is not supported by the Slash engine.

$pkg->getTemplate()

This method is not supported by the Slash engine.

Slashcode API METHODS ^

$pkg->slash()

Returns an object. Woot!

VERSION ^

1.0

DATE ^

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

AUTHOR ^

Aaron Straup Cope

SEE ALSO ^

Net::Blogger::Engine::Slash::slashcode

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.

syntax highlighting: