Tatsuhiko Miyagawa > XML-Atom-Lifeblog-0.01 > XML::Atom::Lifeblog

Download:
XML-Atom-Lifeblog-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.01   Source   Latest Release: XML-Atom-Lifeblog-0.03

NAME ^

XML::Atom::Lifeblog - Post lifeblog items using AtomAPI

SYNOPSIS ^

  use XML::Atom::Lifeblog;

  my $client = XML::Atom::Lifeblog->new();
  $client->username("Melody");
  $client->password("Nelson");

  my $entry = $client->postLifeblog($PostURI, $title, $body, "foobar.jpg");

DESCRIPTION ^

XML::Atom::Lifeblog is a wrapper for XML::Atom::Client that handles Nokia Lifeblog API to post images associated with text messages.

METHODS ^

XML::Atom::Lifeblog is a subclass of XML::Atom::Client.

postLifeblog ^

  my $entry = $client->postLifeblog($PostURI, $title, $body, $image);

Creates a new Lifeblog entry and post it to a Lifeblog aware server using <standalone> element. $image is either a filename as a scalar or an image binary as a scalarref.

Returns XML::Atom::Entry object for the posted entry.

AUTHOR ^

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

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

SEE ALSO ^

XML::Atom::Client http://cognections.typepad.com/lifeblog/2004/12/lifeblog_postin.html