[uf-discuss] ANN: hCard Tutorial

Tantek Ç elik tantek at cs.stanford.edu
Tue Dec 5 09:15:58 PST 2006


On 12/4/06 4:06 PM, "Costello, Roger L." <costello at mitre.org> wrote:

> Hi Folks,
> 
> I have created a tutorial on how to markup (X)HTML documents using the
> hCard properties:
> 
> http://www.xfront.com/microformats/hCard.html
> 
> Comments welcome.

Hi Roger,

This is a nice step by step tutorial presentation.

One critique is that the first couple of examples with Dr. John Q. Public
are invalid hCard because you cannot *only* use "fn" with a formatted name
that is more than two words - you *must* also use "n" and its subproperties.

See: http://microformats.org/wiki/hcard#Implied_.22n.22_Optimization

Consider changing your first and second examples to only state "John Public"
and therefore able to use the implied N optimization rule.  This way you
introduce people to the common easy case first, and then show the more
detailed example with "n" and subproperties later.

Thanks,

Tantek



More information about the microformats-discuss mailing list