NAME

Net::Google::Blogger - (** DEPRECATED **) Interface to Google's Blogger service.

VERSION

Version 0.09

SYNOPSIS

This module is deprecated. Please use WebService::Blogger.

This module suite provides interface to the Blogger service now run by Google. It's built in object-oriented fashion using Moose, which makes it easy to use and extend. It also utilizes newer style GData API for better compatibility. You can retrieve list of blogs for your account, add, update or delete entries.

 use Net::Google::Blogger;

 my $blogger = Net::Google::Blogger->new(
     login_id   => 'myemail@gmail.com',
     password   => 'mypassword',
 );

 my @blogs = $blogger->blogs;
 foreach my $blog (@blogs) {
     print join ', ', $blog->id, $blog->title, $blog->public_url, "\n";
 }

 my $blog = $blogs[1];
 my @entries = $blog->entries;

 my ($entry) = @entries;
 print $entry->title, "\n", $entry->content;

 $entry->title('Updated Title');
 $entry->content('Updated content');
 $entry->categories([ qw/category1 category2/ ]);
 $entry->save;

 my $new_entry = Net::Google::Blogger::Blog::Entry->new(
     title   => 'New entry',
     content => 'New content',
     blog    => $blog,
 );
 $new_entry->save;
 $new_entry->delete;

SUBROUTINES/METHODS

new

Creates a new instance of Blogger account object. This method will connect to the server and authenticate with the given credentials. Authentication token received will be stored privately and used in all subsequent requests.

 my $blogger = Net::Google::Blogger->new(
     login_id   => 'myemail@gmail.com',
     password   => 'mypassword',
 );

blogs

Returns list of blogs for the account, as either array or array reference, depending on the context. The array is composed of instances of Net::Google::Blogger::Blog.

AUTHOR

Egor Shipovalov, <kogdaugodno at gmail.com>

BUGS

Deletion of entries is currently not supported.

Please report any bugs or feature requests to bug-net-google-api-blogger at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-Google-Blogger. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Net::Google::Blogger

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright 2010 Egor Shipovalov.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.