List Info

Thread: contacts within hCal




contacts within hCal
user name
2008-05-07 18:35:10
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? That section of the
wiki is a little vague, and from reading the iCal spec it
doesn't seem like it's looking for a vCard style format of
data. If I don't have to, has anyone else addressed this
issue of not knowing whether the name is of a person, a job
title, or an organization?

Thanks.
dw

Dylan Wilbanks
Web Producer
School of Public Health and Community Medicine
University of Washington
F-350 Health Sciences Bldg
1959 NE Pacific St
Box 357230
Seattle, WA 98195-7230
V: 206.221.6395
F: 206.543.3813
E: wilbanksu.washington.edu


_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: contacts within hCal
user name
2008-05-07 19:09:30
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"

http://microformats.org/wiki/hcalendar#More_Sema
ntic_Equivalents

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.

Peace,
Scott

_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )