Atom autodiscovery test suite
Each of these tests is a complete HTML or XHTML document. Each document contains an Atom autodiscovery link to exactly one Atom feed. Once you think you've found the feed, retrieve it and verify that the feed contains a link to the document you started from. If so, you have passed the test.
If you can't find the autodiscovery link, you have failed the test. If you think you've found more than one autodiscovery link, you have failed the test. If you think you've found the autodiscovery link but can't retrieve the feed, you have failed the test. If you retrieve the feed but it does not contain a link back to the document you started from, you have failed the test.
From each document, you can follow the <link rel="next" ...> link to get to the next test. I recommend doing this, rather than hardcoding the list of test URLs, since it is likely that I will add more tests in the future.
XHTML 1.1 documents are always served with the application/xhtml+xml media type. If you wish to view these tests, you will need a standards-compliant browser such as Mozilla Firefox, Opera, or Safari.
atomautodiscovery.py passes this test suite.
This test suite is copyright © 2003-7 by Mark Pilgrim. It is free for commercial or non-commercial use for the purpose of testing interoperability of Atom autodiscovery clients, but it may not be republished or used to create derivative works.
This test suite is also available in Spanish.
- html4-001.html - HTML 4, absolute URI
- html4-002.html - HTML 4, relative URI
- html4-003.html - HTML 4, relative URI relative to top of domain
- html4-004.html - HTML 4, unquoted rel attribute
- html4-005.html - HTML 4, id attribute distraction
- html4-006.html - HTML 4, unquoted href attribute
- html4-007.html - HTML 4, single-quoted rel attribute
- html4-008.html - HTML 4, single-quoted type attribute
- html4-009.html - HTML 4, single-quoted href attribute
- html4-010.html - HTML 4, attributes separated by carriage returns
- html4-011.html - HTML 4, uppercase rel value
- html4-012.html - HTML 4, capitalized rel value
- html4-013.html - HTML 4, mixed case rel value
- html4-014.html - HTML 4, uppercase type value
- html4-015.html - HTML 4, capitalized type value
- html4-016.html - HTML 4, capitalized type value #2
- html4-017.html - HTML 4, capitalized type value #3
- html4-018.html - HTML 4, mixed case type value
- html4-019.html - HTML 4, uppercase link element
- html4-020.html - HTML 4, uppercase rel attribute
- html4-021.html - HTML 4, uppercase type attribute
- html4-022.html - HTML 4, uppercase href attribute
- html4-023.html - HTML 4, uppercase head element
- html4-024.html - HTML 4, all uppercase elements and attributes
- html4-025.html - HTML 4, extra rel value before alternate
- html4-026.html - HTML 4, extra rel value after alternate
- html4-027.html - HTML 4, extra rel values before and after alternate
- html4-028.html - HTML 4, extra rel values before and after alternate, uppercase alternate
- html4-029.html - HTML 4, attributes in different order
- html4-030.html - HTML 4, unknown rel value distraction
- html4-031.html - HTML 4, unknown rel value distraction #2
- html4-032.html - HTML 4, rev attribute distraction
- html4-033.html - HTML 4, title attribute distraction
- html4-034.html - HTML 4, type attribute distraction
- html4-035.html - HTML 4, trailing space in rel value
- html4-036.html - HTML 4, leading space in rel value
- html4-037.html - HTML 4, leading and trailing spaces in rel value
- html4-038.html - HTML 4, trailing space in type value
- html4-039.html - HTML 4, leading space in type value
- html4-040.html - HTML 4, leading and trailing spaces in type value
- html4-041.html - HTML 4, trailing space in href value
- html4-042.html - HTML 4, leading space in href value
- html4-043.html - HTML 4, leading and trailing spaces in href value
- html4-044.html - HTML 4, leading and trailing spaces in href value, relative URI
- html4-045.html - HTML 4, relative URI relative to declared base URI
- html4-046.html - HTML 4, relative URI relative to declared base URI #2
- html4-047.html - HTML 4, relative URI relative to declared base URI on another server
- html4-048.html - HTML 4, relative URI relative to declared base URI on another server #2
- html4-049.html - HTML 4, relative URI relative to declared base URI on another server #3
- html4-050.html - HTML 4, relative URI relative to declared base URI on another server, uppercase base element
- html4-051.html - HTML 4, base URI distraction
- html4-052.html - HTML 4, base URI declared after link should be ignored
- html4-053.html - HTML 4, numeric entity for A in rel value
- html4-054.html - HTML 4, numeric entity for a in rel value
- html4-055.html - HTML 4, numeric entity for I in type value
- html4-056.html - HTML 4, numeric entity for + in type value
- html4-057.html - HTML 4, UTF-16 encoding
- xhtml10-001.html - XHTML 1.0, absolute URI
- xhtml10-002.html - XHTML 1.0, relative URI
- xhtml10-003.html - XHTML 1.0, relative URI relative to top of domain
- xhtml10-007.html - XHTML 1.0, single-quoted rel attribute
- xhtml10-008.html - XHTML 1.0, single-quoted type attribute
- xhtml10-009.html - XHTML 1.0, single-quoted href attribute
- xhtml10-010.html - XHTML 1.0, attributes separated by carriage returns
- xhtml10-011.html - XHTML 1.0, uppercase rel value
- xhtml10-012.html - XHTML 1.0, capitalized rel value
- xhtml10-013.html - XHTML 1.0, mixed case rel value
- xhtml10-014.html - XHTML 1.0, uppercase type value
- xhtml10-015.html - XHTML 1.0, capitalized type value
- xhtml10-016.html - XHTML 1.0, capitalized type value #2
- xhtml10-017.html - XHTML 1.0, capitalized type value #3
- xhtml10-018.html - XHTML 1.0, mixed case type value
- xhtml10-025.html - XHTML 1.0, extra rel value before alternate
- xhtml10-026.html - XHTML 1.0, extra rel value after alternate
- xhtml10-027.html - XHTML 1.0, extra rel values before and after alternate
- xhtml10-028.html - XHTML 1.0, extra rel values before and after alternate, uppercase alternate
- xhtml10-029.html - XHTML 1.0, attributes in different order
- xhtml10-030.html - XHTML 1.0, unknown rel value distraction
- xhtml10-031.html - XHTML 1.0, unknown rel value distraction #2
- xhtml10-032.html - XHTML 1.0, rev attribute distraction
- xhtml10-033.html - XHTML 1.0, title attribute distraction
- xhtml10-034.html - XHTML 1.0, type attribute distraction
- xhtml10-035.html - XHTML 1.0, trailing space in rel value
- xhtml10-036.html - XHTML 1.0, leading space in rel value
- xhtml10-037.html - XHTML 1.0, leading and trailing spaces in rel value
- xhtml10-038.html - XHTML 1.0, trailing space in type value
- xhtml10-039.html - XHTML 1.0, leading space in type value
- xhtml10-040.html - XHTML 1.0, leading and trailing spaces in type value
- xhtml10-041.html - XHTML 1.0, trailing space in href value
- xhtml10-042.html - XHTML 1.0, leading space in href value
- xhtml10-043.html - XHTML 1.0, leading and trailing spaces in href value
- xhtml10-044.html - XHTML 1.0, leading and trailing spaces in href value, relative URI
- xhtml10-045.html - XHTML 1.0, relative URI relative to declared base URI
- xhtml10-046.html - XHTML 1.0, relative URI relative to declared base URI #2
- xhtml10-047.html - XHTML 1.0, relative URI relative to declared base URI on another server
- xhtml10-048.html - XHTML 1.0, relative URI relative to declared base URI on another server #2
- xhtml10-049.html - XHTML 1.0, relative URI relative to declared base URI on another server #3
- xhtml10-051.html - XHTML 1.0, base URI distraction
- xhtml10-052.html - XHTML 1.0, base URI declared after link should be ignored
- xhtml10-053.html - XHTML 1.0, numeric entity for A in rel value
- xhtml10-054.html - XHTML 1.0, numeric entity for a in rel value
- xhtml10-055.html - XHTML 1.0, numeric entity for I in type value
- xhtml10-056.html - XHTML 1.0, numeric entity for + in type value
- xhtml11-001.xhtml - XHTML 1.1, absolute URI
- xhtml11-002.xhtml - XHTML 1.1, relative URI
- xhtml11-003.xhtml - XHTML 1.1, relative URI relative to top of domain
- xhtml11-007.xhtml - XHTML 1.1, single-quoted rel attribute
- xhtml11-008.xhtml - XHTML 1.1, single-quoted type attribute
- xhtml11-009.xhtml - XHTML 1.1, single-quoted href attribute
- xhtml11-010.xhtml - XHTML 1.1, attributes separated by carriage returns
- xhtml11-011.xhtml - XHTML 1.1, uppercase rel value
- xhtml11-012.xhtml - XHTML 1.1, capitalized rel value
- xhtml11-013.xhtml - XHTML 1.1, mixed case rel value
- xhtml11-014.xhtml - XHTML 1.1, uppercase type value
- xhtml11-015.xhtml - XHTML 1.1, capitalized type value
- xhtml11-016.xhtml - XHTML 1.1, capitalized type value #2
- xhtml11-017.xhtml - XHTML 1.1, capitalized type value #3
- xhtml11-018.xhtml - XHTML 1.1, mixed case type value
- xhtml11-025.xhtml - XHTML 1.1, extra rel value before alternate
- xhtml11-026.xhtml - XHTML 1.1, extra rel value after alternate
- xhtml11-027.xhtml - XHTML 1.1, extra rel values before and after alternate
- xhtml11-028.xhtml - XHTML 1.1, extra rel values before and after alternate, uppercase alternate
- xhtml11-029.xhtml - XHTML 1.1, attributes in different order
- xhtml11-030.xhtml - XHTML 1.1, unknown rel value distraction
- xhtml11-031.xhtml - XHTML 1.1, unknown rel value distraction #2
- xhtml11-032.xhtml - XHTML 1.1, rev attribute distraction
- xhtml11-033.xhtml - XHTML 1.1, title attribute distraction
- xhtml11-034.xhtml - XHTML 1.1, type attribute distraction
- xhtml11-035.xhtml - XHTML 1.1, trailing space in rel value
- xhtml11-036.xhtml - XHTML 1.1, leading space in rel value
- xhtml11-037.xhtml - XHTML 1.1, leading and trailing spaces in rel value
- xhtml11-038.xhtml - XHTML 1.1, trailing space in type value
- xhtml11-039.xhtml - XHTML 1.1, leading space in type value
- xhtml11-040.xhtml - XHTML 1.1, leading and trailing spaces in type value
- xhtml11-041.xhtml - XHTML 1.1, trailing space in href value
- xhtml11-042.xhtml - XHTML 1.1, leading space in href value
- xhtml11-043.xhtml - XHTML 1.1, leading and trailing spaces in href value
- xhtml11-044.xhtml - XHTML 1.1, leading and trailing spaces in href value, relative URI
- xhtml11-045.xhtml - XHTML 1.1, relative URI relative to declared base URI
- xhtml11-046.xhtml - XHTML 1.1, relative URI relative to declared base URI #2
- xhtml11-047.xhtml - XHTML 1.1, relative URI relative to declared base URI on another server
- xhtml11-048.xhtml - XHTML 1.1, relative URI relative to declared base URI on another server #2
- xhtml11-049.xhtml - XHTML 1.1, relative URI relative to declared base URI on another server #3
- xhtml11-051.xhtml - XHTML 1.1, base URI distraction
- xhtml11-052.xhtml - XHTML 1.1, base URI declared after link should be ignored
- xhtml11-053.xhtml - XHTML 1.1, numeric entity for A in rel value
- xhtml11-054.xhtml - XHTML 1.1, numeric entity for a in rel value
- xhtml11-055.xhtml - XHTML 1.1, numeric entity for I in type value
- xhtml11-056.xhtml - XHTML 1.1, numeric entity for + in type value
Revision history:
- (2007-05-30) Added test HTML4-057 with UTF-16-encoded HTML.
- (2006-01-18) Updated sample feeds to Atom 1.0. HTML and XHTML test files are unchanged.