tags, tags, tags, and marsedit

You may have noticed that I’ve been tagging my posts here, del.icio.us-style, over the last few days. I’ve also been going back and tagging old posts, but man is that a bloody tedious bit of work. My eventual goal is to reorganize the entire site so that it can be navigated and read tag-wise, but I’m still working on that. In the meantime I’m making use of the new technorati tag aggregation features so that you can go see the other blogs and pictures and links other people are tagging with the same stuff I’m tagging.

I’m using the keywords part of a movable type entry for my tags; I wrestled a lot over the benefits of using keywords versus using categories. What it came down to was simplicity; I have a lot of trouble with Movable Type’s categories because they have to be set up in MT beforehand. I’m just too darn lazy for that. I like keywords because I can just type them in on a per-entry basis, willy-nilly. We’ll see how it works in the long run, though — I may decide that the MT software really resists tagging and what I should have done was categories in the first place. And then I get to re-tag all my posts all over again. Yay.

As part of this whole tagging experiment I wrote a little applescript for MarsEdit to automatically insert the “Technorati Tags” HTML at the bottom of each post (I borrowed most of it from the MarsEdit “Currently Playing in iTunes” script, and I shamelessly stole the formatting from John’s plugin that does basically the same thing on the MT side). After installing it, you use it by tagging your post and then just choosing the script from the Script menu:



The HTML goes in at the insertion point, so don’t forget to click at the end of your post before running the script. If you’ve got something selected it’ll append the tags to the end of the selection.

Download the script here (want to just criticize my applescripting? take a look). Put it into the MarsEdit Scripts folder (~Library/Application Support/MarsEdit/Scripts) and restart MarsEdit for it to work. Enjoy.

9 thoughts on “tags, tags, tags, and marsedit

  1. I can see how this hack would be useful particularly for Blogger users, since Blogger supports neither keywords nor categories. Movable Type (which you appear to be using) supports both, and I’ve noticed that Technorati seems to be picking up my categorization from my RSS2 feed (which has that data in a parsable form), so this hack is not strictly necessary if you use MT and publish a feed.

    If one wanted to use the Keywords field for tagging, it might be a little trickier to get a semantically correct category tag in the RSS2 feed: I think each keyword needs to be in its own element, and AFAIK there’s no way to iterate over multiple MTKeywords and bracket each in its own tag.

  2. Ah, I love it when I find other bloggers all thinking about the same things I am.

    There seem to be lots of interesting hacks popping up for this; I use ecto and found an applescript to turn my categories into tags.

    But what I really want is to get these on the server side in MT; I’ll have to poke around at John’s plugin to see what I can do with it. Since I’m using categories, not keywords, I want it to honor that but I want to do it server-side so I don’t have to worry about having ecto put it in (since I’d then keep accidently deleting it).

  3. >AFAIK there’s no way to iterate over multiple MTKeywords and
    >bracket each in its own tag.

    I hadn’t even begun to think about RSS. Ack.

    I suppose you would need to do this with an MT Plugin like MT-Perlscript and then include some code in the MT RSS template to do the iteration. Ben Hammersley does this with his del.icio.us tag generator.

  4. I got to thinking about the looping problem myself, and it turns out that Kevin Shay has written a loop plugin that would be perfect for the job. I’m going to try that approach in my own blog.

  5. Technorati tags plug-in for MarsEdit

    The divine Laura Lemay has given us MarsEdit users a great shortcut for adding technorati tags as keywords. I’m going to add some as I post this (from a bookmarklet) and then reopen the post in MarsEdit to activate the key words. If and when it works, …

  6. Technorati Tag.. ‘You’re it!’ 🙂

    Every day brings new discoveries, and today here’s another! I’ve been investigating tagging, after stumbling upon this post by Laura …

Comments are closed.