[whatwg] <time>

Toby A Inkster mail at tobyinkster.co.uk
Tue Mar 10 14:07:12 PDT 2009


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>






More information about the whatwg mailing list