I use TextMate Blogging bundle to post my blogs - it's very cool, check out the screencast.
My blog is running off Wordpress (version 2), which was incredible simple to install.
However, it doesn't come with 'tag' support.
But help was at hand...
READER DISCOUNTSave $50 on terminal.training
I've published 38 videos for new developers, designers, UX, UI, product owners and anyone who needs to conquer the command line today.
$49 - only from this link
Job number 1: get tags working in Wordpress. Job number 2: get tags recognised in the blogging TextMate bundle.
This was pretty simple after a bit of trial and error. After hunting around, installing plugins I didn't want/need/understand, I found: Ultimate Tag Warrior 3.
The install is straight forward and you can start tagging pretty quickly from the web interface.
Luckily the theme that I had chosen* supported UTW out of the box.
Yes, I know, I should really design my own blog layout, but I wanted something quick and dirty running, and this theme, I thought, is actually not bad.
Admittedly I did edit my theme files so that the tags would appear on all the pages, rather than just the single page. I did that by searching for 'Filed' and below was the tag code, then I removed the 'is_single' check.
Tag Support for TextMate
By default Wordpress isn't supposed to support tagging, so there's a bit of fiddle that has to be done.
First stop: xmlrpc.
This is the script that handles the posting on the server side. Basically, it needs to be hacked to support tags.
Updated: Jan 2007
On Dan's suggestion, I am offering my own xmlrpc.php file for you to use.
Please, please make sure you backup your own copy before you overwrite it. I'm not taking responsibility for any problems you might experience, but I will be happy to help where I can.
Note that I am running WordPress 2.0.4 - and Dan has suggested this isn't compatible with 2.1 (I'll get round to it if there's requests) - so again: BACKUP!!!
Rather than explain it myself, a chap called Robin Lu has already written it up.
Step 1: How to make ecto work with Ultimate Tag Warrior.
Step 2: How to make ecto work with Ultimate Tag Warrior - Part II
Ignore the 'ecto' part - it's a blogging software product, but it'll do for our purposes.
The key change you need is mt_keywords to mt_tags.
Tweaking the Blogging Bundle
You'll need to edit the blogging.rb file in the /Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/Support/lib/ directory.
Find the following line:
@post['mt_tags'] = @headers['tags'] if @headers['tags']
Then copy it below the
elsif self.mode == 'wp'
This means it will read the tags if the blogging software is Wordpress.
That should be it. You should be able to see my tags working on my Wordpress blog right now.