Haacked/Subtext — Issue #10: Improve tagging support in Subtext
Author: jeremy-jameson
Created: 2012-01-31 16:23:45+00:00
State: open

As described in one of Phil's posts (http://haacked.com/archive/2007/05/11/tagging-in-subtext.aspx), Subtext uses the rel-tag microformat (http://microformats.org/wiki/rel-tag) to support tagging in blog posts.

However, if you specify URLs using the form specified in Phil's post noted above (which conforms to the microformat), then tagging works as expected provided you don't specify the URL for your Subtext blog (for example, your tags specify a Technorati URL).

If, on the other hand, you specify a rel-tag using the URL of your blog -- which I imagine most people would prefer instead, so that clicking the link doesn't lead blog readers away from your site -- then you have to specify a rel-tag that does *not* conform to the microformat.

For example, Phil currently specifies rel-tag links like this:

Tags: software

According to the rel-tag microformat, in this example, the tag is **default.aspx** (not **software**) because the microformat states that the last part of the URL specifies the tag name.

Also, I could not find anything in the rel-tag microformat that states the URL must be an absolute URL. Consequently, I prefer to specify tags on my blog (http://www.technologytoolbox.com/blog/jjameson) using server-relative URLs like this:

Subtext

Web Development

This ensures everything works as expected when restoring my Subtext data from Production to Development and Test environments.