validating microformats (was Re: [uf-discuss] Google Gdata new syndication protocol!)

Ryan King ryan at technorati.com
Fri Apr 21 15:14:31 PDT 2006


On Apr 21, 2006, at 1:26 PM, Ben Ward wrote:

> That's excellent Mark.
>
> I have a small additional suggestion for 'validator' feedback, that
> concerning common errors in naming conventions: Such as the use of a
> 'middle-name' classname when 'additional-names' was intended. Also
> 'locality', 'region', 'postal-code', 'country-name' can be misentered
> as 'city', 'county', 'zip' or 'zip-code' and 'country' respectively.
>
> I've seen at least one instance of those sorts of errors come up in
> examples on this list just last week. I think generating warnings for
> those and similar occurrences would be appreciated.

Take a look at Brian's previous work on this, in the form of a  
preflight xslt stylesheet:

http://suda.co.uk/projects/X2V/xhtml2vcard-preflight.xsl

-ryan


More information about the microformats-discuss mailing list