rel-tag-other-evidence

(Difference between revisions)

Jump to: navigation, search
(Tag as query string: expose code)
Current revision (19:55, 18 January 2008) (view source)
m (Tag as query string: Urban dictionary)
 
(8 intermediate revisions 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 7: Line 7:
* [http://www.navitraveler.com/places/629/Lincoln_Memorial.html NaviTraveller (Lincoln Memorial)]
* [http://www.navitraveler.com/places/629/Lincoln_Memorial.html NaviTraveller (Lincoln Memorial)]
** <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
 +
 +
* [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==
* [http://en.wikipedia.org/wiki/Microformat Wikipedia (Microformat)]
* [http://en.wikipedia.org/wiki/Microformat Wikipedia (Microformat)]
-
**http://en.wikipedia.org/wiki/Category:Microformats
+
**<code><a href="/wiki/Category:Microformats" title="Category:Microformats">Microformats</a></code>
 +
**URL: http://en.wikipedia.org/wiki/Category:Microformats
==Tags in element content==
==Tags in element content==
Line 20: Line 26:
*Google
*Google
** http://www.google.com/search?q=Lincoln
** http://www.google.com/search?q=Lincoln
 +
 +
==Brainstorming==
 +
In order to accommodate tagging behavior seen in the wild, it may be necessary to have multiple methods of marking-up tags:
 +
*[[rel-tag]]
 +
*Using the element contents:
 +
** <code><a class="tag" href="http://destination-out.com/?cat=111">Anthony Davis</a></code>
 +
** Advantage: visible data used.
 +
*Using the element title:
 +
** <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]]).
 +
* [[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.
 +
 +
(Class names are for illustrative purposes only.)
==Further reading==
==Further reading==

Current revision

Contents

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.

rel-tag-other-evidence was last modified: Friday, January 18th, 2008

Views