All in the <head>

– Ponderings & code by Drew McLellan –

– Live from The Internets since 2003 –

About

Machine Tags: Tagging Revisited

24 January 2007

The concept of tagging is very simple – to take a resource and attach words that describe it. The motivation behind the desire to tag can be varied, with the most common reasons being to capture data that is not included in the resource itself (often the case with things like photos) or to aid retrieval of resources (as with bookmarks).

Sometimes it can be desirable to capture more than a simple or compound word in a tag. Early last year, Rev Dan Catt posted on the subject of Triple Tags, tags that encapsulated a name-space along with a name-value pair. This format is probably familar to many Upcoming users, who are already used to tagging Flickr photos of their Upcoming events with an upcoming:event=12345 type of tag. Flickr seems to have now adopted this style of tagging more formally and named them machine tags. Take a look at a photo with machine tags and you can see that they’re now sectioned out into their own tag list.

Whether or not machine tags is the right name for these or not (I personally think not, as even though they’re of a fixed syntax, they are easily written and read by humans, not just machines), I think we’re going to see a lot more of them. Indeed, I’ve been using them for a few months on one of my own projects – check out the photos that belong to this Living Generously action. The great thing about services like Flickr formalising their use is that it’s now possible to search component parts of the tags via their API.

Of course, this is going to bring its own challenges for things like tag clouds. If your site currently supports tagging, expect to have to deal with this sooner or later.

For rel-tag users, you just need to remember that standard practise is to url-encode tag names to keep them legal.

- Drew McLellan

Comments

Photographs

CSS Training Course: 18th July

We're running another CSS course aimed at beginners (or those wanting to freshen up!) on 18th July. Places are limited, so book soon to be sure of a place.

Work With Me

edgeofmyseat.com logo

At edgeofmyseat.com we build custom content management systems, ecommerce solutions and develop web apps.

Recent Links

Affiliation

  • Web Standards Project
  • Britpack
  • 24 ways

About Drew McLellan

Photo of Drew McLellan

Drew McLellan has been hacking on the web since around 1996 following an unfortunate incident with a margarine tub. Since then he’s spread himself between both front- and back-end development projects, and now is Director and Senior Web Developer at edgeofmyseat.com in Maidenhead, UK (GEO: 51.5217, -0.7177). Prior to this, Drew was a Web Developer for Yahoo!, and before that primarily worked as a technical lead within design and branding agencies for clients such as Nissan, Goodyear Dunlop, Siemens/Bosch, Caburys, ICI Dulux and Virgin.net. Somewhere along the way, Drew managed to get himself embroiled with Dreamweaver and was made an early Macromedia Evangelist for that product. This lead to book deals, public appearances, fame, glory, and his eventual downfall.

Picking himself up again, Drew is now a strong advocate for best practises, and stood as Group Lead for The Web Standards Project 2006-08. He has had articles published by A List Apart, Adobe, and O’Reilly Media’s XML.com, mostly due to mistaken identity. Drew is a proponent of the lower-case semantic web, and is currently expending energies in the direction of the microformats movement, with particular interests in making parsers an off-the-shelf commodity and developing simple UI conventions. He writes here at all in the head and, with a little help from his friends, at 24 ways.