[uf-discuss] contacts within hCal
scott at randomchaos.com
Wed May 7 17:09:30 PDT 2008
On May 7, 2008, at 5:35 PM, Dylan Wilbanks wrote:
> Hi --
> I'm new to the list, so if the following issue has been already been
> addressed, my apologies.
> I'm converting our homegrown events calendar display UI from its
> 2001-era HTML to microformatted XHTML. The problem I've run into is
> with event contact info. I'm not sure of what the contact on an
> event is -- a specific person, an organization, or even just a job
> title. (The form in our system has just three fields for a contact
> -- contact name, contact phone, contact email.) Because I don't know
> what kind of contact an event is, I'm not sure I can construct an
> hCard around the data.
> Must I construct contact as a vCard?
No. "ATTENDEE, CONTACT, and ORGANIZER in iCalendar *may* be
represented by an hCard in hCalendar"
If you know the phone and email, you can mark those up without
wrapping them in a vCard and still add some practical semantics, e.g.
software can recognize phone numbers with class="tel" and use them in
VOIP software without knowing who the number is calling.
More information about the microformats-discuss