- From: Bob DuCharme <bob@snee.com>
- Date: Wed, 02 Apr 2008 14:54:13 -0400
- To: W3C RDFa task force <public-rdf-in-xhtml-tf@w3.org>
I'm adding some RDFa markup to a web page showing a conference schedule
and wanted to hear any opinions on the general model I'm using.
If I could rearrange the HTML itself, I could make it the HTML+RDFa much
simpler, but that's not an option, so it's purely about RDFa decoration.
Here's how an example it looks with no RDFa:
<table>
<tr>
<th></th>
<th>Blue Room</th>
<th>Green Room</th>
</tr>
<tr>
<td>9:00 - 10:00</td>
<td>
<!-- href points to a description of the session. -->
<p><a href="http://snee.com/whatever/b1">Fuel-efficient
houses</a></p>
<p>Jane Smith, VP,Green Houses, Inc.</p>
</td>
<td>
<p><a href="http://snee.com/whatever/g1">A pesticide-free
lawn</a></p>
<p>Frank Jones, Director, Shelbyville Lawns</p>
</td>
</tr>
</table>
Here it is with some RDFa added:
<table>
<tr>
<th></th>
<th>Blue Room</th>
<th>Green Room</th>
</tr>
<tr>
<td>9:00 - 10:00</td>
<td instanceof="cal:Vevent" about="http://snee.com/whatever/b1">
<span property="cal:dtstart"
content="20080412T0900-0500"></span>
<span property="cal:dtend"
content="20080412T1000-0500"></span>
<span property="cal:location"
content="Blue Room"></span>
<p><a href="http://snee.com/whatever/b1"
property="cal:description">Fuel-efficient houses</a></p>
<p><span property="dc:creator">Jane Smith</span>, VP,Green
Houses, Inc.</p>
</td>
<td instanceof="cal:Vevent" about="http://snee.com/whatever/g1">
<span property="cal:dtstart"
content="20080412T0900-0500"></span>
<span property="cal:dtend"
content="20080412T1000-0500"></span>
<span property="cal:location"
content="Green Room"></span>
<p><a href="http://snee.com/whatever/g1"
property="cal:description">A pesticide-free lawn</a></p>
<p><span property="dc:creator">Frank Jones</span>, Director,
Shelbyville Lawns</p>
</td>
</tr>
</table>
I used the URL of the talks' description, which the original HTML links
to, as the talk's identity, and each talk has values for cal:dtstart,
cal:dtend, cal:location, cal:description, and dc:creator properties.
If the speaker's company name had a link to their homepage, I could call
it a foaf:workplaceHomePage property, but to show that it's a property
of the creator of the talk and not of the talk itself would just about
double the amount of markup added, and the markup I've already added has
more than doubled the amount of text.
Any ideas or suggestions about what I have so far or how I could augment
it without adding a significant amount of markup?
thanks,
Bob
Received on Wednesday, 2 April 2008 18:53:26 UTC