[uf-discuss] hCard names - n vs. fn
Andy Mabbett
andy at pigsonthewing.org.uk
Sun Apr 22 13:06:22 PDT 2007
I'm not clear on the relationship between "n" and "fn " in hCard. I have
some markup:
<TD class="n">
<SPAN class="honorific-prefix">The Rt Hon</SPAN>
<SPAN class="fn">Tony Blair</SPAN>
<SPAN class="honorific-suffix">MP</SPAN>
</TD>
Tails gives:
Name: The Rt Hon Tony Blair MP
Full Name: Tony Blair
Given Name: %
Family Name: %
Additional Name: %
Honorific Prefix: The Rt Hon
Honorific Suffix: MP
Nickname: %
Operator gives:
fn=Tony Blair
object n {
object honorific-prefix {
0=The Rt Hon
}
object honorific-suffix {
0=MP
}
and exports:
BEGIN:VCARD
N;CHARSET=UTF-8:;;;The Rt Hon;MP
FN;CHARSET=UTF-8:Tony Blair
Which is right, and is the mark-up valid? It's not possible to mark up
given- and family- names, as this is template generated, and the
granularity cannot be guaranteed.
--
Andy Mabbett
* Say "NO!" to compulsory ID Cards: <http://www.no2id.net/>
* Free Our Data: <http://www.freeourdata.org.uk>
* Are you using Microformats, yet: <http://microformats.org/> ?
More information about the microformats-discuss
mailing list