rel-tag-other-evidence: Difference between revisions
AndyMabbett (talk | contribs) (Google: yes, why not?) |
AndyMabbett (talk | contribs) m (→Tag as query string: Urban dictionary) |
||
(13 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 | [[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== | ||
* [http://www.navitraveler.com/places/629/Lincoln_Memorial.html NaviTraveller (Lincoln Memorial)] | * [http://www.navitraveler.com/places/629/Lincoln_Memorial.html NaviTraveller (Lincoln Memorial)] | ||
** http://www.navitraveler.com/search.php?tag=Lincoln | ** <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== | |||
* [http://en.wikipedia.org/wiki/Microformat Wikipedia (Microformat)] | |||
**<code><a href="/wiki/Category:Microformats" title="Category:Microformats">Microformats</a></code> | |||
**URL: http://en.wikipedia.org/wiki/Category:Microformats | |||
==Tags in element content== | |||
* [http://www.destination-out.com/ Destination out] ('''already using <code>rel="tag"</code>''') | |||
** <code><A rel="category tag" title="View all posts in Anthony Davis" href="http://destination-out.com/?cat=111">Anthony Davis</A></code> | |||
==Potential tag spaces== | |||
(using one of the above schema) | |||
*Google | *Google | ||
** http://www.google.com/search?q=Lincoln | ** http://www.google.com/search?q=Lincoln | ||
== | ==Brainstorming== | ||
* [http:// | In order to accommodate tagging behavior seen in the wild, it may be necessary to have multiple methods of marking-up tags: | ||
**http:// | *[[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== | |||
*[http://eatyourgreens.org.uk/archives/2007/08/only_darkness_h.html Only darkness has the power] | |||
==Related pages== | ==Related pages== | ||
{{rel-tag-related-pages}} | {{rel-tag-related-pages}} |
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
- NaviTraveller (Lincoln Memorial)
<a href="/search.php?tag=Lincoln">Lincoln</a>
- URL: http://www.navitraveler.com/search.php?tag=Lincoln
Tags in WikiMedia categories
- Wikipedia (Microformat)
<a href="/wiki/Category:Microformats" title="Category:Microformats">Microformats</a>
- URL: http://en.wikipedia.org/wiki/Category:Microformats
Tags in element content
- Destination out (already using
rel="tag"
)<A rel="category tag" title="View all posts in Anthony Davis" href="http://destination-out.com/?cat=111">Anthony Davis</A>
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:
- rel-tag
- Using the element contents:
<a class="tag" href="http://destination-out.com/?cat=111">Anthony Davis</a>
- Advantage: visible data used.
- Using the element title:
<a class="tag ufusetitle" title="cheese" href="http://example.com/?cat=cheese">All sorts of cheese</a>
- Advantage: compatible with other 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. TobyInk 00:37, 28 Aug 2007 (PDT)
<a class="normalise-url" rel="tag" href="http://www.google.co.uk/search?q=cheese">cheese</a>
- Advantage: Allows other URL schemes to be used easily. Many arbitrary URLs can have (for example)
?dummy=cheese
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
Related pages
- rel-tag
- rel-tag-faq
- See also rel-faq
- rel-tag advocacy - encourage others to use rel-tag.
- rel-tag-spaces - sites suitable as using as targets for rel-tag links.
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-feedback - general feedback (as opposed to specific issues).
- rel-tag-issues - specific issues with the specification.
- rel-tag-other-evidence - tagging schemas other than those used in rel-tag