Today on the orgmode mailing list Richard Riley posted a function that works with the Google command line tools (http://code.google.com/p/googlecl/) to create Blogger entries directly from my favorite emacs mode, orgmode. (See Getting org-googlecl for more information.) I have been looking for just such a solution to make blogging more transparent, and lo it is here. This post is the first test of the method, and it works. (Of course, I'm writing this before actually testing it, but since the new function evaluated without error then it must be right! ;-)
To be sure, there were quite a few steps to get to this point. Here was the recipe.
Sign up for a gmail account at http://gmail.google.com
While I already had a Google account for Blogger, the username
(email address for my local service provider) seemed to be
causing problems while authenticating (OAUTH) with
- While I already had a Google account for Blogger, the username (email address for my local service provider) seemed to be causing problems while authenticating (OAUTH) with
python-gdataversion 1.2.4 or higher
sudo apt-get install python-gdata
googleclDebian package (
googlecl_0.9.10-1_all.deb) from http://code.google.com/p/googlecl/downloads/list
sudo dpkg --install googlecl_0.9.10-1_all.deb
Call the blogger service to initiate authentication
google blogger list
Enter the gmail account (e.g.
firstname.lastname@example.org) at the prompt "Please specify user"
Grant authorization in a browser
- The browser may automatically launch with the URL
- If not, then the link is provided in the terminal
Press return in the terminal
- If there are error messages, then something probably went wrong :-)
- If a list of blog entries appears then authentication is accomplished
- Enter the gmail account (e.g.
- Send this blog post from orgmode