A Emacs Frustration (blogger package)

perm url http://xahlee.org/UnixResource_dir/writ/emacs_blogger_package_pain.html

A Emacs Frustration (blogger package)

Xah Lee, 2009-01-09

Spent like 2 hours trying to get a emacs package to work, which would allow me to write my blog in emacs and upload it to blogger.com (aka blogspot.com) without going thru browser. I was mother fucking pissed by the fucking fuckface tech geekers.

The packages in question are: “blogger.el” by Mark Hershberger at “http://www.emacswiki.org/emacs/BloggerMode” and “weblogger.el” by Mark Hershberger at “http://www.emacswiki.org/emacs/WebloggerMode”

I tried to download them, install and use them. Basically there are full of problems. The first problem is locating them, and decide which i should or can use. Then, the problem is finding the download location that has the most up to date version. Then, the problem is install it, trying to decipher whatever doc it might have. Then, the problem is running it, and suffer what-ever fuck it comes up. Each of the above stage is non-trivial, requiring at least 5 min, more likely 10 or 30 min per step, for someone who has used emacs for more than 8 hours a day for the past 10 years.

The emacswiki itself is fucking incompetent, and its founder Alex moron refuse to understand this. I tried to improve the emacswiki, but then i have to suffer its fucking incompetence, and its idiosyncratic syntax. (see: Problems of Emacswiki)

I recall about a year ago i tried to have emacs upload to blogger, and had some problems. But today i thought i give it another try.

There are “blogger.el” and “weblogger.el”. The first is just for blogger, the second is supposed to work for livejournal and moveable type and other blog sites.

I tried “blogger.el” first. It didn't work. It froze your emacs with “Contacting host: plant.blogger.com:80” in minibuffer, then after a minute or two, returns “if: Why? url-http-response-status is nil”.

Then i tried “weblogger.el”. The emacswiki says version 1.6 can be downloaded at xyz, but on xyz it's not version 1.6. In fact, the file itself has conflicting version info. The emacswiki has a bunch of unorganized discussions. In the end, i got “weblogger.el”, which according to header comment is: “;; Version: 1.2” but according to the constant is “(defconst weblogger-version "1.3" ...)”. Don't know which side of the ass the 1.6 come from.

Emacswiki also babbles about savana... something about empty project there or some other problem. Going to savana one is faced with a motherfucking complex interface with a hundred links and knobs.

Locating “xml-rpc.el” itself is'nt easy. After all these done, it didn't work.

The header doc says you have to “weblogger-setup-weblog” but then it also says “M-x customize-group RET weblogger RET”. So which fucking one?

The inline doc itself has a bunch of “FIXME this” and “FIXME that” notes. When i tried to set server for blogger, it's not clear what i should use. Is it blogger.com or blogspot.com or should it be some special api url?

Also, the package mentions the source location at “;; URL: http://elisp.info/package/weblogger/”. Hello, it is fucking dead? for how many years?

in the end, i got some error about some 405 method not supported.

So, now having spend about 4 hours on this... should i perhaps start to look at the source code?? maybe another 10 min will solve it, but then again maybe not. Posting to blogger thru their api shouldn't be difficult. I might as well look into writing it myself, which, if i end up a day spent, i at least learned something real, instead of swimming in some tech geeker's random pile of code shit.

Best Emacs Package for LiveJournal

Btw, the LjUpdate package (which allow you to use emacs to post to livejournal), by Edward O'Connor, is fantastic. It simple to install, easy to use. I've been using it for about 2 years now.

Best Emacs Package for Blogger

Addendum:

I found e-blog↗ by Mikey Coulson works for blogger fantastically. You post to your blogger account within 5 minute of downloading the package.

Popular posts from this blog

11 Years of Writing About Emacs

does md5 creates more randomness?

Google Code shutting down, future of ErgoEmacs