[uf-discuss] Re: Combining hCard and hCalendar
Ciaran McNulty
mail at ciaranmcnulty.com
Tue Aug 7 06:35:31 PDT 2007
On 8/7/07, Peter Bremer <peter.bremer+microformats at gmail.com> wrote:
> 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>
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:
<colgroup span="2"></colgroup>
<colgroup span="2" class="vcard organiser"></colgroup>
<tr class="event">
<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>
But a close reading of the HTML spec would be required, and I doubt
any parsers would pick it up..
-Ciaran McNulty
More information about the microformats-discuss
mailing list