Overview

HTTPS SSH
DESCRIPTION
This is a small script for posting an entry to a blogger blog.
It can be used either interactively or by giving it command line arguments (or both).
If no arguments are given, it will default to interactive mode; if the --new (or -n) argument is given, it will default to exit after posting the new entry.
For further information about arguments and usage, see ./blog -h .

INSTALL
Since the modified WebService::Blogger that is bundled with this script isn't part of CPAN, I suggest making a startup script, something like
% cat >> bin/blog
#!/bin/bash
cd ~/path/to/blog/bir
./blog $*
^D
% chmod +x bin/blog

EXAMPLE
% blog -u myname@example.com -n -b0
password: 
Ok, connecting...
Connected.
Blogs for current account.
0 The Blog To Conquer All
1 My Other Blog
Choose Blog (0 - 1): 0
Selected blog: The Blog To Conquer All
Title for new blog entry: 
My Awesome Title
Enter blog entry, finish with ^d
My awesome lorem ipsum!
Etaoin shrdlu!
^d
Title: My Awesome Title
-------------------------------
My awesome lorem ipsum!
Etaoin shrdlu!
-------------------------------
Post this? (y/n) y
Posting...
Posted
%