[uf-discuss] Re: Combining hCard and hCalendar
Ray Daly
raydaly at gmail.com
Tue Aug 7 05:38:24 PDT 2007
To solve a problem like this, I include all the vcard info within one
cell and then set the display attribute to none. The vcard did not get
displayed but was read by both of the Firefox plugins.
On 8/7/07, Peter Bremer <peter.bremer+microformats at gmail.com> wrote:
> > > I've got a table that lists a number of events and their organisers.
> > > I'd like to include both hCalendars for the events, and hCards for the
> > > organisers.
> > >
> > > Since each event is listen along with its organiser in a table row,
> > > I've given CLASS="vcard vevent" to the TR. However, now I notice some
> > > of the hCard and hCalendar attributes clash, especially "url" in my
> > > case. The url is only meant to be included in the hCalendar, not in
> > > the hCard.
> > >
> > > How should I handle this case where hCards and hCalendars are mixed
> > > together, without getting conflicting attributes?
> >
> > Do you have a live URL we can look at? Ideally you'd have
> > class="vcard organizer" within the vevent rather than class="vcard
> > vevent", limiting the scope of the hCard to the actual contact
> > information. That can be more complex in tables, but it is
> > possible. See:
> >
> > http://microformats.org/wiki/hcalendar-
> > brainstorming#Tabular_event_calendars
> >
> > Peace,
> > Scott
>
> The site is dynamic and on the intranet, so difficult to show
> something, but the basic layout of the table is thus:
>
> | Event 1 | 01-01-2007 | example.org/event1 | Organiser 1 | email1 at example.org |
> | Event 2 | 02-02-2007 | example.org/event2 | Organiser 1 | email1 at example.org |
> | Event 3 | 03-03-2007 | example.org/event3 | Organiser 2 | email2 at example.org |
>
> I would like to be able to extract 2 contacts and 3 events from this
> table, and the url (example.org/eventx) should only be connected to
> the event.
> My table row template is as follows:
>
> <tr class="vcard vevent">
> <td class="summary">Event 1</td>
> <td><abbr title="20070101" class="dtstamp">2007-01-01</abbr></td>
> <td><a href="http://example.org/event1" class="url">subscribe</a></td>
> <td class="fn">Organiser 1</td>
> <td><a href="mailto:email1 at example.org" class="email">contact</a></td>
> </tr>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>
--
Blog- http://www.abcedmindedness.com
More information about the microformats-discuss
mailing list