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

[whatwg] <time>

From: Toby A Inkster <mail@tobyinkster.co.uk>
Date: Tue, 10 Mar 2009 21:07:12 +0000
Message-ID: <8AE3E3BE-F96F-413E-9E7E-083983B0FC45@tobyinkster.co.uk>
This seems to provide a good use case for a couple of RDFa attributes:

<time xmlns:d="http://dbpedia.org/resource/"
       datatype="d:Mesoamerican_Long_Count_calendar"
       content="12.19.16.2.18"
       >13 Etz'nab' 1 Kumk'u</time>

Adopting RDFa in HTML5 not only gives us a technique for embedding  
RDF triples in HTML, but also gives us an attribute pair (datatype,  
content) which can be used for general purpose embedding of machine- 
readable equivalents to human-readable information.

The only precaution is that for any element which uses one or both of  
these attributes, if the element also contains a property attribute,  
then the content and datatype attributes must be used in an RDFa- 
compatible manner.

-- 
Toby A Inkster
<mailto:mail at tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Tuesday, 10 March 2009 14:07:12 GMT

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