Tag This

2006-03-22

A chat with Jer today has gotten me interested again in microformats such as XFN and (the point of this blog entry) rel=tag. Since we last blogged about open or decentralized tagging (not centralized services like Technorati), the tag: URI scheme has been published as RFC 4151 and perhaps folks have gotten a chance to think more about how tag: URIs can be useful. I now see that tag: URIs are not hyperlinks to places; instead, they provide unique identifiers. So perhaps my old example was misleading:

<a href="tag:saint-andre.com,2005-08-05:open+tags">open tagging</a>

Well, I don't think so. We're not linking to anything here, we're identifying something. So you might think that would make sense, but the 'name' attribute is used to identify page fragments, so that's not right, either. How about the XHMTL 'id' attribute? Well, that must be unique within a page, so we have the same issue I raised before: you can't use the same tag: URI in the same document multiple times (e.g., to tag multiple blog entries posted on the same day); besides which, URIs don't match the name datatype.

So how about the 'cite' attribute?

<a cite="open tagging" href="tag:saint-andre.com,2005-08-05:open+tags">open tagging</a>

Perhaps. We may have lost the rel='tag' semantics (though just about any XHTML element may possess the 'rel' attribute, so maybe not). Yet the meaning of the cite attribute seems more appropriate:

The value of this attribute is a URI that designates a source document or message. This attribute is intended to give further information about the element's contents...

If you twist your head just right and squint your eyes a bit, a tag: URI could be seen as a source document or message -- the tag identifies the context for the citation.

However, few if any browsers currently provide a way for users to actuate 'cite' URIs (even though they are supposed to). But perhaps that is to the good, since the point of open tagging is quite possibly automated processing rather than user clicking.

If folks don't like the presentational implications of the cite element, they can add the 'cite' attribute to non-presentational elements like span element. The result? A kind of invisible yet open tagging that smart browsers could render in intelligent ways, but that would be hidden from less savvy users.

It's worth considering...


Peter Saint-Andre > Journal