WWW::BloggerWeb - Blogger interface
Usage:
use WWW::BloggerWeb; $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0; my $blogger = WWW::BloggerWeb->new( username => 'anything@gmail.com' , password => 'YOUR_BLOGGER_PASS', blog_id => "YOUR_BLOG_ID");
Blogger interface
my $blogger = WWW::BloggerWeb->new( username => 'anything@gmail.com' , password => 'YOUR_BLOGGER_PASS', blog_id => "YOUR_BLOG_ID");
To get your blog ID go to https://www.blogger.com/home and click to your blog and extract it
https://www.blogger.com/blogger.g?blogID= YOUR_BLOG_ID #overview/src=dashboard
$blogger->login;
Login to the site. You MUST call this function before to do anything
my $title = "my new title "; my $content = "my content"; $url = $blogger->post($title,$content); print "url $url \n";
Submit post an entry
Internal function
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install WWW::BloggerWeb, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::BloggerWeb
CPAN shell
perl -MCPAN -e shell install WWW::BloggerWeb
For more information on module installation, please visit the detailed CPAN module installation guide.