W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2009

[whatwg] Historic dates in HTML5

From: <jim@eatyourgreens.org.uk>
Date: Thu, 5 Mar 2009 06:33:00 -0500
Message-ID: <380-2200934511330199@M2W039.mail2web.com>
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@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
Received on Thursday, 5 March 2009 03:33:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:49 GMT