[uf-discuss] Getting started with microformats

Ciaran McNulty mail at ciaranmcnulty.com
Thu Aug 17 04:16:15 PDT 2006

On 8/17/06, Graham Higgins <gjh-ufdiscuss at bel-epa.com> wrote:
> In my case, there is a set of key individuals who, for operational
> reasons, are not directly contactable. Specifically, they choose not
> to publish their email address or direct line number. An assistant's
> name, email and direct line is advertised as the point of contact for
> the key individual.

vCard (and therefore hCard) has a field named 'agent', for just this
sort of thing.

I believe the markup looks something like:

<div class="vcard">
  <span class="fn">John Smith</span> can be reached via his secretary
  <span class="agent vcard">
    <span class="fn">John Doe</span> on
    <span class="tel">020 1111 1111</span>

See http://microformats.org/wiki/hcard-examples#2.4.2_VCARD

A smart parser will convert that correctly and I suspect even a
slightly more simplistic parser would manage to churn out two vCards
with the same telephone number for both parties.


More information about the microformats-discuss mailing list