Approximating success one failure at a time

Showing posts with label blog. Show all posts
Showing posts with label blog. Show all posts

Wednesday, March 25, 2009

weblogger.el v2.0

I worked with e-blog for a little bit, but the interface was a little rough around the edges. I had tried using weblogger.el initially, but it didn't work entirely correctly with Blogger. I supposed it was because Blogger had deprecated its XML-RPC interface for its GData interface. So I took some time to try and integrate GData support into weblogger.el. I based most of the XML wrangling off of e-blog's code. And I tried to streamline weblogger.el's configuration step, so that it relied mainly on emacs customization rather than an interactive configuration step.

I am going to spend some time using the code before I announce it on emacswiki, but so far it's looking pretty good. Here's what the interface looks like for the beginning of this entry that I am composing. (Yes, I want more "screenshots" for emacs applications. There are too few!)

Subject: weblogger.el v2.0
Keywords: emacs blog weblogger
From: shane.celis@gmail.com
Weblog: gnufool
--text follows this line--
I worked with e-blog for...

The code is available on github. I am anointing it version 2.0 because it probably has broken something. I still have a few ideas for what I'd like to see in the future, like Markdown integration, and perhaps a *Buffer List* like mode to look at all your blog entries.

Monday, February 23, 2009

Emacs Blogger Support

I am an emacs guy, so of course, I want to edit my blog from emacs. No biggie, I thought. I thought g-client was going to be it since I believe it is maintained by google, and I could post an entry easily enough. However, I could not edit an entry. The library had the facilities for it given I knew what the edit URL was, and despite digging down into some of google's technical documentation I was not able to find it. Anyway, my synopsis for g-client with respect to blogging is that it's a plumbing library; it is not what you would actually want to use to do blog entries. It's what you would want to use to perhaps build an emacs module to do blogging.

I looked into a number of different libraries, and I finally came across e-blog. It gave me a decent user interface that allowed me to post and edit blog entries without having to finagle with any plumbing. Here's what the interface looks like:

1 blog found for shane.celis:
    - gnufool
        * Emacs blogger support [C][X]
Select which blog you would like to post to.