rel-tag-other-evidence: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (→‎Tag as query string: Urban dictionary)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=Evidence of tagging with other schemas=
=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.
[[rel-tag]] requires URLs in the format example.com/optional/path/to/tag; but other tagging behavior exists "in the wild". This page is for capturing such behaviors.


==Tag as query string==
==Tag as query string==
Line 8: Line 8:
** <code><a href="/search.php?tag=Lincoln">Lincoln</a></code>
** <code><a href="/search.php?tag=Lincoln">Lincoln</a></code>
**URL: http://www.navitraveler.com/search.php?tag=Lincoln
**URL: http://www.navitraveler.com/search.php?tag=Lincoln
* [http://www.urbandictionary.com/ Urban Dictionary]
**<code><a href="http://www.urbandictionary.com/define.php?term=drink">drink</a></code>
**http://www.urbandictionary.com/define.php?term=drink


==Tags in WikiMedia categories==
==Tags in WikiMedia categories==
Line 24: Line 28:


==Brainstorming==
==Brainstorming==
In order to accommodate tagging behaviour seen in the wild, it may be necessary to have multiple methods of marking-up tags:
In order to accommodate tagging behavior seen in the wild, it may be necessary to have multiple methods of marking-up tags:
*[[rel-tag]]
*[[rel-tag]]
*Using the element contents:
*Using the element contents:
** <code><a class= "tag" href="http://destination-out.com/?cat=111">Anthony Davis</a></code>
** <code><a class="tag" href="http://destination-out.com/?cat=111">Anthony Davis</a></code>
** Advantage: visible data used.
** Advantage: visible data used.
*Using the element title:
*Using the element title:
** <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, colon) 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.

Latest revision as of 19:55, 18 January 2008

Evidence of tagging with other schemas

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

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 behavior 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.