This was part of COMURI.
HMformat
is a XHTML based format where the relevant elements have
id
attributes.
It must have a reasonable human presentation using CSS and with anchors
(a).
HMformat is a combined human-machine format. Conceptually is similar to [[MICROFORMATS]].
It is recommended to code the data as key-value pairs, where:
idhref; if absent, the element contentHuman readable format means that humans can read it and that it has mechanisms for web navigation, such as clickable anchor in a browser. Example: HTML.
Machine readable format means that it can be programatically processed. Example: XML, JSON.
Combined human-machine format means that it is both, human and machine readable. Example: XHTML-ID.
Formats for URI metadata structure Formats appropriate for the URI metadata structure. Combined human-machine formats should be preferred.
The URI metadata structure must be available in at least one human readable format and one machine readable format. The default format is XHTML-ID. The content should be as language neutral as possible.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Metadata</title>
<link rel="stylesheet" href="metadata.css" type="text/css" media="all" />
<head>
<body id="comuri">
<ul>
<li><a id="dc" href="dc"></a></li>
<li><a id="version" href="ver"></a></li>
<ul>
<table>
<tr>
<td><a id="de,html" href="foo-lang-format"></a></td>
<td><a id="de,xml" href="foo-lang-format"></a></td>
<td><a id="de,pdf" href="foo-lang-format"></a></td>
</tr>
<tr>
<td><a id="en,html" href="foo-lang-format"></a></td>
<td><a id="en,xml" href="foo-lang-format"></a></td>
<td><a id="en,pdf" href="foo-lang-format"></a></td>
</tr>
<tr>
<td><a id="es,html" href="foo-lang-format"></a></td>
<td><a id="es,xml" href="foo-lang-format"></a></td>
<td><a id="es,pdf" href="foo-lang-format"></a></td>
</tr>
</table>
</body>
</html>
/*
metadata.css
URI metadata
23 June 2014
M.T. Carrasco Benitez
*/
body {
margin : 1% ;
border : 1px solid #660000 ;
padding : 1% ;
background-color : #fffff3 ;
font-family : monospace ;
font-size : 1.5em ;
color : #000000 ;
}
a:before {
content : attr(id) ;
}
ul {
margin-left : 5% ;
}
table {
margin-left : 7% ;
padding : 0.8% ;
border-collapse : collapse ;
}
th {
border : 1px solid #888888 ;
padding : 0.2em ;
text-align : center ;
font-size : 1em ;
}
td {
border : 1px solid #888888 ;
padding : 0.2em ;
text-align : center ;
font-size : 1em ;
}
/* +++ */