[uf-discuss] hCards for places

Andy Mabbett andy at pigsonthewing.org.uk
Tue Jan 1 15:09:27 PST 2008


In message <LFX4o9lCqDeHFwnK at pigsonthewing.org.uk>, Andy Mabbett
<andy at pigsonthewing.org.uk> writes

>Perhaps the rule should be that the hCard is for a place if the "fn" is
>on *any* address ("adr") child-component (e.g. "fn locality" or "fn
>street-address")?
>
>This would allow, for instance:

Further testing shows that this pattern would have to be excluded from
the "implied n optimisation" rule, which, obviously, does not apply in
cases such as:

        <foo class="vcard">
          <foo class="adr">
            <foo class="fn locality">
                New York
            </foo>
          </foo>
        </foo>

Likewise "implied nickname optimisation":

        <foo class="vcard">
          <foo class="adr">
            <foo class="fn locality">
                Boston
            </foo>
          </foo>
        </foo>

-- 
Andy Mabbett


More information about the microformats-discuss mailing list