Vim has been so graceful that I like to have any text editing work done in her, especially coding and blogging.
As a Firefox user, I previously use scribefire to write to my wordpress blog, actually I was working with HTML, I don’t like WYSIWYG editing, which always creates dirty codes. However, scribefire is not good enought to me, many of my blogs includes codes, they needed to be surround by
<pre> element to be syntax high-lighted, scribefire doesn’t always works that well with code symbols, sometimes got translated into codes that hardly understand, I have to login into my blog to correct those lines.
What’s more importantly, scribefire isn’t good enough as an editor.
Then I found vimpress, and sadly found it was totaly broken, which haven’t updated since 2007-07-13. Vimpress’s official page is also broken. I googled for it, found that vimpress was noticed by many other blogger, they improved it, and hosting working versions of vimpress in their own repository.
The version by pigeond, he posted a blog about his improvement, this’s first working version I got.
Then the other post by Erik, he had vimpress in another git repository, and discussed about his using about vimpress, what’s worth another mention here is, vimpress is communicating to your wordpress blog through the XML-RPC protocol, unless your blog uses HTTPS(then use https url in vimpress), or you password would be transfered in plain text.
When I found vimpress is written in Python, I feel eager to improve it. Firstly it didn’t support for wp-slug, which is called as ‘postname’ in wordpress, this is supposed to be a url friendly pattern, won’t hurt if people write posts in English, wordpress simply translate spaces in Title into hyphen. But in other language like Chinese, such transfer would be ugly, I often use an English postname for every post.
And then the image upload. Scribefire allow me to upload images to blog and insert the img element to the edit. I added this feature to vimpress.
I added more friendly notifications for exceptions proccess, and many functions rewritten.
Now vimpress is mature enough to fulfill my blogging works. I firstly write my blog in Markdown, save as a temp file, then open a new buffer, type :BlogNew, then :r !markdown my_tmp.mkd , my post will translate into pretty HTML. Then fillin those title meta data, then :BlogSave publish, done. Pretty, Simple.
I still think I should have markdown ingranted to support with Markdown.
My version of vimpress could be retrived in my google code repository:
svn checkout http://ptcoding.googlecode.com/svn/trunk/vimpress