[whatwg] Historic dates in HTML5
jim at eatyourgreens.org.uk
jim at eatyourgreens.org.uk
Thu Mar 5 03:33:00 PST 2009
Thanks Henri,
Is <time> then like <address> in HTML 4? ie. intended for certain dates
only, just as <address> may not be used to mark up all addresses? In that
case, the spec should be clear on correct and incorrect usage, with
examples of both to guide authors.
Bruce Lawson uses <time> to mark up the dates of blog posts in the HTML5
version of his wordpress templates. Is this incorrect usage of HTML5? If
not, how should HTML5 blog templates work when the blog is dated from 1665
(http://pepysdiary.com) or 1894 (http://www.cosmicdiary1894.blogspot.com/)?
Regards
Jim
Original Message:
-----------------
From: Henri Sivonen hsivonen at iki.fi
Date: Thu, 5 Mar 2009 10:04:45 +0200
To: jim at eatyourgreens.org.uk, whatwg at lists.whatwg.org
Subject: Re: [whatwg] Historic dates in HTML5
On Mar 5, 2009, at 01:29, Jim O'Donnell wrote:
> Is there any suitable markup in HTML5 for dates in digitised
> documents from museums, libraries and archives?
What would consuming software do with those dates?
The <time> element is meant as a replacement for the microformat
<abbr> design pattern in hCalendar (if the microformat community
embraces <time>; if not, <time> in pretty much pointless in HTML5).
The expected use cases of hCalendar are mainly transferring *future*
event entries from a Web page into an application like iCal.
Conceivable, one might perhaps also want to support entries that
encode the birthday (in the past) of a living person with an annual
repeat.
--
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://link.mail2web.com/mail2web
More information about the whatwg
mailing list