[uf-discuss] dtstart and dtend with value class pattern
chris at chriscressman.com
Mon May 25 13:49:03 PDT 2009
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 <scott at randomchaos.com> 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.
>> 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"
> title="2009-06-13T23:00:00Z"> </span>7pm</span></p>
>  http://microformats.org/wiki/value-class-pattern
> microformats-discuss mailing list
> microformats-discuss at microformats.org
More information about the microformats-discuss