[uf-discuss] dtstart and dtend with value class pattern
scott at randomchaos.com
Mon May 25 13:01:59 PDT 2009
On May 25, 2009, at 11:47 AM, Chris Cressman wrote:
> I'd like to mark up the example below with a dtstart and dtend. I've
> done this in the past using the abbr design pattern. I'd like to use
> the value class pattern instead. However, I haven't been able to find
> any examples of the value class pattern that include both a dtstart
> and dtend. Can someone recommend markup for my example below? I'd like
> to include machine readable datetimes without changing the human
> readable text. Thank you.
> Example: <p>Saturday, June 13, 2009, 4pm–7pm</p>
> dtstart: 2009-06-13T20:00:00Z
> dtend: 2009-06-13T23:00:00Z
By my reading of the value class pattern , you want this:
<p><span class="dtstart"><span class="value-title"
title="2009-06-13T20:00:00Z"> </span>Saturday, June 13, 2009, 4pm</
span>–<span class="dtend"><span class="value-title"
More information about the microformats-discuss