28 July 2011
BBEdit Post to MetaWeblog AppleScript
I wrote an AppleScript that will allow you to take the text contents of the front-most BBEdit window and post them to your MetaWeblog-capable blog server.
I spend a fair bit of time in BBEdit and find it is the most natural environment for writing long-form text. It always bothered me that there wasn't a simple way to post to my blog from right inside BBEdit. A while back I had added MetaWeblog support to my custom blog software to make it easier to post from my iPhone or iPad. I've been thinking for a while now that I could leverage this feature in combination with AppleScript to do the same in BBEdit but hadn't really bothered. Today I wrote some code for that.
The code, along with a more detailed explanation and instructions, can be found on GitHub. There's also a plea for folks to fork the code and patch any bugs or add features necessary to make it work with software such as Drupal or WordPress. That's not my cup of tea but I imagine someone will want that. I have a hunch that it might work out of the box with WordPress (in a somewhat limited fashion), but I'm really not sure. Some of the missing features are things like "Post Categories" or "Draft Support". I'll probably add drafts in the not-too-distant future but it is not something I need right now.
Last Updated: 2011-12-01T01:53:01-08:00