How to get MarsEdit to work with Jerome’s Keywords

I have switched from using the on-line Wordpress editor to using an offline one on my Powerbook called MarsEdit. My main reason to switch is that I can work on blog posts while disconnected (but also the built in spell checker. I’m sure all my readers will appreciate that!). But the problem is two fold: Wordpress doesn’t support tagging without a plugin (I use Jerome’s Keywords) and Jerome’s Keywords isn’t supported through the XML-RPC interface that MarsEdit uses to talk to Wordpress (my opinion: small design problem on Wordpress’ part to not allow pluings to do XML-RPC stuff).

But I stumbled upon How to make ecto work with Jerome’s Keywords, which also will work for MarsEdit (and probably any other tool that uses XML-RPC to talk to WordPress).

First, make the two modifications to the Wordpress PHP code as mention in the ecto article.  This will allow you to set the keywords from MarsEdit.  But I went one better and allows MarsEdit to read what the tags are as well.  Make this modification to the same xmlrpc.php file:

In the mw_getPost function, look for the line that is creating the respone ($resp = array…).  Add the following line to the end of the array creation:

‘mt_keywords’ => get_post_meta($postdata['ID'], ‘keywords’, true)

And then you can fully use the keywords in MarsEdit.

Oh, and I also had to tell MarsEdit that I am using Wordpress so it could turn on the Keywords feature for me and I was good to go.

What are Tags?

If there is anything I hate, it is trying to categorize things. I go into Blockbuster, and I can never find what I’m looking for because I don’t know if “Desperate Housewives” is a Comedy or a Drama. With someplace like Blockbuster, it is hard because there is only one physical thing and it can only be in one place, so you can only label it with one genre.

That problem doesn’t exist with their digital things like MP3’s and Digital Photos. Through the wonders of computer Programmers, you can apply many labels to one things and you computer program and can make it appear in all those places.

In typical database design, you would come up with all the possible attributes of an object (or at least the ones you can think of). You would then go through each of the possible attributes and see if you can enumerate all the possible values for it. For example, a DVD may have attributes like Genre, Actors, Studio, Release Year. And attributes may have values like 2001, Drama, and Universal. But you can also see that you can’t enumerate all the possible values for some attributes (there are always new Actors and Studios, and despite what late night television tells you, time keeps on marching). For these attributes, you would either spend a lot of time updating the possible values, or just give up and let it be any possible value. That is pretty much what a Tag is.

A few sites have started using Tags to allow you to categorize digital things. Flickr.com allows you to tag the photos you upload. del.icio.us allows you to tag links in a shared bookmark (Previous Post). And Technorati.com allows you to tag your blog entries. Rather than going to typical organization route (like in the previous paragraph), they don’t even bother to come up with attributes. You just come up with a handful of tags to describe the item (like 2005 DisneyWorld January Florida) and you are set. The only restriction on the words use for Tags are that they should be one word and shouldn’t be something common like “of” or “to”. And really, the only reason for the one word restriction is to make it easier on the user to enter in the tags (you don’t have to remember to put a ; in between each tag, for example).

Trying to find the items you (or someone else) has tagged is really simple. Just come up with a few possible tag names and the search engine just has to go through and find all the items that have those tags.



You can also browse the items by Tags. Flickr.com provides an interface (pictured here) that allows you to browse by Tags that have been applied to the most items. The bigger the text, the larger the number of items contained with in. You could even imagine doing this through multi-levels to find pictures from Japan taken in 2004.

Sometimes there is much power in simplicity.

Network Bookmarks

I’ve always wanted centralized bookmark. There have been many days when I’m at home at think to myself, “Damn, I wish I had remembered to bring that bookmark home from work.” And there have been a few tries at it. Firefox has a extension that allows you to keep all your bookmark the same on all your computers. Or you could keep them all on a wiki. Or you could now use del.icio.us to track your bookmarks for you.

del.icio.us is a cross-browser solution to centralized bookmarks. They give you a link that you click on when you’ve found a page that you want to bookmark. You give some brief information on the link and submit it. They also give you a page that you can access to browse your links to find that stupid bookmark you made 2 months ago (by default chronological ordering, which is how I always kept mine anyway) and also a search feature. Or for those of you who are RSS inclined, they give you an RSS feed of bookmarks, so you could see what other people are bookmarking.

The basic usage is pretty simple. But they also incorporate another feature that allows you to categorize your bookmarks (and search other peoples bookmarks) by Tags. Tagging things is a new trend in the internet content arena that I’ll spend more time discussing tomorrow.

My bookmarks can be accessed here: http://del.icio.us/billnapier

The RSS Feed of my bookmarks can be found here: http://del.icio.us/rss/billnapier

(Many thanks to Boing Boing for bringing this to my attention.)

Update: Find out more about Tagging