[uf-discuss] best practices to represent "person working at"

Arnaud Sahuguet sahuguet at google.com
Thu Apr 22 13:44:38 PDT 2010


Hi,

say I want to represent a doctor working at a hospital.
What's the preferred way to represent that?

<div class="vcard">
 <span class="fn">Perry Cox, MD</span>
 <div class="org">Sacred Heart hospital</div>
 <div class="adr">
  <div class="street-address">1 Hospital Avenue</div>
  <span class="locality">San Diego</span>,
  <span class="region">CA</span>
  <span class="postal-code">92101</span>
 </div>
 <div class="tel">619) 555-5020 x 1234</div>
</div>

VS

<div class="vcard">
 <span class="fn">Perry Cox, MD</span>
 <div class="card org"><a href="http://sacredheart.org"
rel="group">Sacred Heart hospital</a></div>
 <div class="adr">
  <div class="street-address">1 Hospital Avenue</div>
  <span class="locality">San Diego</span>,
  <span class="region">CA</span>
  <span class="postal-code">92101</span>
 </div>
 <div class="tel">619) 555-5020 x 1234</div>
</div>
But the use of rel-org assumes that the containing page represents Dr
Perry Cox (representative hcard).


regards,

-- 
Arnaud




--
Arnaud


More information about the microformats-discuss mailing list