Blogging and bashing
When you're a linux geek, everything is command line. The more you use it, the faster you become. Moving your hand from the keyboard to the mouse is a chore. Using the GUI is only good for two things. Browsing the internet and porn. For some people, that is still one thing.
I've been blogging with VIM for a very long time now. And I have always found it quite.. satisfying. There's something about green letters on a black background that makes my geek gene tingle. It also helps that going command line saves battery life and things. Basically, if you're going to be any good in the IT field, especially in the Linux/server area, you had better know your command line.
But there are just some things that a command line couldn't do. And for me, the worst of them was posting to my blog. It's irritating to write the blog in VIM and then have to open up a text editor to view it so i can paste it on the Blog*Spot control panel. Irritating, aggravating, and frustrating. It also jarred with my sense of aesthetics. Yes I have one. Yes you can stop sniggering now. I'll wait.
So, following the grand tradition of If you want it, and it doesn't exist, why don't you code it yourself? I started to code. And what a code it was. My knoledge of BASH is minimal. And while this probably could be done better with Perl or Python. I know less of those languages than i know of bash. So bash it was going to be. So I spent the last weekend going through the Blogger API and trying to figure out what needed to be done.
And I did it. It works. More or less. You can give it your username and password, and it will set things up for you. After that you can post your X/HTML formatted entries directly to your Blog*Spot account.
Obviously this is heavy, heavy alpha. I'll probably get it to a usable level and set it free into the wild to see who else makes something of it.
Well, I tried to place the code here, but it worked like a chocolate tea-kettle. So I'm giving you a link to the archives of the lug.lk mailing list that has the file
Add new comment