rel-tag-other-evidence: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
Line 32: Line 32:
** <code><a class="tag ufusetitle" title="cheese" href="http://example.com/?cat=cheese">All sorts of cheese</a></code>
** <code><a class="tag ufusetitle" title="cheese" href="http://example.com/?cat=cheese">All sorts of cheese</a></code>
** Advantage: compatible with other [[title-trigger|proposed uses of title attributes]] (replacing the [[abbr-design-pattern]]).
** Advantage: compatible with other [[title-trigger|proposed uses of title attributes]] (replacing the [[abbr-design-pattern]]).
* [[rel-tag]], but treat certain other characters (question mark, equals sign, ampersand) as equivalent to slashes. [[User:TobyInk|TobyInk]] 00:37, 28 Aug 2007 (PDT)
** <code><a class="normalise-url" rel="tag" href="http://www.google.co.uk/search?q=cheese">cheese</a></code>
** Advantage: Allows other URL schemes to be used easily. Many arbitrary URLs can have (for example) <code>?dummy=cheese</code> tacked on at the end to meet the required format.


This would require parsers to be updated, and to have an agreed hierarchy (say, rel-tag trumps element value, trumps title) in case more than one method is present. The methods used here would be backwards-compatible.
This would require parsers to be updated, and to have an agreed hierarchy (say, rel-tag trumps element value, trumps title) in case more than one method is present. The methods used here would be backwards-compatible.

Revision as of 07:37, 28 August 2007

Evidence of tagging with other schemas

rel-tag requires URLs in the format example.com/optional/path/to/tag; but other tagging behaviour exists "in the wild". This page is for capturing such behaviours.

Tag as query string

Tags in WikiMedia categories

Tags in element content

Potential tag spaces

(using one of the above schema)

Brainstorming

In order to accommodate tagging behaviour seen in the wild, it may be necessary to have multiple methods of marking-up tags:

This would require parsers to be updated, and to have an agreed hierarchy (say, rel-tag trumps element value, trumps title) in case more than one method is present. The methods used here would be backwards-compatible.

(Class names are for illustrative purposes only.)

Further reading

Related pages

The rel-tag specification is a work in progress. As additional aspects are discussed, understood, and written, they will be added. These thoughts, issues, and questions are kept in separate pages.