Pages

Monday, August 09, 2010

XHTML+RDFa Template

There was some more discussion on machine readability of notebooks again, something I have blogged about for a long time now.

One technical approach to implement the idea of adding semantic to text in HTML pages is RDFa. But with any technology, scientists seems to have an in-built deficiency of thinking clearly, and anything beyond being able to format your bibliography with the correct bold and italic seems to be a bit much asked.

Anyway, for future reference, this is a basic HTML framework for embedding RDFa:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
    "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    version="XHTML+RDFa 1.0" xml:lang="en">
  <head>
    <title>ACS RDF Symposium, Boston, August 2010</title>
  </head>
  <body>
  </body>
</html>

Perhaps you prefer the raw source.