[uf-discuss] hCard: url and tel

Andy Mabbett andy at pigsonthewing.org.uk
Mon Jan 7 01:21:05 PST 2008


In message
<18050cf90801062137p7b98b416rd18808ccc4a0c9da at mail.gmail.com>, Paul
Wilkins <pmw57 at xtra.co.nz> writes

>On Jan 7, 2008 9:54 AM, Andy Mabbett <andy at pigsonthewing.org.uk> wrote:
>> Nor should you replace "31 Dec 2007" with "2008-01-01", as is currently
>> done in:
>>
>>         <abbr class="dtend" title="2008-01-01">31 Dec 2007</abbr>
>>
>>
>> I can't understand how anyone ever thought that acceptable.
>
>We're going to have to work through this then, because events that end
>at a certain time do not get pushed forward by a day.
>
>With dtend,if the time isn't known it's presumed to be midnight at the
>very start of the day.
>    <abbr class="dtend" title="2008-01-01T00:00:00">31 Dec 2007</abbr>
>
>Would it be better if the parser interpreted an ending date with an
>unknown time as the very end of the stated day?
>    <abbr class="dtend" title="2007-12-31T23:59:59">31 Dec 2007</abbr>

No, it would be better if a parser accepted, say:

        <abbr class="inclusive-dtend" title="2007-12-31">
          31 Dec 2007
        </abbr>

and wrote "2008-01-01" when outputting an iCalendar file.


That way, we'd be's following the microformats principle of applying
semantics to the data people are already publishing; and making it less
confusing for publishers to do so.

-- 
Andy Mabbett

        are you using Microformats, yet: <http://microformats.org/> ?


More information about the microformats-discuss mailing list