2009-01-09

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.

Google Blogger Account Pain

Google Blogger Account Pain

Xah Lee, 2009-01-09

Ok, here's the story of my using of blogger.

In 2006, i started to use it tentatively. This is “http://xahlee.blogspot.com/” (i am also on livejournal perhaps a bit before)

In 2007 or so, google says blogger software got major update, and advice users to update it. However, it doesn't provide migration, but you have to create a new account. So i did, which results in “http://xah-lee.blogspot.com/”

In 2008 or so, i noticed that sometimes i post comment other's blogger blog, and the link on my name doesn't link back to one of my blogger acount, but to some non-existent xah lee. Apparantly, that's because i was signed in to the web with gmail while i posted the comment, but both of my blogger accounts are not using the gmail address.

Also, blogger is kinda odd in that when you compose, the url is “blogger.com” but your site is “blogspot.com”. This adds the confusion.

Fuck google.

This problem is not just with blogger. It happens thru various of their services... personally for me, they are google groups, orkut. So i end up with 2 or more accounts, either because they force you to by their software update or because they didn't have gmail before..., and they don't have migration that merge your account info.

The result is very confusing. You wonder why some your data isn't showing up, or which account you used what email.

Today, while i was dealing with some emacs packages that lets me auto post to blogger from emacs... i noticed now that google lets me merge my xahlee blogger account to gmail address. Finally, nice.