I'm under the impression you need the FN, too. Without that, I don't think the parsers will recognize it. As for not using N, the vcard spec requires it, but hcard implies it with the use of FN.

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

That's my read on it.

Pat

On 4/20/06, Chris Messina < [EMAIL PROTECTED]> wrote:
Well, actually, I probably am wrong -- could someone point me to the
authoritative rules on whether your proposal is correct? I just always
presumed that you needed FN... Didn't realize that you'd use N if you
split up the name... seems counter-intuitive I guess even if it
follows the standard.

Chris

On 4/20/06, Nick Swan <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> try to write a parser for hcards and came across Chris Messina's.
>
> <a class="url fn" rel="me"
> href="" href="http://factoryjoe.com/blog">http://factoryjoe.com/blog"><span
> class="given-name">Chris</span> <span
> class="family-name">Messina</span></a>
>
>
> Now I'm sure he hasn't got his wrong, but I thought it would be:
> <a class="url n" rel="me"
> href="" href="http://factoryjoe.com/blog">http://factoryjoe.com/blog"><span
> class="given-name">Chris</span> <span
> class="family-name">Messina</span></a>
>
>
>
> or
>
>
> <a class="url fn" rel="me"
> href="" href="http://factoryjoe.com/blog">http://factoryjoe.com/blog>ChrisMessina</a>
>
> I thought you only split the name up if the class is given an attribute
> value of n?
>
>
> Cheers
>
> Nick
> _______________________________________________
> microformats-discuss mailing list
> [email protected]
> http://microformats.org/mailman/listinfo/microformats-discuss
>
>
>
_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss



--
Pat Ramsey
[EMAIL PROTECTED]
http://www.southwestern.edu/~ramseyp
_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss

Reply via email to