[uf-discuss] A question about the "locality" property in hCard
microformat
Janne Kainulainen
janne.kainulainen at gmail.com
Mon Dec 17 23:45:56 PST 2007
Hi everyone,
I've run into a bit of a problem with the locality property in hCard
microformat with large companies in Finland.
Large companies in Finland can get their company name as their
"locality" in their mailing address.
I've worked with the Finnish national broadcasting company YLE (the
Finnish equivalent to the BBC) in the past and suggested they use the
hCard Microformat in their global footer to display their address.
They've started to do so, but Microformat parsers get the address
wrong because of this locality issue. Should it be even marked as
"locality" because it's not an actual location any more? Operator for
example gets it wrong when trying to a find the address on Google
maps.
Could the solution be to add the "org" property as a secondary
classname to the locality resulting in "locality org"?
Live example from http://www.yle.fi
---
<address class="contact">
<span class="vcard">
<span class="fn org">Yleisradio Oy</span>,
<span class="adr">
<span class="street-address">Radiokatu 5</span>,
<span class="postal-code">00024</span>
<span class="locality">Yleisradio</span>,
</span>
puh. <span class="tel">(09) 14801</span>
</span>
</address>
---
Possible solution with two properties locality + org ?
---
<address class="contact">
<span class="vcard">
<span class="fn org">Yleisradio Oy</span>,
<span class="adr">
<span class="street-address">Radiokatu 5</span>,
<span class="postal-code">00024</span>
<span class="locality org">Yleisradio</span>,
</span>
puh. <span class="tel">(09) 14801</span>
</span>
</address>
---
br,
Janne
More information about the microformats-discuss
mailing list