Net::Blogger::Engine::Slash - Adds support for the Slashcode SOAP API.


Net-Blogger documentation  | view source Contained in the Net-Blogger distribution.

Index


NAME

Top

Net::Blogger::Engine::Slash - Adds support for the Slashcode SOAP API.

SYNOPSIS

Top

  # 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

Top

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

Blogger API OBJECT METHODS

Top

$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

Top

$pkg->slash()

Returns an object. Woot!

VERSION

Top

1.0

DATE

Top

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

AUTHOR

Top

Aaron Straup Cope

SEE ALSO

Top

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

LICENSE

Top

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.


Net-Blogger documentation  | view source Contained in the Net-Blogger distribution.