Re: [uf-discuss] Re: Combining hCard and hCalendar
On 8/7/07, Scott Reynen <[EMAIL PROTECTED]> wrote: > On Aug 7, 2007, at 2:45 AM, Peter Bremer wrote: > > > The site is dynamic and on the intranet, so difficult to show > > something, but the basic layout of the table is thus: > Someone more familiar with table column semantics could maybe explain > how that works (I've never used it), but you could also do this with > the include pattern [1]: --- table semantics pop-up every once and awhile, and i keep meaning to scribble some more notes down on the wiki, but never have time. Tables have several additional semantic attributes, such as AXIS, HEADER, and SCOPE. http://microformats.org/wiki/hcalendar-brainstorming#Tabular_event_calendars There is even a note saying TODO, but we´ve never gotten around to it. It requires some back-ground reading and abit of homework, but X2V supports it. header/id call-backs. This might help you get some of the results you are looking for, in a semantic fashion as well. Sorry i can't be more help. -brian -- brian suda http://suda.co.uk ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss
Re: [uf-discuss] Re: Combining hCard and hCalendar
On 8/7/07, Peter Bremer <[EMAIL PROTECTED]> wrote: > My table row template is as follows: > > > Event 1 > 2007-01-01 > http://example.org/event1"; class="url">subscribe > Organiser 1 > mailto:[EMAIL PROTECTED]" class="email">contact > This is pretty tricky, as there's no valid element that can wrap around the TDs. I think something like the following may make semantic sense: Event 1 2007-01-01 http://example.org/event1"; class="url">subscribe Organiser 1 mailto:[EMAIL PROTECTED]" class="email">contact But a close reading of the HTML spec would be required, and I doubt any parsers would pick it up.. -Ciaran McNulty ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss
Re: [uf-discuss] Re: Combining hCard and hCalendar
On Aug 7, 2007, at 2:45 AM, Peter Bremer wrote: 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 | [EMAIL PROTECTED] | | Event 2 | 02-02-2007 | example.org/event2 | Organiser 1 | [EMAIL PROTECTED] | | Event 3 | 03-03-2007 | example.org/event3 | Organiser 2 | [EMAIL PROTECTED] | 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: Event 1 2007-01-01 http://example.org/event1"; class="url">subscribea> Organiser 1 mailto:[EMAIL PROTECTED]" class="email">contacta> Someone more familiar with table column semantics could maybe explain how that works (I've never used it), but you could also do this with the include pattern [1]: Event 1 2007-01-01 http://example.org/event1"; class="url">subscribetd> Organiser 1class="include" href="#email1"> mailto:[EMAIL PROTECTED]" class="email">contact Also, I'm guessing you probably want "dtstart" instead of "dtstamp". The former indicates when an event is happening, the latter when it was published. [1] http://microformats.org/wiki/include-pattern Peace, Scott ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss
Re: [uf-discuss] Re: Combining hCard and hCalendar
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 <[EMAIL PROTECTED]> 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 | [EMAIL PROTECTED] > | > | Event 2 | 02-02-2007 | example.org/event2 | Organiser 1 | [EMAIL PROTECTED] > | > | Event 3 | 03-03-2007 | example.org/event3 | Organiser 2 | [EMAIL PROTECTED] > | > > 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: > > > Event 1 > 2007-01-01 > http://example.org/event1"; class="url">subscribe > Organiser 1 > mailto:[EMAIL PROTECTED]" class="email">contact > > ___ > microformats-discuss mailing list > microformats-discuss@microformats.org > http://microformats.org/mailman/listinfo/microformats-discuss > -- Blog- http://www.abcedmindedness.com ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss
[uf-discuss] Re: Combining hCard and hCalendar
> > 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 | [EMAIL PROTECTED] | | Event 2 | 02-02-2007 | example.org/event2 | Organiser 1 | [EMAIL PROTECTED] | | Event 3 | 03-03-2007 | example.org/event3 | Organiser 2 | [EMAIL PROTECTED] | 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: Event 1 2007-01-01 http://example.org/event1"; class="url">subscribe Organiser 1 mailto:[EMAIL PROTECTED]" class="email">contact ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss