HOWTO: Posting and editing blog entries with TextMate

Textmate is an editor for Apple Macintosh computers. The included Blogging bundle let you post and edit blog entries in your nScale.net blog.

As of writing to use the Blogging bundle you need to have the latest "cutting edge" release of Textmate (Version 1.5.2 (1112)). Get it by choosing "Cutting-Edge" in the TextMate menu TextMate > Preferences > Software Update and pressing "Check now".

  1. Setup the Blogging bundle for your blog: Open a blank window and select Bundles > Blogging > Setup Blogs. Enter the URL of your blog. Insert your username and append xmlrpc.php to the URL, for example http://todd@nscale.net/xmlrpc.php. Save the file.
    Note: You are able to insert more than one blog entry.
  2. Test the blog setup: Bundles > Blogging > Fetch post. TextMate will ask you for your Drupal password first time you connect to the blog. It will be saved in the keychain so you have to enter it only once. Next Textmate will present you with the last 20 blog entries you may choose from.
  3. New blog entry: File > New From Template > Blogging > Weblog Post. Write your text and select Bundles > Blogging > Post To Blog to finally post the blog entry.
  4. Choose Input Filter: the "Format:" header correlates to the Drupal Input Filters. Put a 3 there and the blog entry will use the third Input Filter.
  5. Trimmed version (Teaser): Insert <!--break--> where you want to end the trimmed version of the blog entry.

For a longer explanation have a look at the screencast at Blogging from Textmate.

Problems so far:

  • Image files: insert image files into your text by dropping them in the TextMate window. They will instantly uploaded to the blog and referenced in the text. Alas they do not appear at the blog entry, at least not at the authors blog.
  • Taxonomy and vocabulary terms: It seems there is no way to insert vocabulary terms in the blog entry yet.

Powered by Drupal - Modified by Todd Vaules