rel-tag-parsing: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(created stub)
 
(a few test cases from the spec)
 
Line 6: Line 6:


== test cases==
== test cases==
{| class="testcases"
|-
! url
! tagspace
! tag
|-
| <nowiki>http://example.com/tag/foo</nowiki>
| <nowiki>http://example.com/tag/</nowiki>
| foo
|-
| <nowiki>http://example.com/tag/tech?tag=fish#emu</nowiki>
| <nowiki>http://example.com/tag/</nowiki>
| tech
|-
| <nowiki>http://example.com/tag/Technology/</nowiki>
| <nowiki>  http://example.com/tag/</nowiki>
| Technology
|}

Latest revision as of 23:59, 30 May 2007

parsing rel-tag

Intstructions for how to parse rel-tag data.

rules

test cases

url tagspace tag
http://example.com/tag/foo http://example.com/tag/ foo
http://example.com/tag/tech?tag=fish#emu http://example.com/tag/ tech
http://example.com/tag/Technology/ http://example.com/tag/ Technology