Thanks. That appears to be very close to what I want, however, it includes an unwanted whitespace character between the en dash and the 7. I'll experiment with this further.
On Mon, May 25, 2009 at 4:01 PM, Scott Reynen <[email protected]> wrote: > 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. >> >> Chris >> >> >> 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 [1], 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" > title="2009-06-13T23:00:00Z"> </span>7pm</span></p> > > [1] http://microformats.org/wiki/value-class-pattern > > Peace, > Scott > > _______________________________________________ > microformats-discuss mailing list > [email protected] > http://microformats.org/mailman/listinfo/microformats-discuss > _______________________________________________ microformats-discuss mailing list [email protected] http://microformats.org/mailman/listinfo/microformats-discuss
