hcard-tests: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (Reverted edits by TacliBasba (Talk) to last version by RyanKing)
(updated with links to newer tests)
Line 1: Line 1:
= hCard tests =
<entry-title> hCard tests </entry-title>


== newest tests ==
From [[test-suite]]:
* http://ufxtract.com/testsuite/hcard/
* http://ufxtract.com/testsuite/geo/
* ...
== previous mercurial tests ==
The [http://microformats.org/tests/ hcard and hcalendar tests collection] was announced in a [http://microformats.org/discuss/mail/microformats-dev/2006-June/000102.html Jun 7 2006 message] from [http://theryanking.com/ RyanKing].
The [http://microformats.org/tests/ hcard and hcalendar tests collection] was announced in a [http://microformats.org/discuss/mail/microformats-dev/2006-June/000102.html Jun 7 2006 message] from [http://theryanking.com/ RyanKing].


Line 10: Line 17:
in that code.
in that code.


== External Tests ==
== even older external tests ==
 
These <span id="External_Tests">external tests</span> have been obsoleted by the above test suites.
These tests have been obsoleted by the above test suite.


DanConnolly is working on [http://dev.w3.org/cvsweb/2001/palmagent/hcardTest.html hcardTest.html]; [http://dev.w3.org/cvsweb/~checkout~/2001/palmagent/hcardTest.html?rev=HEAD&content-type=text/html;%20charset=iso-8859-1 the current version] is always available. (I dunno why cvsweb uses the ordinary looing URL for the changelog rather than the current version.)
DanConnolly is working on [http://dev.w3.org/cvsweb/2001/palmagent/hcardTest.html hcardTest.html]; [http://dev.w3.org/cvsweb/~checkout~/2001/palmagent/hcardTest.html?rev=HEAD&content-type=text/html;%20charset=iso-8859-1 the current version] is always available. (I dunno why cvsweb uses the ordinary looing URL for the changelog rather than the current version.)

Revision as of 03:20, 30 November 2009

<entry-title> hCard tests </entry-title>

newest tests

From test-suite:

previous mercurial tests

The hcard and hcalendar tests collection was announced in a Jun 7 2006 message from RyanKing.

They are published at http://microformats.org/tests/hcard/. Each test has an HTML file to parse and a vCard file which describes the hCard data contained in the HTML file.

It's managed in an hg repository. hg/mercurial is a distributed revision control system. It can be a little tricky to unlearn cvs habits; there are some good diagrams in slides from a 19 Jun talk that Bryan O'Sullivan gave at google. The mercurial presentations page also has a link to a 50 minute video.

An x2v hg repository holds code that, by design, passes the tests. x2v-issues is a place to track issues in that code.

even older external tests

These external tests have been obsoleted by the above test suites.

DanConnolly is working on hcardTest.html; the current version is always available. (I dunno why cvsweb uses the ordinary looing URL for the changelog rather than the current version.)

MarkPilgrim maintains a series of hCard tests for use with his hCard parser

Related Pages

The hCard 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.