Net::Google::Blogger - (** DEPRECATED **) Interface to Google's Blogger service.
Version 0.09
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;
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', );
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.
Egor Shipovalov, <kogdaugodno at gmail.com>
<kogdaugodno at gmail.com>
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.
bug-net-google-api-blogger at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Net::Google::Blogger
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-Google-Blogger
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Net-Google-Blogger
CPAN Ratings
http://cpanratings.perl.org/d/Net-Google-Blogger
Search CPAN
http://search.cpan.org/dist/Net-Google-Blogger/
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.
To install Net::Google::Blogger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Google::Blogger
CPAN shell
perl -MCPAN -e shell install Net::Google::Blogger
For more information on module installation, please visit the detailed CPAN module installation guide.