[uf-discuss] Chris Messina's hcard

Pat Ramsey ramsey.pat at gmail.com
Thu Apr 20 06:32:55 PDT 2006


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 <chris.messina at gmail.com> 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 <nick.swan at gmail.com> wrote:
> >
> > Hi all,
> > try to write a parser for hcards and came across Chris Messina's.
> >
> > <a class="url fn" rel="me"
> > href="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="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="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
> > microformats-discuss at microformats.org
> > http://microformats.org/mailman/listinfo/microformats-discuss
> >
> >
> >
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>



--
Pat Ramsey
ramsey.pat at gmail.com
http://www.southwestern.edu/~ramseyp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://microformats.org/discuss/mail/microformats-discuss/attachments/20060420/4551046c/attachment.htm


More information about the microformats-discuss mailing list