<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://technicalfoundations.ukoln.ac.uk/taxonomy/term/327/all" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>HTML5: relevant content on this site</title>
    <link>http://technicalfoundations.ukoln.ac.uk/taxonomy/term/327/all</link>
    <description></description>
    <language>en</language>
          <item>
    <title>HTML5 Case Study 9:  WordDown: A Word-to-HTML5 Conversion Tool</title>
    <link>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-study-9-worddown-word-html5-conversion-tool</link>
    <description>&lt;p&gt;Author: Peter Sefton&lt;/p&gt;
&lt;h1 class=&quot;entry-title&quot;&gt;HTML5 Case Study 9: WordDown: A Word-to-HTML5 Conversion Tool&lt;/h1&gt;
&lt;h1&gt;1. About This Case Study&lt;/h1&gt;
&lt;!--
&lt;h3&gt;HTML5 case study on &quot;WordDown: A Word-to-HTML5 Conversion Too&quot; by Peter Sefton&lt;/h3&gt;
--&gt;&lt;!--
&lt;h3&gt;HTML5 case study on &quot;WordDown: A Word-to-HTML5 Conversion Too&quot; by Peter Sefton&lt;/h3&gt;
--&gt;&lt;h2&gt;Target Audience&lt;/h2&gt;
&lt;p&gt;The main audience for this work is tool developers building authoring systems, repositories and publishing infrastructure for academic documents.&lt;/p&gt;
&lt;p&gt;It may also be useful to committed academic authors, comfortable with HTML already and some technical skills, who would be able to install a bookmarklet and possibly run Python code on a Windows machine (i.e., not the broad academic community at this stage).&lt;/p&gt;
&lt;h2&gt;What Is Covered&lt;/h2&gt;
&lt;p&gt;This case study examines ways that academic authors working with word processors such as Microsoft Word, the OpenOffice.org family and Google Docs would be able to produce compliant Scholarly HTML5. Due to time constraints, the tool developed for this project handles Microsoft Word documents only, but the principles outlined here apply more broadly.&lt;/p&gt;
&lt;p&gt;Word processors are used very widely in academia for all sorts of document authoring. Articles, essays, theses, course materials, and so on, are being produced in huge quantities in Microsoft Word and similar applications in the Higher Education sector. Yet they are not easy to convert to good-quality, clean, semantically rich HTML 5 of the type being discussed in the JISC HTML5 Project.&lt;/p&gt;
&lt;p&gt;This is a critical piece of work for the overall project of bringing scholarship to the (semantic) web. If the tools still being used to create academic content do not create HTML natively, then who will do the mark-up? What new tools are needed, if any? This case study will consider these questions, as well as produce some demonstrations of what is possible with the example application, &lt;a href=&quot;http://code.google.com/p/jischtml5/wiki/WordDown&quot;&gt;WordDown&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;What Is Not Covered&lt;/h2&gt;
&lt;p&gt;The questions posed above about tools for creating HTML5 are even more pertinent if we are targeting XML for scholarly documents. However, XML is in its teens now, yet there have been no widely available tools produced to create XML for DTDs such as DocBook or TEI that have gained any kind of traction with large user groups. This is an interesting question for the Higher Education sector, but it is out of scope for this case study.&lt;/p&gt;
&lt;h1&gt;2. Use Case&lt;/h1&gt;
&lt;p&gt;There are no formal studies of which I am aware that show the usage rates of different academic authoring tools by country or discipline; but it is quite clear that Microsoft Word (along with other word processors) is a very widely used document-creation tool in many, many disciplines at our Higher Education institutions and research organisations. For example, on this study the UKOLN team have requested that case studies be submitted in Word format, using a template supplied by UKOLN. While the template gives the case study documents some structure, using &#039;Save as HTML...&#039; from Word will not produce good-quality HTML - far from the kind of structured documents that are being produced as exemplars in the JISC HTML5 Project, Word&#039;s output is focused on a decade-old approach which tries to match paper formatting.&lt;/p&gt;
&lt;p&gt;The format is discussed in an article by the author [&lt;a href=&quot;#ref-01&quot;&gt;1&lt;/a&gt;] which notes that some simple transformations can render it into XML, which can be processed by standard parsers. A short excerpt from the HTML produced by MS Word for one of the case study documents illustrates this:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/sefton-c/html/sefton-c-fig-01.png&quot; /&gt;&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/sefton-c/html/sefton-c-fig-02.png&quot; /&gt;&lt;/p&gt;
&lt;p&gt;There are three main issues with the native format.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;It contains processing information which is foreign to HTML, embedded using a mixture of comments to hide code from being rendered in browsers, and some non-standard mark-up. An example of this is the way it renders lists as a series of paragraphs rather than as an HTML list structure. This is an example from one of the other case studies. Constructs like &amp;lt;!--[if !supportLists] are not part of the HTML standard, although all browsers have evolved to deal with this idiom.&lt;/li&gt;
&lt;li&gt;It is oriented towards looking right, rather than working as a Web page so contains a lot of information about indents and so on that are page-oriented.&lt;/li&gt;
&lt;li&gt;It is very verbose - with span elements and other spurious mark-up appearing as an artefact of the editing process.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;There is now in Word a &#039;Filtered&#039; output which removes much of the worst mark-up but it still does not create documents which are clean, reusable HTML or HTML5.&lt;/p&gt;
&lt;p&gt;The use case here is using Microsoft Word in the production of any academically oriented document that is destined for the Web, including articles, theses and other student work, reports, course materials, academically inclined blog posts or other Web pages, and reports such as this one.&lt;/p&gt;
&lt;h1&gt;3. Solution&lt;/h1&gt;
&lt;p&gt;The improvement this study proposes to the current approach in using Word to create HTML5 is a tool called &lt;a href=&quot;http://code.google.com/p/jischtml5/wiki/WordDown&quot;&gt;WordDown&lt;/a&gt;, created for this JISC project. This is a JavaScript application which runs in a Web browser and processes Word documents into clean HTML5. It takes Word&#039;s HTML output as an input.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;http://code.google.com/p/jischtml5/wiki/WordDown&quot; rel=&quot;noreferrer&quot;&gt;wiki at the JISC HTML5 Project at Google code&lt;/a&gt;&lt;a href=&quot;#ftn1&quot; title=&quot;&quot;&gt;[1]&lt;/a&gt; covers how to run the application and the basics of how to format documents.&lt;/p&gt;
&lt;h2&gt;Background to WordDown&lt;/h2&gt;
&lt;p&gt;The Word 2000 HTML format has been a feature of Microsoft&#039;s flagship word processor since the &#039;2000&#039; version, and has been the target of much criticism. At the time it was introduced, it was capable of rendering almost all features of Word documents into a kind of HTML, using a combination of extended CSS formatting and islands of very obscure non-standard mark-up. It was actually not very far away from XML, and could be processed into XML with a small transformation program [&lt;a href=&quot;#ref-02&quot;&gt;2&lt;/a&gt;].&lt;/p&gt;
&lt;p&gt;The solution presented here revisits the format with modern tools by loading it into a modern Web browser and using the jQuery framework to interrogate various aspects of the formatting. Recent versions of Web browsers are all coded to deal gracefully with the &#039;mutant mark-up&#039; in Word&#039;s HTML output, hiding Word-specific code in comments, because HTML5 parsing rules take account of all kinds of legacy issues like Microsoft&#039;s non-standard mark-up.&lt;/p&gt;
&lt;p&gt;The application WordDown is inspired by the success of lightweight wiki-style mark-up languages which allow users to create HTML (and PDF in some cases) from simple text files . One of the foremost examples of this class of language is the MarkDown format, used by the Pandoc processing framework. (Peter Krautzberger has a useful introduction to &lt;a href=&quot;http://boolesrings.org/krautzberger/2011/08/03/why-markdown-not-latex/&quot;&gt;Markdown and Pandoc&lt;/a&gt; for academic authors and explains how it may be considered what we might call &#039;the new LaTeX&#039; for academic authoring.)&lt;/p&gt;
&lt;p&gt;In Markdown, one way of making a heading is to preface some text with #.&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;# Introduction&amp;nbsp; (turns into &amp;lt;h1&amp;gt; in HTML)&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;## About markdown (turns into &amp;lt;h2&amp;gt;&lt;/p&gt;
&lt;p&gt;In WordDown, to accomplish the same thing, the author uses the built-in heading styles - Heading 1 and Heading 2 respectively. These styles are the only widely-used standard way of structuring documents in the word-processing world - other elements such as quotes or lists have no equivalent standard implementations.&lt;/p&gt;
&lt;p&gt;To make a block-quote in Markdown, you use a greater-than character:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;gt; This is a block-quote.&lt;/p&gt;
&lt;p&gt;In WordDown, just indent the paragraph either using the formatting tools on the Word ribbon, or define a style - but (at this stage at least) the WordDown processor does not use style names other than for detecting some headings; it uses indenting. So any indented style which is not a list or a heading will be treated as a block-quote.&lt;/p&gt;
&lt;p&gt;The algorithm WordDown uses is being documented on the Google Code site, initially via the code. In essence, it is designed around the assumption that the user wants to create clean HTML, not to recreate the look of a paper document. So in a similar way to the light-weight wiki mark-up languages, it uses formatting and indenting as structural cues. The main device used is to look at the left margin:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;With a plain paragraph that is not a heading or a list item, an indent greater than the preceding non-heading paragraph means block-quote.&lt;/li&gt;
&lt;li&gt;Paragraphs in a monospace font are mapped to the &amp;lt;pre&amp;gt; (pre-format) element.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Features Summary&lt;/h2&gt;
&lt;p&gt;WordDown has the following features which are described in greater detail on the Google Code site for the software &lt;a href=&quot;#ftn2&quot; title=&quot;&quot;&gt;[2]&lt;/a&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Creates HTML from Word documents saved using &quot;Save as HTML...&quot; on Word for Windows versions from 2000 to 2010. The code runs in a Web browser and is packaged both as a bookmarklet and as a small Python Web server that users need to run from their documents directory.&lt;/li&gt;
&lt;li&gt;Works with Zotero citations and embeds them in-line using best-practice Scholarly HTML5 conventions.&lt;/li&gt;
&lt;li&gt;Can create rich semantic HTML5 with embedded microdata, given microformats in the source document.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Demonstration: Screenshots&lt;/h2&gt;
&lt;p&gt;The simplest way to run WordDown is to save documents manually as HTML, load them into a Web browser and use the WordDown bookmarklet as documented on the Google code wiki. A slightly easier workflow (which is harder to set up) is to run the WordDown server:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Figure 1&quot; height=&quot;293&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/sefton-c/html/sefton-c-fig-01.png&quot; width=&quot;640&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 1. Browsing local files using the WordDown Web server.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When the user selects a word document, the WordDown server runs Microsoft Word in the background, saves the document as HTML, inserts Javascript into the head and serves the result back the user&#039;s browser. The result is that the user is presented with an HTML version of the Word document using a stylesheet derived from the one used by the W3C for its standards documents:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Figure 2&quot; height=&quot;475&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/sefton-c/html/sefton-c-fig-02.png&quot; width=&quot;640&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 2. A Word document (this one) converted to HTML5 by WordDown running the browser.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The resulting document is HTML5 - and can be saved by the user for reuse. Alternatively, using another JavaScript application developed for the JISC HTML5 Project, parts of the document can be copied and pasted via the &lt;a href=&quot;http://code.google.com/p/jischtml5/wiki/Show5ource&quot;&gt;Show5ource&lt;/a&gt; bookmarklet.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Figure 3&quot; height=&quot;599&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/sefton-c/html/sefton-c-fig-03.png&quot; width=&quot;640&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 3. The Show5 bookmarklet.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In Figure 3 the Show5 bookmarklet identifies the HTML5 sections in a document and lets the user click to see copy and paste-ready source, or grab the whole document as a Zip file with all images.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Figure 4&quot; height=&quot;281&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/sefton-c/html/sefton-c-fig-04.png&quot; width=&quot;640&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 4. Show5 encodes image data in dataURIs to entire Web pages which can be copied and pasted, for example into a CML (corporate multi-lingual) such as WordPress.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Finally, the tool can create semantically rich documents. Here is the JSON format data which can be extracted from the page by clicking on the {} link:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;&quot; figure=&quot;&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/sefton-c/html/sefton-c-fig-05.png&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 5. JSON format data which can be extracted from the page by clicking on the {} link.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This data was embedded in the document details table, using a microformat-like technique which is documented on the Google Code wiki.&lt;/p&gt;
&lt;h2&gt;Demonstration Web Documents&lt;/h2&gt;
&lt;p&gt;Demonstration documents in Word format (as noted above) that can be automatically transformed to HTML5 with embedded document semantics and re-processable citations can be found in the &lt;a href=&quot;http://code.google.com/p/jischtml5/source/browse/#git%2Fdocs%2Fexamples&quot;&gt;Google Code repository&lt;/a&gt; &lt;a href=&quot;#ftn3&quot;&gt;[3]&lt;/a&gt;.&lt;/p&gt;
&lt;h1&gt;4. Impact&lt;/h1&gt;
&lt;p&gt;This work has had no impact so far as it is very new, but could be important to the uptake of HTML5 in academia if it is picked up by user communities, such as, for example, the authors who publish to KnowledgeBlogs, or agencies such as UKOLN involved in publishing a variety of academic materials.&lt;/p&gt;
&lt;p&gt;To have a substantial impact, there would need to be a driver for people to create HTML5 materials for academia. Except in pockets of activity (e.g. academic blogging) this is not currently the case. One current trend - the move to ebooks away from paper may finally tip the balance and have academic authors looking for tools that can create the HTML they need as the building block for epub and Amazon Kindle ebook publications.&lt;/p&gt;
&lt;p&gt;This tool would need work to make it easier to deploy in academic contexts.&lt;/p&gt;
&lt;p&gt;Of course, an official HTML and/or EPUB plug-in from Microsoft itself working along similar lines could make this work obsolete overnight.&lt;/p&gt;
&lt;h1&gt;5. Challenges&lt;/h1&gt;
&lt;p&gt;The biggest challenge in this project has been the cross-site scripting rules in Web browsers which prevent code from accessing certain domains. In this case, if the Word document is loaded from the local file system, code in the browser may not access images from the local file system - this means the plug-in is prevented from doing any processing on images, such as creating data URIs, or creating a zip file of the entire document with all its images. To get around this, a simple Web service was created using Python, repeating a design pattern used in a previous project, the Integrated Content Environment (ICE) &lt;a href=&quot;#ref-02&quot;&gt;[2]&lt;/a&gt; which used a local Web server on users&#039; machines to convert office documents to HTML. At the moment, this Web server is only suitable for use by technically adept users who can install Python 3 and run it, as well as download the source code, but it could be packaged as a Windows executable, were appropriate resources available.&lt;/p&gt;
&lt;h1&gt;6. Conclusions&lt;/h1&gt;
&lt;p&gt;The WordDown application shows that:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The JQuery framework in a modern HTML5 browser is a very powerful document-processing language. When Word 2000 was released, it was unthinkable that a browser-based conversion system could be written in a few hundred lines of code.&lt;/li&gt;
&lt;li&gt;Using very simple heuristics borrowed from lightweight wiki mark-up languages, it looks feasible to produce high-quality semantically rich HTML5 materials with a minimum of training for authors, if they can be persuaded that most formatting will be discarded, and only structurally meaningful formatting will be kept.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Where academics are using the Web, and care about producing well structured resources, as with a growing cohort of academic bloggers and scholars embracing the &#039;Beyond the PDF&#039; movement (whether they know it or not), it should be possible to introduce a tool such as WordDown into the tool chains supplied by supporting institutions.&lt;/p&gt;
&lt;p&gt;A small investment in frameworks to support users wishing to run this kind of code could dramatically reduce production costs for HTML5 and EPUB e-book resources, by giving authors and editors tools to create resources straight from the tools they know best, such as MS Word.&lt;/p&gt;
&lt;h1&gt;7. References&lt;/h1&gt;
&lt;p&gt;[1] &lt;em&gt;Word to XML and back again&lt;/em&gt; Sefton, P. &lt;em&gt;O&#039;Reilly, XML.com&lt;/em&gt;. December 8, 2004. &lt;a href=&quot;http://www.xml.com/pub/a/2004/12/08/word-to-xml.html&quot; rel=&quot;noreferrer&quot;&gt;http://www.xml.com/pub/a/2004/12/08/word-to-xml.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[2] &lt;em&gt;The integrated content environment&lt;/em&gt;. In &lt;em&gt;AUSWEB 2006&lt;/em&gt;. Noosa: Southern Cross University. Sefton, P. &lt;a href=&quot;http://eprints.usq.edu.au/archive/00000697/01/Sefton_ICE-ausweb06-paper-revised-3.pdf&quot;&gt;http://eprints.usq.edu.au/archive/00000697/01/Sefton_ICE-ausweb06-paper-revised-3.pdf&lt;/a&gt;.&lt;/p&gt;
&lt;hr /&gt;
&lt;h2&gt;Footnotes&lt;/h2&gt;
&lt;div&gt;[1] WordDown - jischtml5. &lt;a href=&quot;http://code.google.com/p/jischtml5/wiki/WordDown&quot; rel=&quot;noreferrer&quot;&gt;http://code.google.com/p/jischtml5/wiki/WordDown&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[2] WordDown - jischtml5, &lt;a href=&quot;http://code.google.com/p/jischtml5/wiki/WordDown&quot; rel=&quot;noreferrer&quot;&gt;http://code.google.com/p/jischtml5/wiki/WordDown&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[3] WordDown - jischtml5, &lt;a href=&quot;http://code.google.com/p/jischtml5/wiki/WordDown&quot; rel=&quot;noreferrer&quot;&gt;http://code.google.com/p/jischtml5/wiki/WordDown&lt;/a&gt;&lt;/div&gt;
</description>
     <comments>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-study-9-worddown-word-html5-conversion-tool#comments</comments>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/persons/peter-sefton">peter sefton</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/html5">HTML5</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/msword">MSWord</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/worddown">WordDown</category>
 <pubDate>Mon, 16 Jul 2012 14:09:28 +0000</pubDate>
 <dc:creator>Administrator</dc:creator>
 <guid isPermaLink="false">89 at http://technicalfoundations.ukoln.ac.uk</guid>
  </item>
  <item>
    <title>HTML5 Case Study 8:  Conventions and Guidelines for Scholarly HTML5 Documents</title>
    <link>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-study-8-conventions-and-guidelines-scholarly-html5-documents</link>
    <description>&lt;p&gt;Author: Peter Sefton&lt;/p&gt;
&lt;!--
&lt;h1 class=&quot;entry-title&quot;&gt;HTML5 Case Study 7: Conventions and
Guidelines for Scholarly HTML5 Documents&lt;/h1&gt;
--&gt;&lt;!--
&lt;h1 class=&quot;entry-title&quot;&gt;HTML5 Case Study 7: Conventions and
Guidelines for Scholarly HTML5 Documents&lt;/h1&gt;
--&gt;&lt;h1&gt;1. About This Case Study&lt;/h1&gt;
&lt;h3&gt;HTML5 case study on “&lt;em&gt;Conventions and Guidelines for Scholarly HTML5 Documents&lt;/em&gt;” by Peter Sefton&lt;/h3&gt;
&lt;p&gt;This case study looks at the fundamentals of using HTML5 for scholarly documents of all kinds, particularly theses and courseware documents (with application to journal articles as well), but with an eye on a much broader spectrum of resources, including those which are the subject of other case studies in this project such as slide presentations. It will aim to establish the basic structural and semantic building blocks for how resources should be marked up for the Web, to increase their utility for people and machines, as well as help to ensure they can be preserved effectively. This case study will build on work already undertaken by in the Scholarly HTML community as well as the other HTML5 case studies [&lt;a href=&quot;#ref-01&quot;&gt;1&lt;/a&gt;], [&lt;a href=&quot;#ref-02&quot;&gt;2&lt;/a&gt;], [&lt;a href=&quot;#ref-03&quot;&gt;3&lt;/a&gt;], [&lt;a href=&quot;#ref-04&quot;&gt;4&lt;/a&gt;], [&lt;a href=&quot;#ref-05&quot;&gt;5&lt;/a&gt;], [&lt;a href=&quot;#ref-06&quot;&gt;6&lt;/a&gt;], [&lt;a href=&quot;#ref-07&quot;&gt;7&lt;/a&gt;] and [&lt;a href=&quot;#ref-08&quot;&gt;8&lt;/a&gt;].&lt;/p&gt;
&lt;h2&gt;Target Audience&lt;/h2&gt;
&lt;p&gt;The audience for this work is tool developers building authoring systems, repositories and publishing infrastructure for academic documents. The outcomes could be used by people hand-coding documents, but that is not a very likely scenario; another related case study will implement the advice from this study into a tool to allow users to create HTML5 from Microsoft Word (using the Word 2000 HTML format which is available on MS Windows from v2000 to v2010) [&lt;a href=&quot;#ref-07&quot;&gt;7&lt;/a&gt;] and a third looks at how citations embedded in a document using the guidelines presented here can be re-formatted [&lt;a href=&quot;#ref-06&quot;&gt;6&lt;/a&gt;].&lt;/p&gt;
&lt;h2&gt;What Is Covered&lt;/h2&gt;
&lt;p&gt;The following aspects are covered in this document:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The basic structural backbone of a scholarly HTML document; how to mark up the scope of what is the content on a page. For example, on a blog, which section is the scholarly work as distinct from the navigation elements, advertisements, etc.?&lt;/li&gt;
&lt;li&gt;Best practice for marking up sections within the document (whether to use nested sections or just headings - discussion of issues like putting headings in tables and their implications).&lt;/li&gt;
&lt;li&gt;A brief discussion of techniques for embedding rhetorical semantics in documents. That is, the ability to distinguish an introduction or conclusion, or to mark parts of a text such as learning objectives by drawing on XML schemas and ontologies. Some generic advice about how to mark up other kinds of semantic relationships, such as linking to a data file, illustrated with examples from Chemistry.&lt;/li&gt;
&lt;li&gt;Work on metadata and semantics by other case studies incorporated into the core guidelines.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The following is still in gestation:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Anchors for commenting and annotation&lt;/strong&gt;: this requires some attention as simple schemes such as numbering paragraphs are very limited in capability, and current tools such as digress.it require documents to be in a particular dialect of HTML to work. The introduction of standards in this area would allow interoperability between commenting and annotation systems.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This work should have an impact on:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Search engine optimisation (SEO), particularly for services such as Google Scholar.&lt;/li&gt;
&lt;li&gt;Reduced friction in moving documents through submission processes to journals, to repositories and to review processes such as peer review, thesis examination, and assessment, via automated metadata extraction.&lt;/li&gt;
&lt;li&gt;Improved machine-readability for text and data-mining processes.&lt;/li&gt;
&lt;li&gt;Improved accessibility for readers - guidelines will take into account WCAG accessibility guidelines.&lt;/li&gt;
&lt;li&gt;Preservation: the guidelines will assist authors and tool makers in constructing documents which do not &#039;rot&#039; as technology changes.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;2. Use Case&lt;/h1&gt;
&lt;p&gt;The use case here is very broad: it is about the optimal mark-up for any kind of academic-related document on the Web. The Web was conceived as a vehicle for scholarship, but in the two decades since its invention, scholarly communications have taken a back seat to the driver, commerce. The most common form of Web publishing for scholarly publications is articles in PDF format, which readers are expected to download and manage themselves. PDF has the advantage of capturing an absolute layout, preserving the exact look of a document, but it was designed for capturing print - not for delivery to an increasing variety of screen sizes (and to devices with no screen at all).&lt;/p&gt;
&lt;p&gt;It has been recognised that the current scholarly publications landscape is not serving the needs of the community. Publishers have built an industry around the creation of paper-like objects which do not allow:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Delivery to any device&lt;/li&gt;
&lt;li&gt;Re-use by humans to create new works.&lt;/li&gt;
&lt;li&gt;Rich integration of publications with supporting data and visualisations of data.&lt;/li&gt;
&lt;li&gt;Machine-processable semantics so that research literature can be mined, indexed and analysed automatically.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For learning resources the situation is a little different, in that there has been some history of Web-based delivery of materials controlled by institutions themselves.&lt;/p&gt;
&lt;p&gt;As noted in another JISC project &lt;a href=&quot;#ftn1&quot; title=&quot;&quot;&gt;[FN1]&lt;/a&gt; HTML is the major format for the next stage of the development of the Web, as well structured Web resouces can not only be delivered and used on the Web, they are the basis for creating e-books. It is clear from the extremely rapid growth of the e-book market for commercial publishing that learning resources and research materials will need to follow. HTML5 is essential both to the open EPUB3 standard and to market leader Amazon&#039;s newest format.&lt;/p&gt;
&lt;p&gt;In both research and learning materials, there is still a distinct lack of tools for creating Web-native resources, at least in a way accessible to typical academics. The use case of an academic sitting down to create richly structured HTML5 academic objects, with embedded semantics and preservation-quality mark-up, is something of a dream at this stage. The best this case study can hope to achieve is to provide a starting point for a description of what Scholarly HTML should look like and to provide a starting point for a roadmap for tool development to allow the scholarly Web to take its rightful place alongside the Web &#039;high street&#039;;.&lt;/p&gt;
&lt;h1&gt;3. Solution&lt;/h1&gt;
&lt;p&gt;The solution has two parts. The first is a guide to marking up Scholarly HTML documents. The second points to software packages and techniques that are useful in the process of marking up documents, both existing tools, and tools developed as part of this project.&lt;/p&gt;
&lt;h2&gt;How to Mark Up Documents for Scholarly HTML&lt;/h2&gt;
&lt;p&gt;This section will become a stand-alone guide and be posted on the Scholarly HTML Website as the core guide to structuring HTML documents. Scholarly HTML is a term used by a loose group of people interested in bringing scholarship to the Web, or the Web back to its scholarly roots as a publication and research platform. The group met physically once at a meeting convened by Peter Murray-Rust at Cambridge University in March 2011.&lt;/p&gt;
&lt;h3&gt;Use HTML5, Microdata and Common Vocabularies&lt;/h3&gt;
&lt;p&gt;HTML5 is an evolving standard which codifies HTML in the context of the real world. The Wikipedia page for HTML5 [9] is a good starting point for pointers to the specification. This document will assume that the reader is familiar with the HTML5 standard, in particular outline structures and microdata; Mark Pilgrim&#039;s Dive Into HTML5 [&lt;a href=&quot;#ref-10&quot;&gt;10&lt;/a&gt;] is a good free introduction.&lt;/p&gt;
&lt;p&gt;Within the Scholarly HTML group there was a short, vigorous, debate about whether or not Scholarly HTML should be required to be well-formed XML. There were fears on both sides - that HTML resources would be impossible to parse reliably, and on the other hand that making XML mandatory would be too high a bar, reducing the pool of available content considerably. Mark Pilgrim covers very similar arguments in &lt;a href=&quot;http://diveintohtml5.info/past.html&quot;&gt;his chapter on the background of HTML5&lt;/a&gt; including the now-abandoned XHTML standard. The good news is that with HTML5 you do not have to choose. The HTML5 standard specifies exactly how HTML5 should be parsed - and once parsed it can be re-serialised as XML. So, for machine-based processing, the advice is use an HTML5 parser, not an XML parser. Then, if you want to use XML tools, serialise the document as XML.&lt;/p&gt;
&lt;p&gt;For example, here is some Python to illustrate the process using html5lib - a reference implementation of the parsing rules, and lxml. This is copied and pasted from an Ubuntu Linux environment.&lt;/p&gt;
&lt;p&gt;First, install the Python libraries you need:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;sudo easy_install lxml html5lib&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;Then, open a Python shell (type python) and try this:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;import html5lib #Handles the ’HTML5’ stuff&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;from html5lib import treebuilders&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;from lxml import etree #Handles the XML serialization&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;parser = html5lib.HTMLParser(tree=treebuilders.getTreeBuilder(“lxml”))&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;e = parser.parse(“&amp;lt;p&amp;gt;This is some HTML&amp;lt;p&amp;gt;Which is very far from being &amp;lt;b&amp;gt;XML &amp;lt;p&amp;gt;But which the HTML parser will be OK with”)&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;print etree.tostring(e.getroot())&lt;/p&gt;
&lt;p&gt;The result is well-formed XML (yes, the namespace is probably wrong, but this will serve as the input to downstream processes).&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;xmlns:html=”&lt;a href=&quot;http://www.w3.org/1999/xhtml&quot; rel=&quot;noreferrer&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;text-decoration:underline;&quot;&gt;http://www.w3.org/1999/xhtml&lt;/span&gt;&lt;/a&gt;“&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;html:head/&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;html:body&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;html:p&amp;gt;THis is some HTML&amp;lt;/html:p&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;html:p&amp;gt;Which is very far from being &amp;lt;html:b&amp;gt;XML&amp;lt;/html:b&amp;gt;&amp;lt;/html:p&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;html:p&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;html:b&amp;gt;But which the HTML parser will be OK with&amp;lt;/html:b&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;/html:p&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;/html:body&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;/html:html&amp;gt;&lt;/p&gt;
&lt;p&gt;So, the advice for scholary HTML is:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;em&gt;&lt;strong&gt;Use HTML5 as per the standard including Microdata.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;h3&gt;The Context for Pages&lt;/h3&gt;
&lt;p&gt;Scholarly works on the Web are unlikely to be stand-alone documents. They will very often be embedded in content management systems, repositories or publisher Web sites. It is out of scope for this case-study to consider the structure of Web pages produced by these Web applications, but for an example of best practice in structuring HTML5 Web sites, including navigation elements and so on, see the Common Framework case study conducted by Bilbie [&lt;a href=&quot;#ref-02&quot;&gt;2&lt;/a&gt;].&lt;/p&gt;
&lt;p&gt;The key points in that case study involve:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Flexible design that can re-flow to any size of device.&lt;/li&gt;
&lt;li&gt;Use of HTML5 attributes in the mark-up to provide cues to screen readers and other assistive software.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Be Declarative&lt;/h3&gt;
&lt;p&gt;HTML5 has a close relationship to the Javascript scripting language and has theelement on which you can cause things to appear, via scripts. But there are several reasons to avoid making academic works depend on particular scripts or applications, and instead look for ways to express the meaning of a work and the parts it links to as plain HTML, with enough information in it for scripts, etc., to come into play when needed:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Works can be archived and preserved independently of the scripts on which they depend&lt;/li&gt;
&lt;li&gt;Other people can reuse the declaratively specified data in new ways&lt;/li&gt;
&lt;li&gt;Revising the work when new applications emerge is much easier when there is a clear separation between documents, together with data and media, as opposed to the code that does interesting things with the documents, data and media.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A good example of this approach can be seen in this series of case studies in the work by Adams [&lt;a href=&quot;#ref-01&quot;&gt;1&lt;/a&gt;] and MacGillivray [&lt;a href=&quot;#ref-05&quot;&gt;5&lt;/a&gt;] on citation formats, where the same declarative format is a meeting point for two different projects. Another project based on a declarative format (though not HTML5) is the work by Gray on embedding 3D motion-capture models in HTML5. The embedding is done using a declarative XML format rather than via a script [&lt;a href=&quot;#ref-03&quot;&gt;3&lt;/a&gt;].&lt;/p&gt;
&lt;h3&gt;Outline Structure&lt;/h3&gt;
&lt;p&gt;HTML5 has an &amp;lt;article&amp;gt; element which at first glance seems to be the perfect container for scholarly works. It seems obvious that it should be used for the text of a scholarly article and reasonable that it should be used for book chapters, course modules and so on. The problem with this is that content management systems may also be using &amp;lt;article&amp;gt;. For example, the WordPress default theme at time of writing, uses &amp;lt;article&amp;gt; to mark up posts.&lt;/p&gt;
&lt;p&gt;So, the advice is:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;em&gt;Conventions for document-level mark-up:&lt;/em&gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;em&gt;If your scholarly work is going to be part of a stand-alone Web page, or you know that it is appropriate in the context into which it will be published use &amp;lt;article&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;em&gt;If the article is going to be sent off to a publisher, posted to a blog (where for example the theme might change at some point) it is safer to use the &amp;lt;article&amp;gt; element.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;In either case, mark up the scholarly work with microdata semantics:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;section itemtype=&quot;http://schema.org/ScholarlyArticle&quot; itemscope&amp;gt;&lt;/p&gt;
&lt;p&gt;Note that the Schema.org definition for Scholarly Article is at present rather light on detail, defining it as:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;em&gt;A Scholarly Article&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This guide is making the assumption that, in spirit it is really the more generic &quot;Scholarly Work&quot;. If more delicate terms are added to the Schema.org vocabularies or more appropriate terms identified then this advice will need to change.&lt;/p&gt;
&lt;p&gt;Within the section or article element chosen, the question arises how to mark up the structure of a work with headings, sections, etc. In HTML5, documents have an outline, which can be computed using a well-specified algorithm.&lt;/p&gt;
&lt;p&gt;This means that the use of internal section elements within resources has no real impact on semantics, so how you format a document depends on what is convenient or necessary:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For authoring in a text editor, or even an HTML editor, the use of sections may be an unnecessary complication; consider using headings which are not wrapped in enclosing sections.&lt;/li&gt;
&lt;li&gt;For authoring in a word-processing environment, nested sections are impossible to implement; so use heading styles and choose conversion software that can respect them - for example WordDown, produced as a demonstrator for this project [&lt;a href=&quot;#ref-07&quot;&gt;7&lt;/a&gt;].&lt;/li&gt;
&lt;li&gt;To add microdata semantics at the section level of the document, it will be necessary to use section mark-up on which to ‘hang’ microdata attributed. This is a significant barrier to editing with lightweight tools such as Markdown.&lt;/li&gt;
&lt;li&gt;In published documents, using sections makes it easier for other people to copy and paste or machine-process documents, even though they could determine the structure of the document by computing its outline.&lt;/li&gt;
&lt;li&gt;For the most general way of presenting documents for publication, it is possible to use this structure where each section has an &amp;lt;h1&amp;gt; heading, even where they are nested within each other, but this may not be encouraging re-use by others who need to edit the document.&lt;/li&gt;
&lt;/ul&gt;
&lt;p style=&quot;padding-left:60px;&quot;&gt;&amp;lt;section&amp;gt;&lt;br /&gt; &amp;lt;h1&amp;gt;...&lt;br /&gt; …&lt;br /&gt; &amp;lt;section&amp;gt;&lt;br /&gt; &amp;lt;h1&amp;gt;...&amp;lt;/h1&amp;gt;&lt;br /&gt; ...&lt;br /&gt; &amp;lt;/section&amp;gt;&lt;br /&gt; &amp;lt;/section&amp;gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For documents that need to work in legacy browsers, and content management systems where you do not have control over the CSS used current best-practice advice is to use a &amp;lt;header&amp;gt; block with the document title in and &amp;lt;/header&amp;gt; element, then use ... &amp;lt;h5&amp;gt; throughout the document, each in a section, to enable the use of microdata semantics, and to aid others in re-using the content. (For example, loading such a document into Microsoft Word would lose the sections, but keep the headings.)&lt;/li&gt;
&lt;/ul&gt;
&lt;p style=&quot;padding-left:60px;&quot;&gt;&amp;lt;header&amp;gt;&lt;br /&gt; &amp;lt;!– document title–&amp;gt;&lt;br /&gt; itemprop=&#039;name&#039;&amp;gt;...,&lt;br /&gt; ...&lt;br /&gt; &amp;lt;/header&amp;gt;&lt;br /&gt; &amp;lt;section&amp;gt;&lt;br /&gt; &amp;lt;h1&amp;gt;...&amp;lt;/h1&amp;gt;&lt;br /&gt; ...&lt;br /&gt; &amp;lt;section&amp;gt;&lt;br /&gt; &amp;lt;h1&amp;gt;...&amp;lt;/h1&amp;gt;&lt;br /&gt; ...&lt;br /&gt; &amp;lt;/section&amp;gt;&lt;br /&gt; &amp;lt;/section&amp;gt;&lt;/p&gt;
&lt;h3&gt;Embedding Metadata and Semantics&lt;/h3&gt;
&lt;p&gt;Sam Adams has included a discussion of the most prominent methods of embedding semantics in documents in his case study. He considers microformats, RDFa and microdata. As microdata is part of the HTML5 specification, and is receiving mainstream support from major internet companies it is recommended as the default method of adding semantics to Scholarly HTML documents [&lt;a href=&quot;#ref-01&quot;&gt;1&lt;/a&gt;]:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;em&gt;Conventions for embedded semantics and metadata:&lt;/em&gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;em&gt;Use the schema.org vocabularies where possible, and when they are not adequate extend semantics by using well-documented ontologies or vocabularies maintained by groups with an interest in scholarship.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;A blog post &lt;a href=&quot;#ftn2&quot;&gt;[FN2]&lt;/a&gt; is available as example of some of the design considerations in using microdata and which reports on work done as part of this case study.&lt;/p&gt;
&lt;h3&gt;Marking up Rhetorical Semantics&lt;/h3&gt;
&lt;p&gt;It is useful to be able to mark up sections in academic publications that have different roles. A W3C working draft on the &quot;&lt;em&gt;Ontology of Rhetorical Blocks&lt;/em&gt;&quot; [&lt;a href=&quot;#ref-11&quot;&gt;11&lt;/a&gt;] puts it like this:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;em&gt;Having the rhetorical block structure externalised and attached to the digital publications would enable a richer and more expressive searching and browsing experience. One would be able to quickly spot the METHODS blocks within the publication and possibly resume the reading activity only to those, thus reducing the time usually spent on reading the entire publication. On the other hand, being able to formulate queries for content specific only to such blocks could already improve the quality (and possibly the quantity) of the set of relevant publications (e.g. methods: &quot;autosomal-dominant mutations in APP&quot;).&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;For example, to mark up the major body sections of a document use mark-up like this:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;section itemtype=&quot;http://purl.org/orb/Introduction&quot;&lt;br /&gt; itemscope&amp;gt;&lt;br /&gt; &amp;lt;/section&amp;gt;&lt;/p&gt;
&lt;p&gt;Or one of the other rhetorical elements defined in the above-mentioned W3C ORB draft:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://purl.org/orb/Method&quot; rel=&quot;noreferrer&quot;&gt;http://purl.org/orb/Method&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://purl.org/orb/Results&quot; rel=&quot;noreferrer&quot;&gt;http://purl.org/orb/Results&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://purl.org/orb/Discussion&quot; rel=&quot;noreferrer&quot;&gt;http://purl.org/orb/Discussion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Relating the section back to the containing document still needs consideration, but using this kind of mark-up is a first step to capturing some of the document structure that XML is often used to describe, but in a more flexible way, that can be applied directly to Web documents.&lt;/p&gt;
&lt;p&gt;As a simple demonstration of how this is useful, the WordDown converter that generates HTML from Word documents uses this mark-up for a references or bibliography section:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;section itemtype=&quot;http://purl.org/orb/References&quot; itemscope&amp;gt;&lt;br /&gt; &amp;lt;/section&amp;gt;&lt;/p&gt;
&lt;p&gt;By using a public, well-defined and documented URI we increase the chances that software can interoperate and that others can reuse our scholarly resources. (But note that in the model of citations we are proposing here, detailed information about references might be stored in the document at the point they are cited, or not at all if the author is citing by reference).&lt;/p&gt;
&lt;h3&gt;Citations&lt;/h3&gt;
&lt;p&gt;See the case study by Sefton [&lt;a href=&quot;#ref-06&quot;&gt;6&lt;/a&gt;] on citation formatting, which contains draft examples.&lt;/p&gt;
&lt;h3&gt;Linking to Data and Supporting Documents&lt;/h3&gt;
&lt;p&gt;To link to a data set in a declarative way, use this pattern, with a generic property from the Citation ontology (cito) and a type which is domain-specific from an appropriate vocabulary, in this case a term associated with Chemical Markup Language:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;span itemprop=”http://purl.org/net/cito/usesDataFrom” itemtype=”http://www.xml-cml.org/convention/crystallographyExperiment” itemscope&amp;gt;&lt;br /&gt; &amp;lt;link href=”link-to-the-data.cml” itemprop=”url”&amp;gt;&lt;br /&gt; My CML file&lt;br /&gt; &amp;lt;/span&amp;gt;&lt;/p&gt;
&lt;p&gt;This declarative statement of the relationship between a scholarly work and supporting data could then be turned into something interactive using a JavaScript library that is loaded by a bookmarklet, extension or added by the CMS serving the page. A worked example of using similar declarative mark-up to embed chemical visualisations in Web pages is available in a blog post &lt;a href=&quot;#ftn3&quot; title=&quot;&quot;&gt;[3]&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Compound Documents/Objects&lt;/h3&gt;
&lt;p&gt;Many scholarly resources are made up of more than one part: theses and chapters have books; journal issues are made up of multiple articles; reviews etc. Courseware is very often made up of disparate resources brought together in a lesson context, and the research object of the future really must comprise a wide range of components, including documents, data, provenance information and so on.&lt;/p&gt;
&lt;p&gt;In the academic environment, the Open Access Initiative has worked on a standard way of describing compound objects, the Object Reuse and Exchange (ORE) standard &lt;a href=&quot;#ftn4&quot;&gt;[FN4]&lt;/a&gt;. ORE is complicated to understand. For the purposes of real-world Web practice that is easy to implement, a simplified approach is needed; but as always, drawing on terms from established ontologies and vocabularies.&lt;/p&gt;
&lt;p&gt;Take the case of a table of contents on the Web for work that is made up of multiple parts (NOTE: this approach is an early proposal only).&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;article itemtype=&quot;http://schema.org/Book&quot; itemscope&amp;gt;&lt;br /&gt; &amp;lt;h1 itemprop=”name”&amp;gt;My book!&amp;lt;/h1&amp;gt;&lt;br /&gt; &amp;lt;ol &amp;gt;&lt;br /&gt; &amp;lt;li itemtype=&quot;http://schema.org/ScholarlyArticle&quot; itemprop=&quot;http://www.openarchives.org/ore/terms/aggregates&quot;&amp;gt;&lt;br /&gt; &amp;lt;a href=&quot;./chapter1.html&quot;&amp;gt;&lt;br /&gt; &amp;lt;span itemprop=”name”&amp;gt;Chapter One&amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;/a&amp;gt;&lt;br /&gt; &amp;lt;/li&amp;gt;&lt;br /&gt; …&lt;br /&gt; &amp;lt;/ol&amp;gt;&lt;br /&gt; &amp;lt;/article&amp;gt;&lt;/p&gt;
&lt;h2&gt;Tools&lt;/h2&gt;
&lt;p&gt;As part of this work various tools were created by the author, drawing on open source libraries:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;WordDown is a Word-to-HTML5 conversion application, covered in another case study document [&lt;a href=&quot;#ref-07&quot;&gt;7&lt;/a&gt;] and hosted on the Google Code site for jiscHTML5 &lt;a href=&quot;#ftn5&quot;&gt;[FN5]&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;ReCite is a citation re-formatter that uses Citation Style Language (CSL) to reformat the references in a page covered in another case study (Sefton, 2012a).&lt;/li&gt;
&lt;li&gt;Show5ource is Javacript code, packaged as a bookmarklet for:
&lt;ul&gt;
&lt;li&gt;Extracting Microdata from HTML5 documents in JSON format&lt;/li&gt;
&lt;li&gt;Copying and pasting the source of HTML5 documents for simple pasting into content management systems&lt;/li&gt;
&lt;li&gt;Alpha code for EPUB packaging of compound resources.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Also useful are these tools:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The Live Microdata tool &lt;a href=&quot;ftn6&quot; title=&quot;&quot;&gt;[FN6]&lt;/a&gt; is useful for debugging microdata and uses the same underlying library as Show5ource.&lt;/li&gt;
&lt;li&gt;H5o is an outline bookmarklet which can show the HTML5-compliant outline of a page &lt;a href=&quot;#ftn7&quot;&gt;[FN7]&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;4. Impact&lt;/h1&gt;
&lt;p&gt;This work, being very new, has had minimal impact apart from some engagement from a small cohort of scholars interested in Scholarly HTML. The techniques described here need to be tested in the use-case scenarios outlined above. None of this work will have measurable impact until there are services interoperating which use the conventions outlined here, or equivalents, but without someone specifying some base-line conventions to try, then those experiments will be doomed to be point-to-point agreements between disconnected projects.&lt;/p&gt;
&lt;h1&gt;5. Challenges&lt;/h1&gt;
&lt;p&gt;The main challenge in this work lies in dealing with a number of incomplete parallel projects. In particular schema.org has been disruptive in that it promises a mainstream vocabularly of URIs that can be used as Microdata types and properties yet it has some inconsistencies and lacks documentation for some parts (e.g., merely defining ScholarlyArticle as ‘A Scholarly Article’).&lt;/p&gt;
&lt;h1&gt;6. References&lt;/h1&gt;
&lt;p&gt;[1] &lt;em&gt;Semantics and metadata&lt;/em&gt;, Adams, S., HTML5 Case Studies, University of Bath: UKOLN.&lt;/p&gt;
&lt;p&gt;[2] &lt;em&gt;The common Web design&lt;/em&gt;, Bilbie, A., HTML5 Case Studies, University of Bath: UKOLN.&lt;/p&gt;
&lt;p&gt;[3] &lt;em&gt;3Dactyl: Using WebGL to represent human movement in 3D&lt;/em&gt;, Gray, S. HTML5 Case Studies, University of Bath: UKOLN.&lt;/p&gt;
&lt;p&gt;[4] &lt;em&gt;Re-Implementation of the Maavis assistive technology using HTML5 technologies&lt;/em&gt;, Lee, S. HTML5 Case Studies, University of Bath: UKOLN.&lt;/p&gt;
&lt;p&gt;[5] &lt;em&gt;Visualising embedded metadata&lt;/em&gt;. MacGillivray, M. HTML5 Case Studies, University of Bath: UKOLN.&lt;/p&gt;
&lt;p&gt;[6] &lt;em&gt;Challenging the tyranny of citation formats: Automated citation formatting for HTML5&lt;/em&gt;. Sefton, P. HTML5 Case Studies, University of Bath: UKOLN.&lt;/p&gt;
&lt;p&gt;[7] &lt;em&gt;WordDown: Word-to-HTML5 conversion tool&lt;/em&gt;, Sefton, P. HTML5 Case Studies, University of Bath: UKOLN.&lt;/p&gt;
&lt;p&gt;[8] &lt;em&gt;HTML5-based E-lecture Framework&lt;/em&gt;, Wang, Q., HTML5 Case Studies, University of Bath: UKOLN.&lt;/p&gt;
&lt;p&gt;[9] &lt;em&gt;HTML5 – Wikipedia&lt;/em&gt;, The Free Encyclopedia. Wikipedia, &lt;a href=&quot;http://en.wikipedia.org/w/index.php?title=HTML5&amp;amp;oldid=455493654&quot; title=&quot;http://en.wikipedia.org/w/index.php?title=HTML5&amp;amp;oldid=455493654&quot;&gt;http://en.wikipedia.org/w/index.php?title=HTML5&amp;amp;oldid=455493654&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[10] &lt;em&gt;Dive into HTML5&lt;/em&gt;, Mark Pilgrim. &lt;a href=&quot;http://diveintohtml5.info/&quot; title=&quot;http://diveintohtml5.info/&quot;&gt;http://diveintohtml5.info/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[11] &lt;em&gt;Ontology of Rhetorical Blocks (ORB) Editor&#039;s Draft 5 June 2011&lt;/em&gt;, Ciccarese, P. &amp;amp; Groza, T. World Wide Web Consortium. &lt;a href=&quot;http://www.w3.org/2001/sw/hcls/notes/orb/&quot; title=&quot;http://www.w3.org/2001/sw/hcls/notes/orb/&quot;&gt;http://www.w3.org/2001/sw/hcls/notes/orb/&lt;/a&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;h2&gt;Footnotes&lt;/h2&gt;
&lt;div&gt;[1] The #jiscPUB Project, &lt;a href=&quot;http://jiscpub.blogs.edina.ac.uk/about/&quot; rel=&quot;noreferrer&quot;&gt;http://jiscpub.blogs.edina.ac.uk/about/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[2] Scholarly HTML5: experimenting on myself with microdata and Schema.org vocabs &lt;a href=&quot;http://ptsefton.com/2011/09/12/scholarly-html5-experimenting-on-myself-with-microdata-and-schema-org-vocabs.htm&quot; rel=&quot;noreferrer&quot;&gt;http://ptsefton.com/2011/09/12/scholarly-html5-experimenting-on-myself-with-microdata-and-schema-org-vocabs.htm&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[3] Scholarly HTML: &lt;a href=&quot;http://ptsefton.com/2011/03/18/scholarly-html-fraglets-of-progress.htm&quot; rel=&quot;noreferrer&quot;&gt;Fraglets of progress http://ptsefton.com/2011/03/18/scholarly-html-fraglets-of-progress.htm&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[4] What the OAI-ORE protocol can do for you &lt;a href=&quot;http://ptsefton.com/2008/10/14/what-the-oai-ore-protocol-can-do-for-you.htm#id5&quot; rel=&quot;noreferrer&quot;&gt;http://ptsefton.com/2008/10/14/what-the-oai-ore-protocol-can-do-for-you.htm#id5&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[5] &lt;a href=&quot;http://ptsefton.com/2008/10/14/what-the-oai-ore-protocol-can-do-for-you.htm#id5WordDown:&quot; title=&quot;http://ptsefton.com/2008/10/14/what-the-oai-ore-protocol-can-do-for-you.htm#id5WordDown:&quot;&gt;http://ptsefton.com/2008/10/14/what-the-oai-ore-protocol-can-do-for-you....&lt;/a&gt; jischtml5: Collection of HTML5 case studies and examples of scholarly resources and tools for processing them &lt;a href=&quot;http://code.google.com/p/jischtml5/wiki/WordDown&quot; rel=&quot;noreferrer&quot;&gt;http://code.google.com/p/jischtml5/wiki/WordDown&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[6] Live Microdata, http://foolip.org/microdatajs/live/&lt;/div&gt;
&lt;div&gt;[7] Downloads - h5o – HTML5 outliner (bookmarklet, Chrome extension) – Google Project Hosting &lt;a href=&quot;http://code.google.com/p/h5o/downloads/list&quot; rel=&quot;noreferrer&quot;&gt;http://code.google.com/p/h5o/downloads/list&lt;/a&gt;&lt;/div&gt;
</description>
     <comments>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-study-8-conventions-and-guidelines-scholarly-html5-documents#comments</comments>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/persons/peter-sefton">peter sefton</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/html5">HTML5</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/scholarly-documents">scholarly documents</category>
 <pubDate>Mon, 16 Jul 2012 14:01:38 +0000</pubDate>
 <dc:creator>Administrator</dc:creator>
 <guid isPermaLink="false">88 at http://technicalfoundations.ukoln.ac.uk</guid>
  </item>
  <item>
    <title>HTML5 Case Study 7:  Challenging the Tyranny of Citation Formats: Automated Citation Formatting</title>
    <link>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-study-7-challenging-tyranny-citation-formats-automated-citation-formatting</link>
    <description>&lt;p&gt;Author: Peter Sefton&lt;/p&gt;
&lt;!--
&lt;h1 class=&quot;entry-title&quot;&gt;HTML5 Case Study 6: Challenging the
Tyranny of Citation Formats: Automated Citation Formatting for HTML5&lt;/h1&gt;
--&gt;&lt;!--
&lt;h1 class=&quot;entry-title&quot;&gt;HTML5 Case Study 6: Challenging the
Tyranny of Citation Formats: Automated Citation Formatting for HTML5&lt;/h1&gt;
--&gt;&lt;h1&gt;1. About This Case Study&lt;/h1&gt;
&lt;h3&gt;HTML5 case study on &quot;Challenging the Tyranny of Citation Formats: Automated Citation Formatting for HTML5&quot; by Peter Sefton&lt;/h3&gt;
&lt;h2&gt;What Is Covered&lt;/h2&gt;
&lt;p&gt;This case study looks at how citations and reference lists can be represented in HTML5 in two ways; firstly with reference information supplied in-page and secondly using URIs that point to trusted bibliographic data stores. The end goal is to automate as much of the citation and reference management experience as possible at all stages of the academic workflow, from research to authoring, to publishing to citation analysis, generation of metrics and machine processing of data. This case study covers the HTML5 coding that would be needed to support the goal of end-to-end citation processing, and provides a proof-of-concept demonstration of the principles. There are, however, some significant problems to overcome before we have working software that can be used by a broad range of academic authors.&lt;/p&gt;
&lt;p&gt;An outcome of this case study is a Javascript tool demonstrating how scholarly works of all kinds can be marked up in such a way that users can decide to display the citations and reference list in any format they choose via the Citation Style Language (CSL), initially choosing from a small set of commonly used formats. With further development, the tool would have access to the several hundred community-edited CSL styles available from the Zotero Project. The tool, ReCite, will continue to be developed at least until the completion of this JISC HTML5 work, and is documented on the Google Code wiki for the project.&lt;/p&gt;
&lt;p&gt;The initial prototype builds on work in the JISC-funded Open Bibliography Project &lt;a href=&quot;#ref-01&quot;&gt;[1]&lt;/a&gt; and was developed in parallel with a case study by MacGillivray &lt;a href=&quot;#ref-02&quot;&gt;[2]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The case study has also been conducted &lt;strong&gt;with an eye to practical authoring tools&lt;/strong&gt;, with consideration given to how people may create this kind of content using familiar tools such as word processors with Zotero or Mendeley and similar systems, or with LaTeX and BibTex, Wikis and online Web editors such as those provided on WordPress.&lt;/p&gt;
&lt;p&gt;The exemplars and documentation cover:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Techniques for adding citation and reference lists using URIs in HTML5 and implications for authoring.&lt;/li&gt;
&lt;li&gt;The issues this work presents for tool-chains where authors are using word processors, LaTeX, etc., to create content.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The point of this is to build on other projects in this stream mentioned above, covering the basics of embedding citations and structuring documents to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Show user-centric user interface possibilities for displaying citations.&lt;/li&gt;
&lt;li&gt;Point the way to improved authoring services that do away with unnecessary formatting of citations and references altogether.&lt;/li&gt;
&lt;li&gt;Together with Mark MacGillivray&#039;s visualisation project &lt;a href=&quot;#ref-02&quot;&gt;[2]&lt;/a&gt;, show a potential future for citations and referencing that transcends the limitations of a system still rooted in paper-based conventions.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The issues discussed in this case study were the subject of a &lt;a href=&quot;http://thatcampcanberra.org/2011/10/03/the-tyranny-of-citation-formats/&quot;&gt;session at THATCamp, Canberra (The Humanities and Technology Camp)&lt;/a&gt; &lt;a href=&quot;#ftn1&quot;&gt;[FN1]&lt;/a&gt; &lt;a href=&quot;http://thatcampcanberra.org/2011/10/03/the-tyranny-of-citation-formats/&quot;&gt;in October 2011, convened by the author.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This case study attempts to discuss some of the workflow issues for all kinds of academic work involving referencing, but due to time and resource constraints, will focus on one particular tool-chain: authoring in Microsoft Word, using Zotero to manage references.&lt;/p&gt;
&lt;h2&gt;What Is Not Covered&lt;/h2&gt;
&lt;p&gt;There is no scope in this case study for a detailed survey of citation practices or lengthy discussion of the relative merits of embedding citation data vs using URIs. It aims to produce a starting point for one simple, useful tool, and to gain further experience for the JISC community with bibliographic data.&lt;/p&gt;
&lt;p&gt;Also out of scope is the detailed work needed to map between citation formats, and to write connector-code for online services so that citation by reference can be resolved reliably to machine-readable bibliographic data.&lt;/p&gt;
&lt;h2&gt;Target Audience&lt;/h2&gt;
&lt;p&gt;The main audience for this work is tool developers building authoring systems, repositories and publishing infrastructure for academic documents. The outcomes could be used by people hand-coding documents, but that is not a very likely scenario.&lt;/p&gt;
&lt;p&gt;It is also targeted at digitally adept researchers, such as those in the digital humanities, or working on Web-based scholarship tools.&lt;/p&gt;
&lt;h1&gt;2. Use Case&lt;/h1&gt;
&lt;p&gt;Citations and references are a key part of all academic practice across many resource types including, but not limited to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Articles (best not to call them &quot;papers&quot; in an HTML5 project).&lt;/li&gt;
&lt;li&gt;Theses and other student work such as essays.&lt;/li&gt;
&lt;li&gt;Books.&lt;/li&gt;
&lt;li&gt;Course materials.&lt;/li&gt;
&lt;li&gt;CVs and portfolios.&lt;/li&gt;
&lt;li&gt;Report documents such as this one.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Even today, when there are many tools available for managing references and formatting documents, students are taught how to hand-format references. At the aforementioned &lt;a href=&quot;http://thatcampcanberra.org/2011/10/03/the-tyranny-of-citation-formats/&quot;&gt;THAT Camp session&lt;/a&gt;, two participants involved in information literacy noted that even though students should be using reference management software in their work, it is important that they can read the main citation formats used in their disciplines, and learning to hand-construct citations is a good way to learn. The nature of conventional citation and reference has evolved under the constant constraints of paper-based publishing, not least of which has been space, something that Web-based publishing has largely removed - but these constraints have made the process very costly in terms of researchers&#039; time. But looking ahead to a world where the constraints of paper-based scholarship no longer require us to invent and memorise rigorous concise encodings for bibliographic references and citations, participants in the workshop agreed that it would be possible in Web contexts to show reference information in new ways, such as simple &#039;pop-up&#039; tables that show the data set out with labelled fields. This would save us having to know, for example whether the text in italics in a reference in a given format is the name of the article or the name of the journal, or whether the theme under consideration is the title of a book or a report.&lt;/p&gt;
&lt;p&gt;But for now, obviously citation formatting conventions are still important, hence this work on making it possible for users to choose the format they prefer, to improve the usability of online resources. Other benefits include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Reliable machine processing for better citation metrics.&lt;/li&gt;
&lt;li&gt;Reduced effort for authors, editors and readers who reuse citations.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Guidance for Authors&lt;/h2&gt;
&lt;p&gt;In addition to the solution described below, this case study looks at the broader issues around citation management in a Web world. This section proposes some best practice for academic authors.&lt;/p&gt;
&lt;p&gt;The goals of this section are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;To describe current best practice for authors wanting to put academic resources on the Web with the most useful possible citations, including guidance on how to format HTML pages and descriptions of the demonstration tools developed in this case study.&lt;/li&gt;
&lt;li&gt;To enable authors to meet publisher or university requirements for particular citation formats as easily as possible.&lt;/li&gt;
&lt;li&gt;Provide a platform for change; where instead of publishers or markers requiring references to be formatted in a particular text-based format, the requirement is for rich citation data to be embedded.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Citation Data Online vs Embedded? Do Both&lt;/h3&gt;
&lt;p&gt;One of the main goals for best-practice HTML5 citation should be to make sure that citations have URIs that can be resolved to Web resources. That is, all bibliography should be published and authors should be able to use high-quality online sources when possible. This means that academic resources become part of the linked-data Web.&lt;/p&gt;
&lt;p&gt;Take, for example, historians working with the National Library of Australia&#039;s Trove collection of Australian newspapers&lt;a href=&quot;#ftn2&quot; title=&quot;&quot;&gt;[FN2]&lt;/a&gt;. Using the Web interface, they can search the collection to locate an article. With Zotero &lt;a href=&quot;#ftn3&quot;&gt;[FN3]&lt;/a&gt; running in Firefox, an add icon appears in the browser so researchers can create a record for an article such as one about flooding in Toowoomba, Victoria in 1893 &lt;a href=&quot;&amp;quot;#ref-03&quot;&gt;[3]&lt;/a&gt;. If researchers are sharing their Zotero libraries, then they have now created a usable public URI with bibliographic information for that article. It would then be possible to cite by reference to the bibliographic record.&lt;/p&gt;
&lt;p&gt;While it might seem to be at odds with the above requirement to use URIs, it is also best practice in many situations to include a cached copy of the bibliographic data with the document. Including data inline means:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Data is available for re-formatting citations when working off-line.&lt;/li&gt;
&lt;li&gt;Authors can fine-tune citation details to suit their own purposes.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Therefore, for maximum potential utility to readers, re-users, and machine-processing applications, including both cite-by-reference to a URI and embedded bibliographic metadata is important. In disciplines where high-quality reference sources such as PubMed Central are available online, then there may be no substantial advantage in using embedded metadata, whereas in the humanities, or areas where URIs are likely to be less stable, then it offers some extra insurance.&lt;/p&gt;
&lt;h3&gt;Formatting HTML5 citations&lt;/h3&gt;
&lt;p&gt;Following work by Sam Adams on the JISC HTML5 Project &lt;a href=&quot;#ref-04&quot;&gt;[4]&lt;/a&gt; subsequently refined by group discussion, the minimal citation for an online resource should be embedded in HTML5 in the following way:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;span itemtype=”&lt;span style=&quot;text-decoration:underline;&quot;&gt;http://schema.org/ScholarlyArticle&lt;/span&gt;“&lt;br /&gt; itemscope=”&quot;&lt;br /&gt; itemprop=”&lt;span style=&quot;text-decoration:underline;&quot;&gt;http://purl.org/ontology/bibo/cites&lt;/span&gt;&amp;gt;&lt;br /&gt; DISPOSABLE citation marker here&lt;br /&gt; &amp;lt;link itemprop=”url” href=”http://example.com/uri-for-citation/” /&amp;gt;&lt;br /&gt; &amp;lt;/span&amp;gt;&lt;/p&gt;
&lt;p&gt;The &#039;HTML5 way&#039; to embed further data is to use more link and metadata elements to embed the citation data at the point of citation. Sam Adams; case study &lt;a href=&quot;#ref-04&quot;&gt;[4]&lt;/a&gt; has chosen the bibliographic ontology for its namespace. For example, author names:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;span itemtype=”&lt;span style=&quot;text-decoration:underline;&quot;&gt;http://schema.org/Person&lt;/span&gt;” itemscope=”&quot; itemprop=”author”&amp;gt;&lt;br /&gt; &amp;lt;meta itemprop=”name” content=”Sam Adams” /&amp;gt;&lt;br /&gt; &amp;lt;link itemprop=”url” href=”http://example.com/uri-for-author” /&amp;gt;&lt;br /&gt; &amp;lt;/span&amp;gt;&lt;/p&gt;
&lt;p&gt;While this is the ‘HTML5 way’ to embed data, in this case study the initial prototype for the recite application is implemented with a hack. In the code described in the Solution section below, data is simply embedded in the document using a data URI that encodes the JSON data supplied by Zotero. In order to work with citeproc.js, the most efficient way to store data is using the JSON format that is used by citeproc.js, described at:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;a href=&quot;https://github.com/citation-style-language/schema/blob/master/csl-data.json&quot;&gt;https://github.com/citation-style-language/schema/blob/master/csl-data.json&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is not usual HTML5 best practice, and subsequent versions will attempt to use more standard approaches. To accomplish this, though, more work needs to be done to map the JSON format to the Bibliographic ontology.&lt;/p&gt;
&lt;p&gt;To illustrate this in a concrete way, let us take the Zotero example above, step by step.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The author cites the newspaper article about flooding using Zotero in Microsoft Word, using the Zotero tool, e.g. &lt;a href=&quot;#ref-03&quot;&gt;[3]&lt;/a&gt; .&lt;/li&gt;
&lt;li&gt;Behind the scenes, Zotero stores the citation in JSON format with complete citation data in a Word field. In the raw save as HTML format from Word, this looks like so (truncated):&lt;/li&gt;
&lt;/ul&gt;
&lt;p style=&quot;padding-left:60px;&quot;&gt;&amp;lt;!–[if supportFields]&amp;gt;&amp;lt;span lang=EN-GB style=’mso-fareast-language:EN-GB’&amp;gt;&amp;lt;span style=’mso-element:field-begin’&amp;gt;&amp;lt;/span&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:60px;&quot;&gt;ADDIN ZOTERO_ITEM CSL_CITATION&lt;/p&gt;
&lt;p style=&quot;padding-left:60px;&quot;&gt;{&amp;amp;quot;citationID&amp;amp;quot;:&amp;amp;quot;j3o3mb0pi&amp;amp;quot;,&amp;amp;quot;properties&amp;amp;quot;:{&amp;amp;quot;formattedCitation&amp;amp;quot;:&amp;amp;quot;[2]&amp;amp;quot;,&amp;amp;quot;plainCitation&amp;amp;quot;:&amp;amp;quot;[2]&amp;amp;quot;},&amp;amp;quot;citationItems&amp;amp;quot;:[{&amp;amp;quot;id&amp;amp;quot;:55,&amp;amp;quot;uris&amp;amp;quot;:[&amp;amp;quot;http://zotero.org/users/568/items/B2F9H4I2&amp;amp;quot;],&amp;amp;quot;uri&amp;amp;quot;:[&amp;amp;quot;http://zotero.org/users/568/items/B2F9H4I2&amp;amp;quot;],&amp;amp;quot;itemData&amp;amp;quot;:{&amp;amp;quot;id&amp;amp;quot;:55,&amp;amp;quot;type&amp;amp;quot;:&amp;amp;quot;article-newspaper&amp;amp;quot;,&amp;amp;quot;title&amp;amp;quot;:&amp;amp;quot;GREAT&lt;/p&gt;
&lt;p style=&quot;padding-left:60px;&quot;&gt;FLOOD AT TOOWOOMBA. SYDNEY,&lt;/p&gt;
&lt;p style=&quot;padding-left:60px;&quot;&gt;…&lt;/p&gt;
&lt;p style=&quot;padding-left:60px;&quot;&gt;&amp;lt;![endif]–&amp;gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Using the WordDown Word-to-HTML converter, the author converts the document to HTML5. WordDown does two things:&lt;/li&gt;
&lt;/ul&gt;
&lt;p style=&quot;padding-left:60px;&quot;&gt;1. For practical reasons, it keeps the JSON-formatted code as a data URI – so that it can be re-used by software that understands the Zotero JSON format.&lt;/p&gt;
&lt;p style=&quot;padding-left:90px;&quot;&gt;&amp;lt;link itemprop=”url” href=”data:application/json,%A0%20%7B%22citationID%22%3A%22ptFzCvsW%22%2C%22properties%22%3A%7B%22formattedCitation%22%3A%22%28Anon%201893%29%22%2C%22plainCitation%22%3A%22%28Anon%201893%29%5B2%5D%22%7D%2C%22citationItems%22%3A%5B%7B%22id%22%3A393%2C%22uris%22%3A%5B%22http%3A//zotero.org/users/568/items/B2F9H4I2%22%5D%2C%22uri%22%3A%5B%22http%3A//zotero.org/users/568/items/B2F9H4I2%22%5D%2C%22itemData%22%3A%7B%22id%22%3A393%2C%22type%22%3A%22article-newspaper%22%2C%22title%22%3A%22GREAT%20FLOOD%20AT%20TOOWOOMBA.%20SYDNEY%2C%20Friday.%22%2C%22container-title%22%3A%22Gippsland%20Times%22%2C%22publisher-place%22%3A%22Vic.%22%2C%22page%22%3A%223%22%2C%22event-place%22%3A%22Vic.%22%2C%22issued%22%3A%7B%22date-parts%22%3A%5B%5B%221893%22%2C2%2C20%5D%5D%7D%2C%22accessed%22%3A%7B%22date-parts%22%3A%5B%5B2011%2C10%2C17%5D%5D%7D%7D%7D%5D%2C%22schema%22%3A%22https%3A//github.com/citation-style-language/schema/raw/master/csl-citation.json%22%7D%20″&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:60px;&quot;&gt;2. For more general, standards-compliant use, WordDown converts the Zotero data from JSON into Microdata, so that the complete citation information is hidden inline at the point of citation, like this:&lt;/p&gt;
&lt;p style=&quot;padding-left:90px;&quot;&gt;&amp;lt;span itemprop=”cites” itemscope=”itemscope” itemtype=”http://schema.org/ScholarlyArticle”&amp;gt;&amp;lt;meta itemprop=”id” content=”393″&amp;gt;&amp;lt;meta itemprop=”type” content=”article-newspaper”&amp;gt;&amp;lt;meta itemprop=”title” content=”GREAT FLOOD AT TOOWOOMBA. SYDNEY, Friday.”&amp;gt;&amp;lt;meta itemprop=”container-title” content=”Gippsland Times”&amp;gt;&amp;lt;meta itemprop=”publisher-place” content=”Vic.”&amp;gt;&amp;lt;meta itemprop=”page” content=”3″&amp;gt;&amp;lt;meta itemprop=”event-place” content=”Vic.”&amp;gt;&amp;lt;span itemprop=”issued”&amp;gt;&amp;lt;meta itemprop=”date-parts” content=”1893220″&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span itemprop=”accessed”&amp;gt;&amp;lt;meta itemprop=”date-parts” content=”20111017″&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;link itemprop=”uri” href=”http://zotero.org/users/568/items/B2F9H4I2″&amp;gt;&amp;lt;/span&amp;gt;&lt;/p&gt;
&lt;p&gt;Note that this microdata is a demonstration only, it does not have a formal namespace for the Zotero data. At this stage, this case study remains incompatible with those of Adams &lt;a href=&quot;&amp;quot;#ref-04&quot;&gt;[4]&lt;/a&gt;, which examines several formats, none of which are directly compatible with Zotero’s format and MacGillivary &lt;a href=&quot;&amp;quot;#ref-02&quot;&gt;[2]&lt;/a&gt; which uses the BibJSON format which has been developed independently of Zotero’s JSON format.&lt;/p&gt;
&lt;h3&gt;How to Generate This Code&lt;/h3&gt;
&lt;p&gt;HTML5-embedded citations are not practical to type by hand, so tool support is needed. The solution delivered as part of this use case is designed for word-processor users. Part of the ongoing work on this project is to discuss with the developers of other tools how their tool-chains might support similar outputs. In particular the WordPress community does a lot of work on citation plug-ins, and Pandoc&lt;a href=&quot;/intranet.ukoln.ac.uk/projects/html5/editing-work/HTML5/BK-updates/HTML5-seftona-citations-v3.0.doc#_ftn4&quot; title=&quot;&quot;&gt; [4]&lt;/a&gt;, supports generation of HTML with CSL support for citations, discussion on mailing lists supporting those communities has informed this case study.&lt;/p&gt;
&lt;h1&gt;3. Solution&lt;/h1&gt;
&lt;p&gt;The solution presented in this case study consists of three main parts:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Collaborative work with JISCHTML5 project participants on declarative specifications for embedding citation data in HTML5 publications. This is covered in the case study on core HTML5 structure [5] and in the commentary below about best practice.&lt;/li&gt;
&lt;li&gt;A demonstration implementation in the WordDown HTML5 [6] conversion tool of how Zotero references in Word documents can be captured.&lt;/li&gt;
&lt;li&gt;The demonstration Javascript software for reformatting citations, ReCite, uses the Citation Style Language (CSL). CSL is a language for describing citation formats, invented by a USacademic, Bruce D’Arcus. It is now used in at least two major reference management applications: Zotero and Mendeley&lt;a href=&quot;#ftn5&quot; title=&quot;&quot;&gt;[5]&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This solution uses the &lt;a href=&quot;http://bitbucket.org/fbennett/citeproc-js/wiki/Home&quot;&gt;citeproc.js&lt;/a&gt; library for formatting citations.&lt;/p&gt;
&lt;p&gt;This work has had very limited impact so far, but it has attracted some interest from those working on related projects and in areas such as the digital humanities. It is an important area for investment by the Higher Education sector, though, for simple reasons of productivity. Huge amounts of time are expended on current citation practices in authoring, publishing and re-using academic content.&lt;/p&gt;
&lt;h1&gt;4. Challenges&lt;/h1&gt;
&lt;p&gt;The main challenge in this work is aligning effort that is happening in many different projects across the world, and choosing which of many competing metadata standards to support. While &lt;a href=&quot;http://zotero.org/&quot; rel=&quot;noreferrer&quot;&gt;Zotero&lt;/a&gt;, as an open source product, and &lt;a href=&quot;http://mendeley.com/&quot;&gt;Mendeley&lt;/a&gt; as a free-to-use product, are both widely deployed, and can share citation formats via CSL, the JSON format used by the citation formatter citeproc.js is not very well documented and at this stage it is not clear exactly how much work will be involved to map the JSON format to HTML5 microdata and to other formats.&lt;/p&gt;
&lt;p&gt;There are also problems with the citeproc.js library used in the ReCite code. It uses an XML processing library which does not appear to work very well in the Google Chrome browser or Apple&#039;s Safari. It is not clear at this stage if these problems can be resolved or an alternative found.&lt;/p&gt;
&lt;h1&gt;5. Conclusions&lt;/h1&gt;
&lt;p&gt;This case study has shown a proof of concept implementation that demonstrates that citations can be inserted into a document in one mode, in a word processing application, and be published in HTML5 with the semantic structure of the citation intact; so it can be reformatted on demand, and, more importantly, processed by machines. This is just one tool-chain, the same principle could be applied in many different workflows.&lt;/p&gt;
&lt;p&gt;While the proof of concept works it is limited by interoperability problems between the citation and bibliographic formats in use today on the Web and in academic systems. This early work shows promise, but to reap substantial benefits, investment is needed in the following areas:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Cross-walk services so that systems using different standards for bibliographic metadata can be bridged. A public web API would be ideal, and would reduce costs for web developers working with all kinds of academic materials which have formal citations in them&lt;/li&gt;
&lt;li&gt;Guides users following and implementing current common academic authoring, editorial and publishing workflows, including information literacy materials for use in higher education institutions.&lt;/li&gt;
&lt;li&gt;Representing the needs of higher education and research in current commercially driven quasi-standards efforts, particularly the Schema.org consortium, which is defining standards for representing embedded in HTML5 materials.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;We have an opportunity, via a modest effort in development, standardisation work and outreach, to realise the goal set out in this case study: to automate processing of in-text citations and reference lists in publications.&lt;/p&gt;
&lt;h1&gt;6. References&lt;/h1&gt;
&lt;p&gt;[1] &lt;em&gt;Open Bibliography for Science, Technology, and Medicine&lt;/em&gt;. Jones, R., MacGillivray, M., Murray-Rust, P., Pitman, J., Sefton, P., O&#039;Steen, B., &amp;amp; Waites, W. (2011). Retrieved from: &lt;a href=&quot;http://www.dspace.cam.ac.uk/handle/1810/238406&quot; title=&quot;http://www.dspace.cam.ac.uk/handle/1810/238406&quot;&gt;http://www.dspace.cam.ac.uk/handle/1810/238406&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;[2] &lt;em&gt;Visualising Embedded Metadata&lt;/em&gt;, MacGillivray, M. HTML5 Case Studies, University of Bath: UKOLN.&lt;/p&gt;
&lt;p&gt;[3] GREAT FLOOD AT TOOWOOMBA. SYDNEY, Friday. &lt;em&gt;Gippsland Times&lt;/em&gt;, 1893. p.3.&lt;/p&gt;
&lt;p&gt;[4] &lt;em&gt;Semantics and Metadata&lt;/em&gt;, HTML5 Case Studies, Adams, S. UKOLN, University of Bath:.&lt;/p&gt;
&lt;p&gt;[5] Sefton, P. (2012b). &lt;em&gt;Conventions and guidelines for Scholarly HTML5 documents&lt;/em&gt;, HTML5 Case Studies, UKOLN, University of Bath.&lt;/p&gt;
&lt;p&gt;[6] Sefton, P. (2012c). &lt;em&gt;WordDown: Word to HTML5 conversion tool&lt;/em&gt;, HTML5 Case Studies, UKOLN, University of Bath.&lt;/p&gt;
&lt;hr /&gt;
&lt;h2&gt;Footnotes&lt;/h2&gt;
&lt;div&gt;[1] THATCamp Canberra - The Humanities And Technology unconference, 7-9 October, University of Canberra, &lt;a href=&quot;http://thatcampcanberra.org/&quot;&gt;http://thatcampcanberra.org/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[2] TROVE Digitised Newspapers and more, &lt;a href=&quot;http://trove.nla.gov.au/ndp/del/home&quot;&gt;http://trove.nla.gov.au/ndp/del/home&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[3] Zotero, &lt;a href=&quot;http://www.zotero.org/&quot; rel=&quot;noreferrer&quot;&gt;http://www.zotero.org/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[4] Pandoc, &lt;a href=&quot;http://johnmacfarlane.net/pandoc/&quot; rel=&quot;noreferrer&quot;&gt;http://johnmacfarlane.net/pandoc/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[5] Mendeley, &lt;a href=&quot;http://www.mendeley.com/&quot; rel=&quot;noreferrer&quot;&gt;http://www.mendeley.com/&lt;/a&gt;&lt;/div&gt;
</description>
     <comments>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-study-7-challenging-tyranny-citation-formats-automated-citation-formatting#comments</comments>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/persons/peter-sefton">peter sefton</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/automated-citation-formatting">automated citation formatting</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/citation-formats">citation formats</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/html5">HTML5</category>
 <pubDate>Mon, 16 Jul 2012 13:58:25 +0000</pubDate>
 <dc:creator>Administrator</dc:creator>
 <guid isPermaLink="false">87 at http://technicalfoundations.ukoln.ac.uk</guid>
  </item>
  <item>
    <title>HTML5 Case Study 6:  3Dactyl: Using WebGL to Represent Human Movement in 3D</title>
    <link>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-study-6-3dactyl-using-webgl-represent-human-movement-3d</link>
    <description>&lt;p&gt;Author: Stephen Gray&lt;/p&gt;
&lt;h1&gt;1. About This Case Study&lt;/h1&gt;
&lt;p&gt;This case study covers the development of 3Dactyl, a hardware and software configuration, which is intended to record and represent the physical movements of an individual online in three dimensions, for scholarly research purposes. Resulting 3D scenes (as an XML document) are embeddable within a standard Web page or VLE. Examples of such 3D footage might be various forms of performance art, e.g. dance, drama or even sport where the performance of play strokes can be carefully analysed. Within the same constraints of space, surgical or therapeutic procedures would be another feasible use. When such scenes are viewed on future versions of browsers, they will not, typically, require special plug-ins to use the 3D footage interactively.&lt;/p&gt;
&lt;p&gt;The 3Dactyl Project is still under development, the aim is to develop a system which is reproducible, configurable and usable by the non-technical specialist at minimal cost. Future versions will aim to automate much of the workflow, which for now has to be carried out manually.&lt;/p&gt;
&lt;p&gt;Research groups from medicine, sports science and archaeology are beginning to explore the presentation of research data as online 3D visualisations. New precedent projects demonstrate a clear need for spatially accurate information, presented over time in a simple and accessible way.&lt;/p&gt;
&lt;p&gt;The particular focus for the current project has been the capture and representation of human motion within arts research. For example, the tracking of human motion in the context of dramatic action, stage behaviour, etc. To achieve this, we have worked closely with the University of Bristol&#039;s Department of Drama: Theatre, Film, Television &lt;a href=&quot;#ftn1&quot; title=&quot;&quot;&gt;[FN1]&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Target Audience&lt;/h2&gt;
&lt;p&gt;This case study will be of interest to creative arts researcher-practitioners within Higher Education or similar research institutions. Although the configuration and operation of the 3Dactyl system currently does require a degree of technical engagement it is being specifically developed by the 3Dactyl team for use by arts researchers who are not IT specialists.&lt;/p&gt;
&lt;p&gt;It is hoped that those responsible for supporting performance-related research activities such as: technical theatre staff, assessors of practice-as-research, keepers of performance archives and e-learning staff responsible for arts faculty VLE pages will also find this case study useful and may wish to reproduce the workflows described below.&lt;/p&gt;
&lt;h2&gt;What Is Covered&lt;/h2&gt;
&lt;p&gt;The case study divides the development of 3Dactyl into three phases:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Motion capture&lt;/li&gt;
&lt;li&gt;Re-targeting motion data to a standardised digital avatar&lt;/li&gt;
&lt;li&gt;Representing the avatar with real-world motion applied in an interactive 3D form, via a browser&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The hardware, software and workflow steps for each phase are described in this case study.&lt;/p&gt;
&lt;h2&gt;What Is Not Covered&lt;/h2&gt;
&lt;p&gt;The current incarnation of 3Dactyl requires a 3D avatar model to be used in order to &#039;carry&#039; the 3D data which has been captured. Many suitable 3D models are available on the web under Creative Commons licences. Use of custom avatars is possible and has exciting creative possibilities; but CGI modelling, rigging and skinning is beyond the scope of this document.&lt;/p&gt;
&lt;h1&gt;2. Use Case&lt;/h1&gt;
&lt;p&gt;In addition to enriching our cultural heritage sector, performance, as research, underpins the scholarly record and is commonly used, reused and reinterpreted by subsequent researcher-practitioners as the basis for new works. The target audience for this system is the undergraduate through to a post-doctoral researcher studying in a performance-related discipline (e.g. theatre, live art or dance).&lt;/p&gt;
&lt;p&gt;Locally, the system is intended to be used by undergraduates studying performance within the University of Bristol&#039;s Department of Drama to build 3D &quot;sketchbook&quot;. 3Dactyl is presented as a solution which will permit 3D recordings to be made, studied and ultimately archived for research purposes.&lt;/p&gt;
&lt;p&gt;Students, researchers and keepers of performance study collections recognise both the desirability and the considerable challenge of &quot;preserving&quot; live performance. Often a single video recording is used to represent a work which may have taken months or even years to develop. As &#039;by-products&#039; of the creative process, these videos may be of very poor quality. Problems are associated with using any single method of documentation, but video has an inherent limitation: it is essentially a 2D technique attempting to describe actions in 3D space. For disciplines where correct execution is important, such as dance, established visual recording methods frequently produce documents which are entirely unfit for research or teaching purposes.&lt;/p&gt;
&lt;p&gt;42 UK Higher Education institutions (HE is) and similar institutions put forward research for assessment under the Drama, Dance and Performing Arts heading of the 2008 ARE. The University of Bristol Department of Drama: Theatre, Film, Television was ranked 6th among them. The University is also home to the Theatre Collection, a special study collection and museum which holds the second largest performance-related archive in the UK, after the Victoria and Albert Museum.&lt;/p&gt;
&lt;p&gt;After conducting several successful collaborative projects with the Department of Drama the 3Dactyl team recognised the need for an inexpensive and easy-to-use system which could be deployed to record performance in an interactive 3D format.&lt;/p&gt;
&lt;p&gt;The system should be unobtrusive (for example, not require special markers to be worn during recording) and sufficiently accurate, as well as be able to produce documents in a format which can be accessed via a browser without the need for dedicated plug-ins. The solution will allow students and researchers of performance to interact with 3D representations in real time and to examine the event from any conceivable perspective, for example, from behind, above or at very close range. This need ruled out the use of domestic 3D TV technologies, which record and display stereoscopic rather than truly 3D representations, in much the same way as conventional cinematic projections differ from 3D vision performances.&lt;/p&gt;
&lt;p&gt;If possible, documents produced by the system should be in an open source format in order to meet the collection policies of archives such as Bristol&#039;s Theatre Collection Museum &lt;a href=&quot;#ftn2&quot; title=&quot;&quot;&gt;[FN2]&lt;/a&gt; which is the custodian of much of the UK&#039;s performance documentation.&lt;/p&gt;
&lt;h2&gt;Background&lt;/h2&gt;
&lt;p&gt;Tools which facilitate online 3D representations have been around for some time. Introduced in the early 1990s, VRML (Virtual Reality Mark-up Language) was limited by insufficient bandwidths, processor speeds and the need to employ browser plug-ins which proved difficult to configure. Despite these issues, VRML ultimately proved to be a successful, open technology and spawned the newer X3D format. The X3D ISO standard, used by the 3Dactyl system, offers the ability to encode a 3D scene using an XML dialect. Supporters of X3D are currently striving to make it the de facto standard for interactive 3D Web content.&lt;/p&gt;
&lt;p&gt;X3D, coupled with advances in WebGL (Web-based Graphics Library) and intermediary technologies mean many of today&#039;s browsers are already capable of displaying interactive 3D data without the need for plug-ins, although this functionality is rarely used.&lt;/p&gt;
&lt;p&gt;The online re-presentation of human motion is only possible if that motion has been accurately captured, to achieve this, the current project makes use of the Microsoft Kinect, an inexpensive peripheral, primarily intended as a controller for the Xbox 360. The release by Microsoft of the Kinect SDK &lt;a href=&quot;#ftn3&quot; title=&quot;&quot;&gt;[FN3]&lt;/a&gt; has facilitated the development of many Mocap (motion capture) applications which would, only a short time ago have been financially prohibitive for the majority of academic researchers or even modestly funded research groups.&lt;/p&gt;
&lt;h1&gt;3. Solution&lt;/h1&gt;
&lt;h2&gt;Motion capture&lt;/h2&gt;
&lt;p&gt;The project uses the (sub-£100) Kinect, a device intended primarily as a controller for the Xbox 360 game console. Motion capture also requires a PC, with OpenNI framework, NITE middleware and Brekel Kinect Drivers (all either open source or freely available). In the current version of 3Dactyl, the Brekel application is used as the central interface for motion capture. After launching the application, users stand in front of the Kinect device and ensure their entire body is visible. The human form is recognised automatically. Note however that recognition fails if a user&#039;s face is not visible to the device or if the user stands too close to large objects. In order to &#039;lock on&#039; to a skeleton, the user must adopt a standard &#039;Psi-Pose&#039; (see Figure 1).&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Figure 1&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/gray/html/gray-fig-01.jpg&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 1: a standard &#039;Psi-Pose&#039;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The Brekel application allows either visible light or infra-red light to be used for tracking and this option for users can make a difference to the quality of the outcome, depending on the lighting conditions of a room. Loose clothing or other people in the device&#039;s view can also make calibration fail (although tracking of multiple skeletons is possible and will shortly be implemented). When tracking starts an overlay of joints is visible in the viewport. The user (or an operator) chooses where the mocap data should be saved to and starts the capture process. The system begins to write a Biovision Hierarchy (BVH) character animation file, which contains the motion data, i.e., successive captures of the human movements which are numbered incrementally. Limitations to motion capture include a restricted &quot;stage&quot; area within which the subject can move, as well as the requirement that the subject&#039;s &lt;em&gt;entire&lt;/em&gt; body remains within those limited boundaries throughout the entire take.&lt;/p&gt;
&lt;p&gt;The size of this area depends greatly on local lighting conditions, but 10 square feet of floor space can be expected. Another limitation is the inability to track fine-grained movements (such as finger movements or facial expressions), though this aspect is improving with successive generations of tracking software.&lt;/p&gt;
&lt;h2&gt;Motion Re-targeting&lt;/h2&gt;
&lt;p&gt;Once motion is captured in .BHV format it can be applied to a surrogate avatar. The avatar does not have to have the same proportions as the performer.&lt;/p&gt;
&lt;p&gt;Nor does it have to be humanoid. Several 3D modelling packages allow the retargeting of .BHV data onto an existing CGI model. We typically elect to do this via the open source modelling software, Blender. The same process is possible in packages such as Maya or 3DS Max. This stage is fairly standard and many guides exist which cover the application of .BHV data within specific modelling packages. One advantage of using Blender is the package&#039;s native ability to export a scene as X3D format, though both MAYA and 3DS Max can export as X3D via plug-ins (RawKee and BSContact, respectively).&lt;/p&gt;
&lt;h2&gt;Re-presenting Performance as X3D&lt;/h2&gt;
&lt;p&gt;3Dactyl relies upon three key technologies in order to deliver 3D content via a Web browser: X3D, 3DOM and WebGL.&lt;/p&gt;
&lt;p&gt;X3D&lt;a href=&quot;#ftn4&quot; title=&quot;&quot;&gt;[FN4]&lt;/a&gt; is the ISO standard XML-based file format for representing 3D computer graphics. X3D supports many of the same features as its predecessor, VRML, including: several different options for navigating a scene, the ability to loop animated elements and clickable (onclick) 3D objects, used to initiate actions. We selected X3D for use within 3Dactyl as the format is already becoming integrated into the HTML5 standard. The HTML5 specification &lt;a href=&quot;#ftn5&quot; title=&quot;&quot;&gt;[FN5]&lt;/a&gt; already references X3D for declarative3D scenes. However, a specific integration model is not suggested.&lt;/p&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;pre&gt;&amp;lt;!DOCTYPE html&amp;gt;

&amp;lt;html&amp;gt;

  &amp;lt;head&amp;gt;

    &amp;lt;meta http-equiv=&#039;Content-Type&#039; content=&#039;text/html;charset=utf-8&#039;&amp;gt;&amp;lt;/meta&amp;gt;

    &amp;lt;title&amp;gt;X3DOM example

    &amp;lt;/title&amp;gt;

    &amp;lt;link rel=&#039;stylesheet&#039; type=&#039;text/css&#039; href=&#039;&lt;a href=&quot;http://www.x3dom.org/x3dom/src/x3dom.css&quot; rel=&quot;noreferrer&quot;&gt;http://www.x3dom.org/x3dom/src/x3dom.css&lt;/a&gt;&#039;&amp;gt;&amp;lt;/link&amp;gt;

  &amp;lt;/head&amp;gt;

  &amp;lt;body&amp;gt;

    &amp;lt;h1&amp;gt;X3DOM example

    &amp;lt;/h1&amp;gt;

    &amp;lt;p&amp;gt;

      &amp;lt;x3d id=&#039;someUniqueId&#039; showStat=&#039;false&#039; showLog=&#039;false&#039; x=&#039;0px&#039; y=&#039;0px&#039; width=&#039;400px&#039; height=&#039;400px&#039;&amp;gt;

        &amp;lt;scene DEF=&#039;scene&#039;&amp;gt;

          &amp;lt;worldInfo info=&#039;&quot;X3D sample created using the 3Dactyl system&quot;&#039; title=&#039;climb1&#039;&amp;gt;&amp;lt;/worldInfo&amp;gt;

          &amp;lt;navigationInfo type=&#039;&quot;EXAMINE&quot; &quot;ANY&quot;&#039;&amp;gt;&amp;lt;/navigationInfo&amp;gt;&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Figure 2. Code snippet from a finalised X3D file.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;X3DOM&lt;a href=&quot;#ftn6&quot; title=&quot;&quot;&gt;[FN6]&lt;/a&gt; is the DOM-based HTML5/X3D integration model we use, X3DOM integrates X3D data with HTML5 using only &lt;a href=&quot;http://en.wikipedia.org/wiki/WebGL&quot; rel=&quot;noreferrer&quot; title=&quot;WebGL&quot;&gt;WebGL&lt;/a&gt; and JavaScript. This is achieved by directly mapping live DOM elements to an X3D model in a way very similar to the way SVG is used with 2D graphics.&lt;/p&gt;
&lt;p&gt;WebGL&lt;a href=&quot;#ftn7&quot; title=&quot;&quot;&gt;[FN7]&lt;/a&gt; displays the X3D scenes within the browser. WebGL uses the canvas element and provides a 3D graphics API. Many browsers which support HTML5 also have support for WebGL (see Table 1).&lt;/p&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan=&quot;2&quot;&gt;
&lt;p&gt;&lt;strong&gt;WebGL browser support&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mozilla Firefox&lt;/td&gt;
&lt;td&gt;Support enabled by default since version 4.0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Google Chrome&lt;/td&gt;
&lt;td&gt;Support enabled by default since version 9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Safari&lt;/td&gt;
&lt;td&gt;Support disabled by default since 5.1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Opera&lt;/td&gt;
&lt;td&gt;Only supported in development build 11.50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Internet Explorer&lt;/td&gt;
&lt;td&gt;Works via IEWebGL plug-in. No official plans to support WebGL without plug-ins.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Table 1: WebGL browser support.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Encoded as HTML5, X3D scenes can either be associated with other, non-3D content, or remain independent.&lt;/p&gt;
&lt;h1&gt;4. Challenges&lt;/h1&gt;
&lt;h2&gt;Quality of motion capture&lt;/h2&gt;
&lt;p&gt;Fine-grained motion is still difficult to record reliably using the Kinect. This problem is by no means insignificant but should be balanced against the low cost of the unit. The Kinect is approximately 1000 times cheaper than a standard movie-grade motion capture hardware set-up but, under favourable conditions, can give comparable results. Since Microsoft released the Kinect SDK into the public realm, there has been rapid development of &#039;next-generation&#039; motion capture applications which already demonstrate an improved ability to capture fine-grained motion data.&lt;/p&gt;
&lt;h2&gt;Use of surrogate CGI avatars vs. 3D &#039;scanning&#039;&lt;/h2&gt;
&lt;p&gt;Performance is covered by a heterogeneous group of disciplines and, while there is some commonality, each views the action of documenting practice differently. To summarise the feedback the team received: researchers from theatrical disciplines viewed the 3Dactyl system as a opportunity to publish theatrical events (i.e. to an audience) while dance researchers saw the potential of 3D recording as a way to refine their practice by detecting and then correcting errors in technique. Other disciplines (e.g. live art) fell somewhere between these two camps.&lt;/p&gt;
&lt;p&gt;The ideal system in the view of theatrical disciplines would require less accuracy in terms of motion capture but more CGI modelling, inclusion of scenographic details (such as a virtual &#039;stage&#039; and props) and the interaction of multiple performances. For dance researchers, the ideal system would instead require accurate motion capture but less 3D modelling; indeed, in order to compare technique a process of standardisation was requested, which would allow two performances to be compared and contrasted simultaneously, regardless of differences such as body shape, costume or gender.&lt;/p&gt;
&lt;p&gt;The question was therefore one of driving 3D avatars vs. the 3D &#039;scanning&#039; of scenes, both were possible within the scope of the project but limited resources meant it would not be possible to investigate both avenues simultaneously. It was decided that the 3D avatar model should be investigated first and could later be used as the basis for more &#039;publishable&#039; forms of 3D recording, possibly constructed using the technique of &lt;em&gt;photogrammetry&lt;/em&gt; &lt;a href=&quot;#ftn8&quot; title=&quot;&quot;&gt;[FN8]&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Delivery&lt;/h2&gt;
&lt;p&gt;Over the course of 2011, several security issues have emerged which, according to Context Information Security, are inherent in the WebGL standard. The Context report &lt;a href=&quot;#ftn9&quot;&gt;[FN9]&lt;/a&gt; claimed that security vulnerabilities were present in both the Chrome and Mozilla Firefox WebGL implementations. This meant that remote code could be employed to access local graphics software and hardware.&lt;/p&gt;
&lt;p&gt;Mark Shaver, Vice President of Technical Strategy at Mozilla, stated that his organisation was working to address issues in the WebGL specification and Firefox&#039;s implementation of it &lt;a href=&quot;#ftn10&quot; title=&quot;&quot;&gt;[FN10]&lt;/a&gt;. Shaver went on to say that the Web needs a clear 3D standard and any such technology would inevitably experience teething problems.&lt;/p&gt;
&lt;p&gt;Aside from IE;s lack of support for WebGL (for example, no use of plug-ins), the security problems associated with WebGL have had little impact on the project as other major browsers have not withdrawn support for the standard. It is widely expected, given the desirability of presenting 3D data online without the need for plug-ins, that even if WebGL were to be withdrawn, another similar standard would quickly replace it.&lt;/p&gt;
&lt;h1&gt;5. Things Done Differently / Lessons Learnt&lt;/h1&gt;
&lt;p&gt;User needs analysis is vital to successful implantation of innovative technologies. We judged our initial solutions to be unsuccessful, despite the fact that the results seemed to impress non-arts specialists. Feedback told us that solutions were too complex and (given the independent nature of much arts research) that only when users could understand and replicate the system and associated workflows from capture to online delivery would they view our solution as a serious research tool.&lt;/p&gt;
&lt;p&gt;In retrospect, we should have maintained a far closer relationship with our user group members. Intermittent contact did not allow us to develop features which they believe would have been useful (such as the ability to annotate 3D scenes). Greater contact with the user group would have speeded development but, as users were unpaid volunteers, this proved difficult to achieve.&lt;/p&gt;
&lt;p&gt;The wider academic application of the technologies discussed here did not occur to the team until late on in the development process. Again in hindsight, we should have put together a far wider user group. Representatives from the University of Bristol&#039;s Faculty of Veterinary and Medical Sciences and would have been particularly welcome additions to the project.&lt;/p&gt;
&lt;p&gt;The long-term preservation of 3D documentation within archival repositories is something which interests the team greatly, and we are concerned about the long-term viability of such rich digital documents. On reflection, we should have engaged more closely with parallel projects which aim to address these issues such as the JISC-funded POCOS Project.&lt;/p&gt;
&lt;h1&gt;6. Conclusions&lt;/h1&gt;
&lt;h2&gt;3D as Evidence of Research&lt;/h2&gt;
&lt;p&gt;As the Research Excellence Framework (REF) 2014 approaches, new ways are growing in importance which address the failings that are only identified during the periods of assessment by disciplines which deal with &#039;liveness&#039; or dynamic animal behaviour. Performance, in the same way as any other academic discipline, has to demonstrate impact and excellence. A key benefit offered by our system to potentially adoptive departments is the ability to record and then represent works carried out by research staff during the course of their observations. External assessors will require no special plug-ins nor complex instructions to view 3D recordings of live work.&lt;/p&gt;
&lt;p&gt;The representation of information in 3 dimensions is not always appropriate. However, our work has shown that when 3-dimensional documentation of performance is presented alongside other information (such as a catalogue records, videos or photographs) the multiple approaches can complement one another and are of great interest to our user community. The result is a hybridised and augmented document which is generally regarded as far richer than the sum of the parts.&lt;/p&gt;
&lt;h2&gt;3D as an Archival Document&lt;/h2&gt;
&lt;p&gt;It is our intention soon to publish a number of significant live works online in three dimensions. Feedback from academics has indicated that, once available, such a resource may be unique and is certainly of immediate and direct scholarly value. Subject to funding, we then intend to expand the collection to include more works.&lt;/p&gt;
&lt;h2&gt;3D as Student &#039;Sketchbook&#039;&lt;/h2&gt;
&lt;p&gt;The building and embedding of student&#039;s own 3D &#039;sketchbooks&#039; has already been the subject of a limited pilot and on the whole works well from a technical perspective. Building such activity into existing curricula is likely to take far longer to achieve and depends on the activity having proven academic benefit. Work is currently underway to identify a programme (such as an undergraduate course) willing to engage in a more in-depth trial.&lt;/p&gt;
&lt;h2&gt;Plans for Future Development&lt;/h2&gt;
&lt;p&gt;The next stage of the project will involve development of a Kinect-to-HTML software application, to be used by the arts researcher. This application will automatically retarget motion data to a standard avatar and then generate required XML within an HTML document. The researcher then need only share this Web page via current conventional means.&lt;/p&gt;
&lt;p&gt;Following useful feedback we intend to remove the explicit reference to a script in all 3D content files we produce. So:&lt;/p&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&amp;lt;x3d&amp;gt;&amp;lt;/x3d&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;script type=&#039;text/javascript&#039; src=&#039;http://www.x3dom.org/x3dom/src/x3dom.js&#039;&amp;gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;becomes:&lt;/p&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&amp;lt;section itemtype=”http://to-be-confirmed” itemscope&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;x3d&amp;gt;… &amp;lt;/x3d&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/section&amp;gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;thereby allowing the CMS or VLE serving the page to add the script manually or via a client-side JavaScript. These measures guard against the possible relocation of explicitly referenced script.&lt;/p&gt;
&lt;p&gt;Future developmental stages will explore the use of multiple webcams as capture devices, replacing the Kinect. This would allow data to be reconstructed as photorealistic 3D representations via the process of &lt;em&gt;photogrammetry (and so addressing the preferred solution of theatrical disciplines mentioned above). As the resulting files would be of considerable size, questions around bandwidth remain to be addressed. Off-line use of these highly detailed 3D documents remains an option.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The use of photogrammetry also offers an intriguing possibility in terms of archival recordings of performances which were filmed from multiple camera angles. 3D data could theoretically be derived and a 3D &#039;version&#039; of an historical performance be created. We intend to investigate the scholarly benefits of this &#039;retrospective&#039; motion capture process in later development phases.&lt;/p&gt;
&lt;h1&gt;Appendix 1: HTML5 Technologies Used&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;WebGL&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;WebGL is a cross-platform, royalty-free Web standard for a low-level 3D graphics API based on OpenGL ES 2.0, exposed through the HTML5 Canvas element as Document Object Model interfaces. Developers familiar with OpenGL ES 2.0 will recognise WebGL as a Shader-based API using GLSL, with constructs that are semantically similar to those of the underlying OpenGL ES 2.0 API. It stays very close to the OpenGL ES 2.0 specification, with some concessions made for what developers expect from memory-managed languages such as JavaScript &lt;a href=&quot;#ftn11&quot; title=&quot;&quot;&gt;[FN11]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Canvas element&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, or other visual images on the fly. In interactive visual media, if scripting is enabled for the &lt;code&gt;canvas&lt;/code&gt; element, and if support for &lt;code&gt;canvas&lt;/code&gt; elements has been enabled, the &lt;code&gt;canvas&lt;/code&gt; element represents embedded content consisting of a dynamically created image &lt;a href=&quot;#ftn12&quot; title=&quot;&quot;&gt;[FN12]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Document Object Model (DOM)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The Document Object Model is a platform- and language-neutral interface that will allow programs and scripts to access and update the content, structure and style of documents dynamically. The document can be further processed and the results of that processing can be re-incorporated into the presented page &lt;a href=&quot;#ftn13&quot; title=&quot;&quot;&gt;[FN13]&lt;/a&gt;.&lt;/p&gt;
&lt;hr /&gt;
&lt;h2&gt;Footnotes&lt;/h2&gt;
&lt;div&gt;
&lt;p&gt;[1] University of Bristol: Department of Drama: Theatre, Film, Television, &lt;a href=&quot;http://www.bristol.ac.uk/drama/&quot; rel=&quot;noreferrer&quot;&gt;http://www.bristol.ac.uk/drama/&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;[2] University of Bristol Theatre Collection, &lt;a href=&quot;http://www.bris.ac.uk/theatrecollection/&quot; rel=&quot;noreferrer&quot;&gt;http://www.bris.ac.uk/theatrecollection/&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;[3] Microsoft Kinect SDK for Developers, &lt;a href=&quot;http://kinectforwindows.org/&quot; rel=&quot;noreferrer&quot;&gt;http://kinectforwindows.org/&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;[4] Web3D Consortium: X3D and Related Specifications, &lt;a href=&quot;http://www.web3d.org/x3d/specifications/&quot; rel=&quot;noreferrer&quot;&gt;http://www.web3d.org/x3d/specifications/&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;[5] HTML5: A vocabulary and associated APIs for HTML and XHTML, &lt;a href=&quot;http://dev.w3.org/html5/spec/&quot; rel=&quot;noreferrer&quot;&gt;http://dev.w3.org/html5/spec/&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;[6] X3DOM, &lt;a href=&quot;http://www.x3dom.org/&quot; rel=&quot;noreferrer&quot;&gt;http://www.x3dom.org/&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;[7] WebGL - OpenGL ES 2.0 for the Web, &lt;a href=&quot;http://www.khronos.org/webgl/&quot; rel=&quot;noreferrer&quot;&gt;http://www.khronos.org/webgl/&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;[8] &lt;em&gt;What is Photogrammetry?,&lt;/em&gt; &lt;a href=&quot;http://www.photogrammetry.com/&quot; rel=&quot;noreferrer&quot;&gt;http://www.photogrammetry.com/&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;[9] &lt;em&gt;WebGL - A New Dimension for Browser Exploitation&lt;/em&gt;. Report, Context Information Security. Forshaw, J. May 2011., &lt;a href=&quot;http://www.contextis.com/research/blog/webgl/&quot; rel=&quot;noreferrer&quot;&gt;http://www.contextis.com/research/blog/webgl/&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;[10] &lt;em&gt;Mozilla rejects Microsoft criticism of WebGL: New capabilities bring new risks&lt;/em&gt;. &lt;em&gt;The Inquirer&lt;/em&gt;. 21 June 2011, Wilson, D., &lt;a href=&quot;http://www.theinquirer.net/inquirer/news/2080571/mozilla-rejects-microsoft-criticism-webgl&quot; rel=&quot;noreferrer&quot;&gt;http://www.theinquirer.net/inquirer/news/2080571/mozilla-rejects-microsoft-criticism-webgl&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;[11] WebGL - OpenGL ES 2.0 for the Web, &lt;a href=&quot;http://www.khronos.org/webgl&quot; rel=&quot;noreferrer&quot;&gt;http://www.khronos.org/webgl&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;[12] 4.8.11 The canvas element: HTML Standard, &lt;a href=&quot;http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html&quot; rel=&quot;noreferrer&quot;&gt;http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;[13] W3C Document Object Model (DOM),&lt;a href=&quot;http://www.w3.org/DOM&quot; rel=&quot;noreferrer&quot;&gt; http://www.w3.org/DOM&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
</description>
     <comments>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-study-6-3dactyl-using-webgl-represent-human-movement-3d#comments</comments>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/persons/stephen-gray">stephen gray</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/3d">3D</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/3dactyl">3Dactyl</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/html5">HTML5</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/webgl">WebGL</category>
 <pubDate>Mon, 16 Jul 2012 13:54:35 +0000</pubDate>
 <dc:creator>Administrator</dc:creator>
 <guid isPermaLink="false">86 at http://technicalfoundations.ukoln.ac.uk</guid>
  </item>
  <item>
    <title>HTML5 Case Study 5:  The HTML5-Based e-Lecture Framework</title>
    <link>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-study-5-html5-based-e-lecture-framework</link>
    <description>&lt;p&gt;Author: Qingqi Wang&lt;/p&gt;
&lt;h1 class=&quot;entry-title&quot;&gt;HTML5 Case Study 5: The HTML5-Based e-Lecture Framework&lt;/h1&gt;
&lt;h1&gt;1. About This Case Study&lt;/h1&gt;
&lt;h3&gt;HTML5 case study on “&lt;em&gt;The HTML5-Based e-Lecture Framework&lt;/em&gt;” by Qingqi Wang&lt;/h3&gt;
&lt;p&gt;The HTML5-based e-Lecture Framework is a part of the HTML5 Case Studies funded by JISC and managed by UKOLN. This case study focuses on providing a solution to allow e-lecture creators to convert their Microsoft&amp;nbsp;PowerPoint presentations into online lectures in a simple and quick fashion. The resulting e-lecture can be easily deployed on an existing Web server and delivered to both desktop and mobile platforms.&lt;/p&gt;
&lt;h2&gt;Target Audience&lt;/h2&gt;
&lt;p&gt;This case study has been produced for lecturers and supporting staff who plan to deliver courses to the Web via series of e-lectures. The e-Lecture Framework is designed to provide a solution to convert PowerPoint presentations to an e-lecture format, which can be directly published on Web. The obvious benefits of this framework are its compatibility, flexibility, ease of use and zero-cost. The framework is free and open. No additional software is needed. No additional configuration is needed for the existing servers. No additional techniques are required for e-lecture providers to learn. The HTML5-based e-Lecture Framework can easily port the existing PowerPoint slides to mobile devices. The latter capability is of significant, as it will enable students to access learning in their preferred device format, thereby assuring they do not fall behind. This will in turn assure student retention and attract tuition in the first year and beyond. The ease of being able to watch and listen to an e-lecture on a bus or in a cafe using their handsets is something students have come to expect. Institutions which do not make this provision risk falling behind in the competition to offer students a high level of service.&lt;/p&gt;
&lt;h2&gt;What Is Covered&lt;/h2&gt;
&lt;p&gt;The topics covered in the case study include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Development of an HTML5-based auto-adaptive e-lecture interface&lt;/li&gt;
&lt;li&gt;Providing a framework for course providers to convert PowerPoint slides to e-lectures&lt;/li&gt;
&lt;li&gt;Setting up a standard format of e-lecture content&lt;/li&gt;
&lt;li&gt;Providing solutions/utilities that can help course providers to generate well-formed e-lecture content&lt;/li&gt;
&lt;li&gt;Providing technical details of the framework for further development&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;What Is Not Covered&lt;/h2&gt;
&lt;p&gt;Topics the case study will not cover are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Providing a binary application that can generate e-lectures directly from PowerPoint files based on the framework – the case study is aimed at setting up a framework that can be reused for further development. But the case study itself will not provide this kind of application.&lt;/li&gt;
&lt;li&gt;All related third-party utilities within the framework the framework only provides a recommended list of the third-party utilities that are suitable for preparing course content.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;2. Use Case&lt;/h1&gt;
&lt;p&gt;For many teachers and lecturers, migrating their teaching material to e-learning is a stony path to follow, however desirable. In order to deliver courses over the Internet, a great deal of original course content has to be reproduced to meet the requirements of online publication. One of the significant challenges they often encounter is moving non-Web-oriented lecture presentations on to the Web. To date, a common but effort-intensive solution has been for teachers to regenerate online content from their original presentations and render them suitable for access on a Web server. But the existing solutions all suffer from various limitations and failings: for example, the limited compatibility of the final e-lecture products among different browsers and devices.&lt;/p&gt;
&lt;p&gt;In our case, we developed a new e-Lecture Framework at the request of the Brewing Science section &lt;a href=&quot;#ftn1&quot; title=&quot;&quot;&gt;[FN1]&lt;/a&gt; of the Division of Food Sciences at the University of Nottingham. The Brewing Science section has been delivering an e-learning-based MSc course since September 2006. E-lectures represent a very important component of the course&#039;s online learning modules. Staff have tried some commercial software like Microsoft Producer and Adobe Captivate to convert their PowerPoint slides to Web-based e-lectures, but they have discovered these tools cannot meet all their requirements.&amp;nbsp; For example, when using Microsoft Producer, the software can link slides with a teaching video and broadcast it via the Web, but the video transfer speed is very slow when a large video file meets a narrowband network environment. This is frustrating for students and teachers alike. In addition, those same students and teachers are currently obliged to use the Internet Explorer browser to access the final e-lectures, a hurdle which may occasion some, e.g., Linux and Mac users, a degree of inconvenience to the point of refusal.&lt;/p&gt;
&lt;p&gt;Adobe Captivate works better and it can deliver voice-overs with slides using Flash technology. This increases the transfer speed of the online content, but when they wanted to deliver the e-lectures to mobile platforms, staff found the Flash Player for mobile systems performed poorly compared with the desktop version. As is well known, mobile platforms such as the iPhone and iPad do not support Flash. In addition, the high cost and the complexity of the commercial software can also represent an obstacle. Often lecturers and teachers have little time to learn to use new software; they simply want a tool they can use with minimal training.&lt;/p&gt;
&lt;p&gt;This situation prompted us to develop a new lightweight and easy-to-use e-lecture framework for them. The target system was designed to be an HTML5-based open framework, which integrates presentation slides, voice-overs and transcripts. For course providers, the framework encourages them to use familiar tools, such as Microsoft PowerPoint, Notepad, Sound Recorder, etc., to prepare e-lecture content. So, for example, a lecturer may wish to combine for students a series of diagrams demonstrating how a process gradually progresses, for instance soil erosion by flowing water. She has supplemented the series of diagrams with a voice-over commentary for each stage, for which she has also produced a transcript. In addition, she has created a summary of the different stages in a series of bullet points of short text, each badged with a small symbol to identify each distinct stage. She can prepare all this content using the software with which she is familiar, as she has been used to do; and then finally she can generate the e-lecture by placing the different types of content (slides images, voice-over audios and transcript texts) into the framework according to the straight-forward instructions. For remote learners, the framework provides a clear and user-friendly interface with intuitive navigation. It also allows learners to access the e-lecture content from different platforms. For e-learning system administrators, the e-lecture framework is a lightweight component that can easily be added to an existing Web-based virtual learning environment (VLE).&lt;/p&gt;
&lt;p&gt;The members of the Brewing Science e-learning team have tried this newly developed framework to deliver several e-lectures. They are very interested in this framework as it simplifies the previous e-lecture production process quite considerably. Moreover, it represents in their view a very low-cost and efficient solution. Lecturers and course providers can continue to use the tools familiar to them to generate e-lecture content that meets the requirements of the framework. As a result, they do not need to spend too much time on learning new software skills. The quality of the resulting e-lectures is very good, even when delivered over different network conditions, such as Wifi and 3G networks. It is also easy for them to integrate the e-lectures into their existing online learning modules under the WebCT environment. The Brewing Science team members were very satisfied with the e-Lecture Framework and decided to re-convert all their e-lectures using this new e-Lecture Framework.&lt;/p&gt;
&lt;h1&gt;3. Solution&lt;/h1&gt;
&lt;p&gt;The e-Lecture Framework was developed mainly through the use of HTML5 technologies. The old Flash technology was also used in environments which do not support HTML5. This hybrid solution makes the e-Lecture Framework compatible with almost all current popular platforms and browser environments, including Internet Explorer, version 6 and above, Firefox, version 6 and above, Chrome, version 11 and above, Safari, version 4 and above, Opera, version 10 and above, and Mobile Safari on iPhone and iPad. The structure of the Framework was designed to contain two layers: the Core Data layer and the User Interface layer (see Figure 1).&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;&quot; class=&quot;wp-image-185 aligncenter&quot; height=&quot;324&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/wang/html/wang-fig-01.png&quot; title=&quot;Figure 1&quot; width=&quot;448&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 1&lt;em&gt;.&lt;/em&gt; The draft structure of the e-Lecture Framework&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In the Core Data layer, there are three types of lecture content: slides, voice-overs and transcripts are stored in the related folders. An XML file is used to store all the slide information. In the User Interface layer, an auto-adaptive technology will be used to present the e-lecture content to different platforms. The client-end Web page will be able to detect the connecting platforms/browsers automatically, and switch to an HTML5 user interface for browsers that support HTML5 features or provide a Flash player-based user interface for browsers that do not support HTML5.&lt;/p&gt;
&lt;p&gt;In accordance with the above Framework design, the final e-Lecture Framework provides all required content as shown in Figure 2. The detailed table of content is shown in Appendix 2.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-186&quot; height=&quot;480&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/wang/html/wang-fig-02.png&quot; title=&quot;Figure 2&quot; width=&quot;640&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 2. Content provided in the e-Lecture Framework&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In order to meet the requirements of the Brewing Science e-learning team, the e-Lecture Framework was designed with following functions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The framework provides an auto-adaptive user interface to present the e-lecture content, which means the final e-lecture products based on this framework can provide the HTML5-based user interface for browsers which support HTML5, or switch to a traditional Flash player-based user interface for those that do not.&lt;/li&gt;
&lt;li&gt;The e-Lecture Framework also provides specific user interfaces for iOS platforms using HTML5-based technologies. The iOS user interface will adapt to both orientations and provide native app-like touch experiences. In iOS4 and previous versions, scrolling elements on a Web page cannot be scrolled by a single finger swipe. This is because the whole Web page will scroll through the browser window when a user swipes on it. So we had to use CSS3 and JavaScript technology to fix the Web page frame, and set the scrolling elements to respond to the swipe gesture and so mimic a scrolling effect manually, e.g., the scrolling function of slides thumbnails panel and transcripts panel. This will bring users a native app-like touch scroll experience. We have noticed that in the recently released iOS5, Apple added the single finger-swipe gesture to the scrolling elements on Web pages. But for the purposes of maintaining compatibility, we kept the original JavaScript code as it works fine on iOS5, too. The iPad user interface will provide the same functionality as that available on a desktop interface, while the transcripts view function will be removed from the iPhone and iPod touch user interfaces because of their limited screen size.&lt;/li&gt;
&lt;li&gt;The e-Lecture Framework provides two different slides navigation methods. The linear method allow users to play all slides from the first to the last automatically, while the non-linear method enables users to navigate between slides manually by selecting a slide from the list of the slides&#039; titles or from the slides thumbnails bar.&lt;/li&gt;
&lt;li&gt;The framework is completely based on client-end technologies, so the final e-lecture product is server-independent and can be deployed on any type of Web server, whether an Apache Server on Linux/Unix or IIS (Internet Information Services) on a Windows Server. So, for example, to achieve the greatest degree of flexibility when I designed the e-Lecture framework, we avoided using any server-side scripts to ensure the final e-lecture could be deployed on Apache servers or IIS without difficulty.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;During the development process, the Adobe CS4 software suite was used to develop the HTML5- and Flash-based interface. It was also used for JavaScript and ActionScript coding. In order to meet the requirements of HTML5 audio formats among different browsers, the AAC- and Vorbis-encoded audio formats were chosen to be the standard formats of voice-over files. The e-lecture slides files were set as a series of JPEG images that can be converted from the original PowerPoint presentations. The pure text format was chosen for the transcripts format. We choose JPEG and pure text formats as these formats are very common on different operating systems and there are lots of existing tools for users to manipulate their files with these two formats.&lt;/p&gt;
&lt;p&gt;Several client-end technologies were used in the development including HTML5 audio DOM objects, touch DOM object, AJAX, CSS3.0, etc. The details of technologies applied are listed in Appendix 1.&lt;/p&gt;
&lt;p&gt;It should be noted that the HTML5-based e-Lecture Framework does not provide a new editing environment for course providers to prepare e-lecture content. This is mainly because most of the content preparation tasks can be easily completed with software already familiar to most teachers, such as Microsoft PowerPoint, Notepad, Sound Recorder, QuickTime Player, etc., as shown in Figure 3.&lt;/p&gt;
&lt;p&gt;The e-Lecture Framework serves as a template to generate new e-lectures. After preparing the e-lecture content, users just need to put it into the related folders, and the e-lecture will be ready to publish. This will obviously save money and time that would be spent on purchasing and learning new software. The final products are lightweight and independent Web folders. They can be easily deployed on existing Web servers.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;&quot; class=&quot;size-full wp-image-187 aligncenter&quot; height=&quot;512&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/wang/html/wang-fig-03.png&quot; title=&quot;Figure 3&quot; width=&quot;640&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 3. Preparing content in the e-Lecture Framework.&lt;/strong&gt;&lt;/p&gt;
&lt;h1&gt;4. Impact of this Work&lt;/h1&gt;
&lt;p&gt;PowerPoint slides are widely used in the traditional teaching and learning environment. The HTML5-based e-Lecture Framework provides an easy method to convert PowerPoint files to a Web version that can be directly published on existing Web servers. This solution will encourage more lecturers and teachers to carry out their plans to use existing teaching material in an e-learning form.&lt;/p&gt;
&lt;p&gt;The HTML5-based e-Lecture Framework also provides a free solution for institutions to deploy low-cost e-learning materials quickly, with minimal training. Developers can use this open framework to create their own e-learning-authorising utilities or develop new plug-ins to enhance their e-lecture framework, such as integrating videos and animations into the e-lecture framework.&lt;/p&gt;
&lt;p&gt;In our case study, the Brewing Science section at theUniversityofNottinghamhas used the framework to produce its e-lectures in a real teaching environment. Lecturers are happy to record the voice-overs and type transcripts for themselves. The e-learning providers then place all their teaching content into the framework and publish the final e-lectures directly into the WebCT modules. Students can then view the e-lectures directly along with other e-learning content in the WebCT environment (screenshots are shown in Figure 4). Staff are very satisfied with this solution and have declared themselves willing to introduce the e-Lecture Framework to other colleagues in the University.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-188&quot; height=&quot;399&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/wang/html/wang-fig-04.png&quot; title=&quot;Figure 4&quot; width=&quot;640&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 4. Screenshots of final e-lectures in the WebCT environment.&lt;/strong&gt;&lt;/p&gt;
&lt;h1&gt;5. Challenges&lt;/h1&gt;
&lt;p&gt;Some difficulties were encountered during the development. The first was choosing a suitable audio format for Web delivery. According to some HTML5 technology rresources such as HTML5 test Web site&amp;nbsp;&lt;a href=&quot;/intranet.ukoln.ac.uk/projects/html5/editing-work/HTML5/BK-updates/HTML5-qingqi-wang-v5.0.doc#_ftn2&quot; title=&quot;&quot;&gt;[FN2]&lt;/a&gt; and ScriptJunkie Web site&amp;nbsp;&lt;a href=&quot;/intranet.ukoln.ac.uk/projects/html5/editing-work/HTML5/BK-updates/HTML5-qingqi-wang-v5.0.doc#_ftn3&quot; title=&quot;&quot;&gt;[FN3]&lt;/a&gt;, support for HTML5 audio formats varies considerably across browsers&amp;nbsp;&lt;a href=&quot;/intranet.ukoln.ac.uk/projects/html5/editing-work/HTML5/BK-updates/HTML5-qingqi-wang-v5.0.doc#_ftn4&quot; title=&quot;&quot;&gt;[FN4]&lt;/a&gt;. Currently, there is no common audio format that is supported by all HTML5-enabled browsers. We chose AAC- and Vorbis-encoded audio formats in that the AAC audio is supported by Chrome, Safari and Internet Explorer 9, while OGG audio is supported by Firefox and Opera. Using these two audio formats can satisfy the great majority of current popular HTML5-enabled browsers. Another possible audio format to choose is MP3. We chose not to use MP3 format as the AAC format demonstrates greater sound quality and transparency than MP3 for files coded at the same bit rate&amp;nbsp;&lt;a href=&quot;/intranet.ukoln.ac.uk/projects/html5/editing-work/HTML5/BK-updates/HTML5-qingqi-wang-v5.0.doc#_ftn5&quot; title=&quot;&quot;&gt;[FN5]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The HTML5 audio DOM object performed differently across various browsers, too. In our development, we found that in Safari the audio object fires the &quot;ended&quot; event only once, although in Mobile Safari and Chrome the audio object can fire the &quot;ended&quot; event every time it finishes an audio play session. Therefore, we have to detect the &quot;timeupdate&quot; event to provide the play-slides-continuously function.&lt;/p&gt;
&lt;p&gt;During the development, we also found some potential bugs in newly released browsers, such as Firefox 6 and 7. In our case, Firefox 6 and 7 for Windows cannot get a proper audio.duration value that can be triggered by the audio “loadeddata” event (the value is alwaysNaN) when audios are encoded in a VBR (variable bitrate) configuration. However, in Firefox 6 and 7 for Mac OS X, the code audio.duration works fine for VBR-encoded OGG audio files. So we have to restrict the OGG audio encoding method to the CBR (constant bitrate) setting only, in order to achieve greater compatibility.&lt;/p&gt;
&lt;h1&gt;6. Lessons Learnt&lt;/h1&gt;
&lt;p&gt;During the development process we set up a standard to produce e-lectures. The framework is easy to use, even for less experienced e-learning providers wishing to create e-lectures from original PowerPoint presentations. But for those who have never produced e-learning materials before, the Framework is still difficult to use. Consequently, only providing a framework is not enough. A user-friendly e-learning tool based on this framework is more important for less technically experienced content producers. Therefore, in the next stage of our work, we will develop an application based on the e-Lecture Framework. We hope the application can prompt more and more inexperienced teachers and lecturers to deliver their lectures over the Web.&lt;/p&gt;
&lt;h1&gt;7. Conclusions&lt;/h1&gt;
&lt;p&gt;This case study represents a trial of using cutting-edge Web technologies in the Higher Education sector. In our case we developed the HTML5-based e-Lecture Framework, which was applied in a real e-lecture production situation by the Brewing Science section at the University of Nottingham. The final result confirms that the HTML5 and related open technologies are ready to be widely used in the current e-learning environment. In some cases, such as delivering e-learning materials to mobile platforms, HTML5 will most likely prove the best choice at the moment. The HTML5-related technologies offer developers more opportunities and also bring greater flexibility to e-learning clients.&lt;/p&gt;
&lt;p&gt;On the other hand, HTML5 is still a developing technology. A cross-browser standard for HTML5 remains to be established. Meanwhile, some older browsers like Internet Explorer 6, 7 and 8 still retain considerable market share. This situation makes Web development more complex. We have to balance the use of new technologies against compatibility with older systems during the development period.&lt;/p&gt;
&lt;h2&gt;Appendix 1:&amp;nbsp; HTML5 Technologies Used&lt;/h2&gt;
&lt;p&gt;The following HTML5 and related technologies were used in the example in this case study:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;HTML5 audio DOM object will be used to load, play and control voice-overs&lt;/li&gt;
&lt;li&gt;AJAX technology will be used to load slides information and transcripts&lt;/li&gt;
&lt;li&gt;Client-end user agent strings will be used to create the auto-adaptive user interface&lt;/li&gt;
&lt;li&gt;The HTML5 touch DOM object will be used to create the user interface for iOS platforms&lt;/li&gt;
&lt;li&gt;HTML5 device orientation events will be used in designing the user interface for iOS platforms&lt;/li&gt;
&lt;li&gt;CSS3 technology will be used to design the HTML5 user interface&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Appendix 2:&amp;nbsp; Notes on Content&lt;/h2&gt;
&lt;p&gt;The e-Lecture resources are available at &lt;a href=&quot;http://www.nottingham.ac.uk/~sbzqw/electure/&quot; rel=&quot;noreferrer&quot;&gt;http://www.nottingham.ac.uk/~sbzqw/electure/&lt;/a&gt; and described below. A demonstration is available at &lt;a href=&quot;http://www.nottingham.ac.uk/~sbzqw/electure/demo&quot; rel=&quot;noreferrer&quot;&gt;http://www.nottingham.ac.uk/~sbzqw/electure/demo&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Details of the content of these resources is given below:&lt;/p&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan=&quot;2&quot;&gt;&lt;strong&gt;Content of e-Lecture Framework&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;index.html, html5.css, html5.js&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;An HTML5 interface for desktop platform&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;index_iPad.html, ios.css, ipad.js&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;An HTML5 interface for iPad platform&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;index_iPhone.html, ios.css, iphone.js&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;An HTML5 interface for iPhone platform&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;index_fl.html, index.swf, AC_RunActiveContent.js&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;A Flash interface for HTML5 unsupported environments&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Shared resources such as touchScroll.js, btn_playPause.png, btn_slides.png, etc.&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Including image assets, SWF player skin file and shared JavaScript files&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Slides folder&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;An empty folder to store slides files&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Audio folder&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;An empty folder to store voice-overs files&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Text folder&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;An empty folder to store transcripts files&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;2&quot;&gt;Content of supporting documents and utilities (in the &quot;_help and tools&quot; folder)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;User Guide (UserGuide.html)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;An HTML format of user guide including the framework overview, a step-by-step workflow that helps users to prepare e-lecture content, technical details and content standard list, etc.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;XML Code Maker (getXMLCode.html)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;An HTML/JavaScript-based tool that helps users to generate the XML data of all slides information&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Slides Exporting Tool (exportJPG.bas)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;A VBA macro that helps users to convert PowerPoint presentations to slides images in a proper size and format&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;hr /&gt;
&lt;h2&gt;Footnotes&lt;/h2&gt;
&lt;div&gt;[1] Brewing Science section of the Division of Food Sciences, &lt;a href=&quot;http://www.nottingham.ac.uk/biosciences/divisions/food/research/groupsandteams/brewingscience.aspx&quot; rel=&quot;noreferrer&quot;&gt;http://www.nottingham.ac.uk/biosciences/divisions/food/research/groupsandteams/brewingscience.aspx&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[2] The HTML5 test – How well does your browser support HTML5?,&amp;nbsp; &lt;a href=&quot;http://html5test.com/&quot; rel=&quot;noreferrer&quot;&gt;http://html5test.com/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[3] Script Junkie, &lt;a href=&quot;http://msdn.microsoft.com/en-us/scriptjunkie&quot; rel=&quot;noreferrer&quot;&gt;http://msdn.microsoft.com/en-us/scriptjunkie&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[4] &lt;em&gt;Native Audio with HTML5&lt;/em&gt;, Script Junkie, &lt;a href=&quot;http://msdn.microsoft.com/en-us/scriptjunkie/hh527168&quot; rel=&quot;noreferrer&quot;&gt;http://msdn.microsoft.com/en-us/scriptjunkie/hh527168&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[5] Wikipedia, Advanced Audio Coding term, &lt;a href=&quot;http://en.wikipedia.org/wiki/Advanced_Audio_Coding&quot; rel=&quot;noreferrer&quot;&gt;http://en.wikipedia.org/wiki/Advanced_Audio_Coding&lt;/a&gt; and Apple Support article, &lt;a href=&quot;http://support.apple.com/kb/HT2947?viewlocale=en_US&quot; rel=&quot;noreferrer&quot;&gt;http://support.apple.com/kb/HT2947?viewlocale=en_US&lt;/a&gt;&lt;/div&gt;
</description>
     <comments>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-study-5-html5-based-e-lecture-framework#comments</comments>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/persons/qingqi-wang">qingqi wang</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/e-lectures">e-lectures</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/html5">HTML5</category>
 <pubDate>Mon, 16 Jul 2012 13:43:39 +0000</pubDate>
 <dc:creator>Administrator</dc:creator>
 <guid isPermaLink="false">85 at http://technicalfoundations.ukoln.ac.uk</guid>
  </item>
  <item>
    <title>HTML5 Case Study 4: Visualising Embedded Metadata</title>
    <link>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-study-4-visualising-embedded-metadata</link>
    <description>&lt;p&gt;Author: Mark MacGillivray&lt;/p&gt;
&lt;h1 class=&quot;entry-title&quot;&gt;HTML5 Case Study 4: Visualising Embedded Metadata&lt;/h1&gt;
&lt;h1&gt;1. About This Case Study&lt;/h1&gt;
&lt;h3&gt;HTML5 case study on &quot;Visualising Embedded Metadata&quot; by Mark MacGillivray&lt;/h3&gt;
&lt;p&gt;This case study addresses ways of enhancing the dissemination and discoverability of research outputs. The sector had some success in making bibliographic metadata available on a large scale &lt;a href=&quot;#ref-01&quot;&gt;[1]&lt;/a&gt; &lt;a href=&quot;#ftn1&quot;&gt;[FN1]&lt;/a&gt; &lt;a href=&quot;#ftn2&quot; title=&quot;&quot;&gt;[FN2]&lt;/a&gt;, and we must now demonstrate ways for individuals and small groups to interact easily and usefully with the data, in order to show the benefit of open bibliography and open publishing in general.&lt;/p&gt;
&lt;p&gt;The opportunity to increase disseminability and discoverability to a significant degree has existed since the invention of the Internet, and which in technical terms may be termed a problem solved. However, a technical solution is only truly effective in the view of potential adopters if they are able to make use of it. Moreover, whereas some in the academic community have been comfortable using the Internet to distribute their research since the early 1990s, many more are not. Over the intervening years, the development of the standards on which the Internet is based have driven a vast improvement in usability and interoperability, opening it up to wider audiences, and triggering a shift towards online software services. This case study will demonstrate some of what can now be achieved using current open standards such as HTML5 [&lt;a href=&quot;#ref-02&quot; title=&quot;&quot;&gt;2]&lt;/a&gt; and &lt;a href=&quot;#ref-03&quot; title=&quot;&quot;&gt;[3]&lt;/a&gt; &lt;a href=&quot;#ftn3&quot; title=&quot;&quot;&gt;[FN3]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The demonstrations in this case study will be relevant to anyone that wants to do more with metadata; from students to lecturers and research group leaders, or administrators curating a publication list for a department or research assessment exercise, or those that support such activities through technical service provision. Overall outcomes will provide useful information for policy makers on how to support their community sustainably in years to come.&lt;/p&gt;
&lt;h2&gt;What Is Covered&lt;/h2&gt;
&lt;p&gt;The focus is on making data useful on the Web, and this will be achieved through embedding and visualisation techniques.&lt;/p&gt;
&lt;h3&gt;Embedded Visualisations&lt;/h3&gt;
&lt;p&gt;The report demonstrates the use of embedded visual representation using the D3 Javascript library &lt;a href=&quot;#ftn4&quot; title=&quot;&quot;&gt;[FN4]&lt;/a&gt;, utilising Scalable Vector Graphics (SVG) HTML objects embedded directly into the Document Object Model. Note that although Canvas forms part of HTML5 specification, SVG is actually separate; however it is only via HTML5 that it has become possible to embed SVG elements directly in a document. Cross- and legacy-browser support issues are described.&lt;/p&gt;
&lt;h3&gt;Embedded Metadata&lt;/h3&gt;
&lt;p&gt;Whilst the initial demonstration will present visualisations of JSON data retrieved from a web service, secondary examples will show the use of embedded metadata for driving visualisations. This will build on the work of Adams [&lt;a href=&quot;#ref-03&quot; title=&quot;&quot;&gt;3]&lt;/a&gt; and Sefton [&lt;a href=&quot;#ref-04&quot; title=&quot;&quot;&gt;4]&lt;/a&gt;, taking their recommendations on how to embed the metadata and convert to JSON for visualisation.&lt;/p&gt;
&lt;h2&gt;What Is Not Covered&lt;/h2&gt;
&lt;p&gt;There are many more possibilities with HTML5 and open Web standards not covered here &lt;a href=&quot;#ftn5&quot; title=&quot;&quot;&gt;[FN5]&lt;/a&gt; &lt;a href=&quot;#ftn6&quot; title=&quot;&quot;&gt;[FN6]&lt;/a&gt;. Further investigation relevant to this case study could include the use of &lt;strong&gt;storage&lt;/strong&gt; and &lt;strong&gt;editable content&lt;/strong&gt; to improve user experience greatly, and could combine with &lt;strong&gt;off-line material&lt;/strong&gt; to provide a tool that could be used to create and manipulate documents and collections regardless of Internet connectivity; also &lt;strong&gt;postMessage&lt;/strong&gt; could be used in place of traditional AJAX calls, which could reduce cross-domain security and interoperability problems in the long term.&lt;/p&gt;
&lt;h1&gt;2. Use Case&lt;/h1&gt;
&lt;p&gt;There are a number of potential use cases to which this case study could apply, as it is applicable to anywhere that a collection of data could be shared online. The particular example in this case is a small research group wishing to share its publications online.&lt;/p&gt;
&lt;p&gt;A typical traditional workflow for achieving this might include researchers managing their own collection in their preferred format (or in some cases, not managing it at all), and an administrative officer collecting all the data together in one central location, such as a spreadsheet. This laborious and error-prone task would be further complicated by either upload of a static snapshot of the data (rendering it a legacy representation) or a manual re-entry of data into, for example, HTML files or perhaps a Content Management System - again introducing potential error, additional workload, and the requirements of regular maintenance.&lt;/p&gt;
&lt;p&gt;The indirect costs of this workflow include the need for a method by which to make the content available. This traditionally could include the cost of running servers and Internet connections, or perhaps the cost of publishing and distributing the reference collection. It also involves significant cost in terms of staff expertise - an administrator with social and technical skills is required to collect and distribute the data, for example. In some cases, these demands can present a barrier to discoverability and disseminability.&lt;/p&gt;
&lt;p&gt;The key facets of this use case are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Managing a dataset at a personal level - a bibliographic metadata collection&lt;/li&gt;
&lt;li&gt;Formatting and combining this dataset with others, to form a coherent, valuable, larger representation&lt;/li&gt;
&lt;li&gt;Distributing the collection, for purposes of management, advertisement, reporting&lt;/li&gt;
&lt;li&gt;Making the content of the collection useful - making it applicable, understandable and navigable to a wider audience&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As we have yet to achieve the potential of disseminability that the invention of the Internet afforded us, to what extent can HTML5 and related open Web standards help us achieve this use case and open these collections up to a wider audience?&lt;/p&gt;
&lt;h1&gt;3. Solution&lt;/h1&gt;
&lt;p&gt;The proposed solution to this problem involves employing a stack of open technologies to present a simple and valuable distributed service to the academic community that attracts users by offering reduced administrative overhead, lower risk of error, lower total cost, and greater functionality.&lt;/p&gt;
&lt;h2&gt;Sharing Collections&lt;/h2&gt;
&lt;p&gt;Rather than manually managing and editing a collection of bibliographic records, it can be uploaded and parsed from typical bibliographic formats such as bibtex via the BibServer open source software package &lt;a href=&quot;#ftn7&quot; title=&quot;&quot;&gt;[FN7]&lt;/a&gt;. This software can be run as an online service that provides RESTful access onto the uploaded dataset &lt;a href=&quot;#ftn8&quot; title=&quot;&quot;&gt;[FN8]&lt;/a&gt;. With a collection of records suitably available and accessible programmatically, we can go on to perform some interesting operations with it.&lt;/p&gt;
&lt;h2&gt;Improving search&lt;/h2&gt;
&lt;p&gt;The BibServer front-end can be used to present a collection as a Web page for easy viewing, which provides faceted browse of the content. In addition, FacetView &lt;a href=&quot;#ftn9&quot; title=&quot;&quot;&gt;[FN9]&lt;/a&gt; can be used to provide a jQuery &lt;a href=&quot;#ftn10&quot; title=&quot;&quot;&gt;[FN10]&lt;/a&gt; based front-end that can be embedded into any other Web page. This provides the opportunity to make a typically static reference list at the end of a document into something much more useful - a key feature of a document that affords greater understanding and easier further investigation. It is also possible to make the reference list itself interactive - so rather than manually maintaining the list with the document, it can be managed via BibServer and embedded into the document via AJAX &lt;a href=&quot;#ftn11&quot; title=&quot;&quot;&gt;[FN11]&lt;/a&gt; - both as a complete list and as individual references within the text &lt;a href=&quot;#ftn12&quot; title=&quot;&quot;&gt;[12]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Although the BibServer example makes use of modern open Web standards, it is not explicitly reliant on HTML5. However, we can investigate further.&lt;/p&gt;
&lt;h2&gt;Data Anywhere&lt;/h2&gt;
&lt;p&gt;The critical aspect of the BibServer software is that it is built to assume that data is and should be stored and available from anywhere - it is not designed as a tool for collecting up and controlling all this data, either technologically or legally. Whilst BibServer can provide a service to convert and store datasets, it leaves users free to present that data anywhere they wish - on any departmental Web page, or on any course materials Web page. For example, a student can embed a browsable interface to their collection of references directly in their self-published research article on a Web site.&lt;/p&gt;
&lt;p&gt;In addition to retrieving and operating on data from any source, and to embed the output of those operations on any web document, we can use HTML5 standards to embed the metadata itself in a page.&lt;/p&gt;
&lt;h2&gt;Embedded Metadata&lt;/h2&gt;
&lt;p&gt;The previous example demonstrates references from a remote collection being used within the text - all the reference links, and the reference list at the bottom of the piece, are inserted via jQuery. However, with HTML5 metadata standards such as scholarly HTML&lt;a href=&quot;#ftn13&quot;&gt;[FN13]&lt;/a&gt; and schema.org&lt;a href=&quot;#ftn14&quot;&gt;[FN14]&lt;/a&gt;, the collection itself can be embedded within a document. By writing a parser for the recommended version of this embedded metadata, we can extract a collection from a document into a BibServer instance, and, in return, provide the embeddable references and faceted browse.&lt;/p&gt;
&lt;p&gt;Sam Adams investigated the metadata standards available in HTML5 and made an example as part of his case study that could ingest PloS articles &lt;a href=&quot;_ftn15&quot; title=&quot;&quot;&gt;[FN15]&lt;/a&gt; and display them as HTML5 with embedded metadata &lt;a href=&quot;#ftn16&quot; title=&quot;&quot;&gt;[FN16]&lt;/a&gt;. His example shows a citation list embedded in a document in the schema.org format:&lt;/p&gt;
&lt;div&gt;
&lt;p class=&quot;hiddenSpellError&quot; style=&quot;padding-left:30px;&quot;&gt;itemtype=”http://schema.org/ScholarlyArticle” itemscope=”&quot; itemprop=”&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;a href=&quot;http://purl.org/ontology/bibo/cites&quot; rel=&quot;noreferrer&quot;&gt;http://purl.org/ontology/bibo/cites&lt;/a&gt;“&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;a name=”pone.0022199-deQueiroz1″&amp;gt;&amp;lt;/a&amp;gt;1.&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;itemtype=”http://schema.org/Person” itemscope=”&quot; itemprop=”author”&amp;gt;de Queiroz, K&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;(1998) “itemprop=”name”&amp;gt;The general concept of species, species criteria, and the process of speciation: a conceptual unification and terminological recommendations.”&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;em itemprop=”http://example.net/journalTitle”&amp;gt;Endless Forms: Species and Speciation&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;edited by itemtype=”http://schema.org/Person” itemscope=”&quot; itemprop=”editor”&amp;gt;Howard, DJ; Berlocher, SH&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;itemprop=”&lt;a href=&quot;http://purl.org/ontology/bibo/pageStart&quot; rel=&quot;noreferrer&quot;&gt;http://purl.org/ontology/bibo/pageStart&lt;/a&gt;“&amp;gt; 57-itemprop=”&lt;a href=&quot;http://purl.org/ontology/bibo/pageEnd&quot; rel=&quot;noreferrer&quot;&gt;http://purl.org/ontology/bibo/pageEnd&lt;/a&gt;“&amp;gt; 75&amp;lt;/span&amp;gt;.&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;/p&amp;gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;strong&gt;Figure 1. Sample citation in schema.org format.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This embedded metadata forms part of the Document Object Model (DOM), and as such it can be easily parsed out using Javascript / jQuery and converted to JSON:&lt;/p&gt;
&lt;div&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;{&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;“citekey”:”pone.0022199-deQueiroz1″,&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;“editor”:[&quot;Howard, DJ&quot;,&quot;Berlocher, SH&quot;],&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;“author”:[&quot;de Queiroz, K&quot;],&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;“title”:”The general concept of species, species criteria, and the process of speciation: a conceptual unification and terminological recommendations.”,&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;“journal”:”Endless Forms: Species and Speciation”,&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;“pages”:”57 to 75″&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;}&lt;/p&gt;
&lt;/div&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;strong&gt;Figure 2. schema.org metadata parsed to JSON.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;With the metadata readily available&lt;a href=&quot;#ftn17&quot;&gt;[FN17]&lt;/a&gt;, it can be submitted to bibliographic metadata services for use in collection management, faceted browse, and visualisation generation.&lt;/p&gt;
&lt;h2&gt;Visualising the Data&lt;/h2&gt;
&lt;p&gt;With programmatic access to a collection, it is possible to increase the impact and usability of the collection considerably via a graphical user interface to the dataset, allowing for real-time display and manipulation of the dataset. This functionality becomes available by utilising open standards for embedding the metadata and remotely querying services that can act on the metadata collections.&lt;/p&gt;
&lt;p&gt;By querying the same API as the faceted browse front end and retrieving the required information about the collection, SVG visualisations can be prepared using the D3 Javascript library. This visualisation can also be embedded within the document.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Figure 3&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/macgillivray/html/macgillivray-fig-03.png&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 3. Visualisation generated from bibliographic metadata embedded in a Web page.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;It is possible to alter the visualisation based on search parameters - it is not a pre-processed image, but an embedded representation of a current view on a dataset&lt;a href=&quot;#ftn18&quot; title=&quot;&quot;&gt;[FN18]&lt;/a&gt;. Although it has not been demonstrated in this case study, these visual representations can be further enhanced to work as access methods onto the data too - for example, discovering the most popular author via the visualisation could trigger faceting of the dataset on that author name, and so on. Work into this is ongoing on the BibServer Project.&lt;/p&gt;
&lt;h1&gt;4. Impact&lt;/h1&gt;
&lt;p&gt;By combining these examples it is possible to provide an enhanced user experience and improved accessibility and disseminability by making data easier to discover and use.&lt;/p&gt;
&lt;p&gt;To take advantage of this, all that is required is the addition of a few lines of Javascript to a page. To demonstrate, an example has been created that performs the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Take a sample page with embedded metadata from the HTML5 app created by Sam Adams&lt;/li&gt;
&lt;li&gt;Parse the page for embedded metadata&lt;/li&gt;
&lt;li&gt;Submit the metadata to the remote BibSoup service for indexing and collection creation&lt;/li&gt;
&lt;li&gt;Query the collection for facet information&lt;/li&gt;
&lt;li&gt;Generate a visualisation using D3 of the facet information&lt;/li&gt;
&lt;li&gt;Embed the visualisation as an SVG on the page&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This is available to view at &lt;a href=&quot;http://test.cottagelabs.com/html5&quot;&gt;http://test.cottagelabs.com/html5&lt;/a&gt; &lt;a href=&quot;#ftn19&quot; title=&quot;&quot;&gt;[FN19]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If Sam Adams wished to add this functionality directly to his HTML5 app &lt;a href=&quot;#ref-04&quot;&gt;[4]&lt;/a&gt;, or if others wanted similar functionality on their Web pages, it would require the addition of only a few lines of javascript and suitable embedded metadata.&lt;/p&gt;
&lt;p&gt;This solution makes use of HTML5, CSS, javascript and jQuery to provide an example of what is possible &lt;strong&gt;&lt;em&gt;now&lt;/em&gt;&lt;/strong&gt;. It is already possible to build and manage an authoring and distribution tool for education and research, and standards such as HTML5 bring us closer to making such a tool available to the diverse audience of people involved in the education and research community.&lt;/p&gt;
&lt;p&gt;With sufficient resolve, we could abandon restrictive licensing of research output and move instead to a model of open scholarship supported by open source software built on open web standards, saving billions for the research and education community and making its valuable output accessible to all. To do so, we need to overcome only a few problems.&lt;/p&gt;
&lt;h1&gt;5. Challenges&lt;/h1&gt;
&lt;h2&gt;Cross-browser Compatibility&lt;/h2&gt;
&lt;p&gt;Although HTML5 has been in development for a number of years, adoption by the major browser vendors is recent and patchy. Whereas recent versions of Firefox have supported HTML5 &lt;a href=&quot;#ftn20&quot; title=&quot;&quot;&gt;[20]&lt;/a&gt;, Internet Explorer in particular (and as usual) was slow to support HTML5, although Microsoft are now officially backing the standard and newer versions should meet specifications. As Internet Explorer is still the most popular browser, despite being the least s tandards-compliant, some trickery is required to support HTML5 on older but nonetheless common versions. Table 1 below details the recent versions of most common browsers with which this study&#039;s solution is compatible.&lt;/p&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:center;&quot;&gt;&lt;strong&gt;Browser&lt;/strong&gt;&lt;/td&gt;
&lt;td style=&quot;text-align:center;&quot;&gt;&lt;strong&gt;Version&lt;/strong&gt;&lt;/td&gt;
&lt;td style=&quot;text-align:center;&quot;&gt;&lt;strong&gt;Working?&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;Firefox&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;7.0.1&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;Yes&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;Opera&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;11.10&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;No - AJAX error&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;Safari&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;5.0.4&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;Yes&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;Internet Explorer&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;8.0.6001.18702&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;No - AJAX access denied error&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;Chrome&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;13.0&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p style=&quot;text-align:center;&quot;&gt;Yes&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Table 1. Compatibility of solution with recent versions of common browsers.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The errors listed in the table above could most likely be resolved on these browsers, and are unlikely to have arisen specifically due to errors in HTML5, but, rather, due to differences in how browsers parse Javascript, perform cross-domain requests, and so on. Further work will continue on this. This demonstrates the difficulties that should be considered when using these or any new technologies and standards - adherence and purposeful non-adherence begin to compete with one another as successful strategies.&lt;/p&gt;
&lt;p&gt;Of course, a great advantage of open standards and open source development is that there are many other people in the world tackling the same problems. Thus, it is easy to find readily available solutions to such problems, such as HTML5 shim &lt;a href=&quot;#ftn21&quot;&gt;[FN21]&lt;/a&gt; and Modernizr &lt;a href=&quot;#ftn22&quot;&gt;[FN22]&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Reliance on Javascript&lt;/h2&gt;
&lt;p&gt;Javascript used to be considered secondary to the function of web pages and making a page that relied on Javascript was considered bad form. However, it is now virtually impossible to find a user that does not have Javascript enabled, as all browsers fully support it. Whilst it is possible to turn off Javascript, this is most likely only going to happen in the case of a user who understands the impact turning it off will have. The only exception to this is disability - where a user may be visiting a Web page via screen-reading software for example, lack of Javascript support can still cause problems. Thus we must be careful to balance increased functionality with graceful degradation - where Javascript supports enhancements for the typical user, the page should still provide useful content for users accessing it via alternative technologies.&lt;/p&gt;
&lt;h2&gt;Flash, SVG or Canvas&lt;/h2&gt;
&lt;p&gt;There are examples of HTML5 being used by technologies and businesses that rely on their online functionality to work appropriately across all browsers &lt;a href=&quot;#ref-06&quot;&gt;[6]&lt;/a&gt;. Whereas Flash is an old standard, it is proprietary and has suffered from the fact that content embedded in a Flash object is removed from the rest of the document. Since Apple, for one, has refused to support Flash on its devices, directly embedded visualisations are more appealing.&lt;/p&gt;
&lt;p&gt;Staff at Slideshare recently completed a large project to convert their online presentations to HTML5, successfully overcoming many compatibility problems in the process (SlideShare Engineering Blog, 2011). They are now moving all their legacy Flash presentations to HTML5, but will continue to support legacy formats where necessary. However this commitment, along with some other impressive examples of what can be achieved &lt;a href=&quot;#ftn23&quot; title=&quot;&quot;&gt;[FN23]&lt;/a&gt; &lt;a href=&quot;#ftn24&quot; title=&quot;&quot;&gt;[FN24]&lt;/a&gt;, show that the move is certainly towards the HTML5 method of direct embedding. Debate continues as to whether SVG or Canvas is most appropriate &lt;a href=&quot;#ftn25&quot; title=&quot;&quot;&gt;[FN25]&lt;/a&gt;, and to some extent, it depends on application - and there are already ways to convert between them &lt;a href=&quot;#ftn26&quot; title=&quot;&quot;&gt;[FN26]&lt;/a&gt;. This is an issue to keep under observation.&lt;/p&gt;
&lt;h2&gt;The Meaning of Open&lt;/h2&gt;
&lt;p&gt;The most valuable thing we can learn from open Web standards is the &lt;strong&gt;open&lt;/strong&gt; part; it is not impossible to build a working technology and community around a freely available resource, it is not impossible to disseminate our research output freely to everyone in the world (bar the costs of delivery itself); but achieving this requires change and effort.&lt;/p&gt;
&lt;h1&gt;6. Conclusions&lt;/h1&gt;
&lt;p&gt;HTML5 and open web standards are already being put to good use. The ethos of open standards is highly appropriate to the education and research community, and the only complexity in using them to their full advantage is that of poor adherence to the standards. Therefore, where a particular software / technology creator deliberately fails to implement those standards appropriately, it should be recognised as detrimental to the purpose of our community.&lt;/p&gt;
&lt;p&gt;Given that the Internet was invented by a researcher to make it easier to disseminate research outputs and given the cost of traditional (and less functional) publication, it should be obvious that supporting open web standards is absolutely crucial to the future of the academic community. The risk represented by facing the aforementioned compatibility challenges is nothing compared to that of failing to support these standards in future.&lt;/p&gt;
&lt;h1&gt;References&lt;/h1&gt;
&lt;p&gt;[1] Final product post: Open bibliography. Project report. [Web log message]. MacGillivray, M. (2011). &lt;a href=&quot;http://openbiblio.net/2011/06/30/final-product-post-open-bibliography/&quot; rel=&quot;noreferrer&quot;&gt;http://openbiblio.net/2011/06/30/final-product-post-open-bibliography/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[2] &lt;em&gt;HTML is the new HTML5&lt;/em&gt;. The WHATWG Blog. Hickson, I. 2011. &lt;a href=&quot;http://blog.whatwg.org/html-is-the-new-html5&quot; rel=&quot;noreferrer&quot;&gt;http://blog.whatwg.org/html-is-the-new-html5&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[3] &lt;em&gt;HTML5: A vocabulary and associated APIs for HTML and XHTML&lt;/em&gt;. Editor’s Draft, January 10, 2012. W3C. (2012) &lt;a href=&quot;http://dev.w3.org/html5/spec/Overview.html&quot; rel=&quot;noreferrer&quot;&gt;http://dev.w3.org/html5/spec/Overview.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[4] &lt;em&gt;Semantics and Metadata: Machine-Understandable Documents&lt;/em&gt;. Adams, S. 2012. HTML5 Case Studies, UKOLN, University of Bath.&lt;/p&gt;
&lt;p&gt;[5] &lt;em&gt;Conventions and Guidelines for Scholarly HTML5 Documents&lt;/em&gt;. HTML5 Case Studies, Sefton, P. 2012. UKOLN, University of Bath.&lt;/p&gt;
&lt;p&gt;[6] &lt;em&gt;Using HTML5 to transform WordPress&#039; TwentyTen theme&lt;/em&gt;. Smashing Magazine. Shepherd, R. 22 February 2011. &lt;a href=&quot;http://wp.smashingmagazine.com/2011/02/22/using-html5-to-transform-wordpress-twentyten-theme/&quot; rel=&quot;noreferrer&quot;&gt;http://wp.smashingmagazine.com/2011/02/22/using-html5-to-transform-wordpress-twentyten-theme/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[7] &lt;em&gt;SlideShare ditches Flash for HTML5&lt;/em&gt;. SlideShare Engineering Blog. 27 September 27 2011, By JON [Web log message]. &lt;a href=&quot;http://engineering.slideshare.net/2011/09/slideshare-ditches-flash-for-html5/&quot; title=&quot;http://engineering.slideshare.net/2011/09/slideshare-ditches-flash-for-html5/&quot;&gt;http://engineering.slideshare.net/2011/09/slideshare-ditches-flash-for-h...&lt;/a&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;h2&gt;Footnotes&lt;/h2&gt;
&lt;p&gt;[FN1] JISC Open Bibliography project blog &lt;a href=&quot;http://openbiblio.net/&quot; rel=&quot;noreferrer&quot;&gt;http://openbiblio.net&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN2] Open Bibliographic Principles &lt;a href=&quot;http://openbiblio.net/principles&quot; rel=&quot;noreferrer&quot;&gt;http://openbiblio.net/principles&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN3] HTML5 introductory presentations &lt;a href=&quot;http://www.slideshare.net/html5&quot; rel=&quot;noreferrer&quot;&gt;http://www.slideshare.net/html5&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN4] D3 javascript library- d3.js &lt;a href=&quot;http://mbostock.github.com/d3/&quot; rel=&quot;noreferrer&quot;&gt;http://mbostock.github.com/d3/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN5] HTML5 demos &lt;a href=&quot;http://html5demos.com/&quot; rel=&quot;noreferrer&quot;&gt;http://html5demos.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN6] HTML5 doctor &lt;a href=&quot;http://html5doctor.com/&quot; rel=&quot;noreferrer&quot;&gt;http://html5doctor.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN7] BibServer Project &lt;a href=&quot;http://bibserver.okfn.org/&quot; rel=&quot;noreferrer&quot;&gt;http://bibserver.okfn.org&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN8] An example BibServer instance &lt;a href=&quot;http://bibsoup.net/&quot; rel=&quot;noreferrer&quot;&gt;http://bibsoup.net/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN9] Facetview &lt;a href=&quot;http://github.com/okfn/facetview&quot; rel=&quot;noreferrer&quot;&gt;http://github.com/okfn/facetview&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN10] jQuery &lt;a href=&quot;http://jquery.org/&quot; rel=&quot;noreferrer&quot;&gt;http://jquery.org&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN11] AJAX explanation &lt;a href=&quot;http://en.wikipedia.org/wiki/Ajax_(programming)&quot; rel=&quot;noreferrer&quot;&gt;http://en.wikipedia.org/wiki/Ajax_%28programming%29&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN12] A document with embedded references &lt;a href=&quot;http://cottagelabs.com/phd&quot; rel=&quot;noreferrer&quot;&gt;http://cottagelabs.com/phd&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN13] Scholarly HTML, &lt;a href=&quot;http://scholarlyhtml.org/&quot; rel=&quot;noreferrer&quot;&gt;http://scholarlyhtml.org/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN14] Schema.org, &lt;a href=&quot;http://schema.org/&quot; rel=&quot;noreferrer&quot;&gt;http://schema.org&lt;/a&gt;/&lt;/p&gt;
&lt;p&gt;[FN15] Public Library of Science, &lt;a href=&quot;http://plos.org/&quot; title=&quot;http://plos.org/&quot;&gt;http://plos.org/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN16] Sam Adams (2011), HTML5 App, &lt;a href=&quot;http://html5app.bluefen.co.uk/&quot; rel=&quot;noreferrer&quot;&gt;http://html5app.bluefen.co.uk&lt;/a&gt;/&lt;/p&gt;
&lt;p&gt;[FN17] Sample schema.org metadata retrieved from html5app and converted to JSON, &lt;a href=&quot;http://test.cottagelabs.com/html5/records.json&quot; rel=&quot;noreferrer&quot;&gt;http://test.cottagelabs.com/html5/records.json&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN18] Example generation of visualisations via D3 javascript library from records stored on BibSoup &lt;a href=&quot;http://test.cottagelabs.com/d3&quot; rel=&quot;noreferrer&quot;&gt;http://test.cottagelabs.com/d3&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN19] Example parsing metadata from Sam Adams HTML5 app output, submission to remote BibSoup service, query and visualisation &lt;a href=&quot;http://test.cottagelabs.com/html5&quot; title=&quot;http://test.cottagelabs.com/html5&quot;&gt;http://test.cottagelabs.com/html5&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN20] Firefox announces HTML5 support &lt;a href=&quot;http://hacks.mozilla.org/2010/05/firefox-4-the-html5-parser-inline-svg-speed-and-more/&quot; title=&quot;http://hacks.mozilla.org/2010/05/firefox-4-the-html5-parser-inline-svg-speed-and-more/&quot;&gt;http://hacks.mozilla.org/2010/05/firefox-4-the-html5-parser-inline-svg-s...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN21] HTML5 shim, &lt;a href=&quot;http://code.google.com/p/html5shim/&quot; rel=&quot;noreferrer&quot;&gt;http://code.google.com/p/html5shim/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN22] Modernizr, &lt;a href=&quot;http://www.modernizr.com/&quot; rel=&quot;noreferrer&quot;&gt;http://www.modernizr.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN23] Embedded presentations, &lt;a href=&quot;http://sozi.baierouge.fr/wiki/doku.php?id=en:welcome&quot; rel=&quot;noreferrer&quot;&gt;http://sozi.baierouge.fr/wiki/doku.php?id=en:welcome&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN24] Embedded draw, &lt;a href=&quot;http://bomomo.com/&quot; rel=&quot;noreferrer&quot;&gt;http://bomomo.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN25] SVG vs Canvas debate, &lt;a href=&quot;http://stackoverflow.com/questions/568136/svg-vs-canvas-where-is-the-web-world-going-towards&quot; rel=&quot;noreferrer&quot;&gt;http://stackoverflow.com/questions/568136/svg-vs-canvas-where-is-the-web-world-going-towards&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[FN26] SVG to Canvas conversion, &lt;a href=&quot;http://plindenbaum.blogspot.com/2009/11/tool-converting-svg-to-canvas_22.html&quot; rel=&quot;noreferrer&quot;&gt;http://plindenbaum.blogspot.com/2009/11/tool-converting-svg-to-canvas%5F22.html&lt;/a&gt;&lt;/p&gt;
</description>
     <comments>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-study-4-visualising-embedded-metadata#comments</comments>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/html5">HTML5</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/visualising-embedded-metadata">Visualising Embedded Metadata</category>
 <pubDate>Mon, 16 Jul 2012 12:24:38 +0000</pubDate>
 <dc:creator>Administrator</dc:creator>
 <guid isPermaLink="false">84 at http://technicalfoundations.ukoln.ac.uk</guid>
  </item>
  <item>
    <title>HTML5 Case Study 2: CWD: The Common Web Design</title>
    <link>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-study-2-cwd-common-web-design</link>
    <description>&lt;p&gt;Author: Alex Bilbie&lt;/p&gt;
&lt;h1 class=&quot;entry-title&quot;&gt;HTML5 Case Study 2: CWD: The Common Web Design&lt;/h1&gt;
&lt;div class=&quot;entry-content&quot;&gt;
&lt;h1&gt;1. About This Case Study&lt;/h1&gt;
&lt;p&gt;The Common Web Design (CWD) is the new presentation for the University of Lincoln&#039;s online services. Developed with HTML5 and CSS3 technologies, the University of Lincoln&#039;s Common Web Design enables rapid development of attractive, interactive and modern Web sites. Served from a content delivery network and optimised with speed, accessibility and progressive enhancement in mind, the Common Web Design also includes libraries for working with authentication, geo-location, and mobile content.&lt;/p&gt;
&lt;p&gt;This case study will taking a look at how the Common Web Design came into being, design decisions, the underlying technological architecture and how it plays a fundamental part in our Web design toolkit, allowing us to develop rapidly effective and powerful Web sites and applications.&lt;/p&gt;
&lt;p&gt;The Common Web Design (CWD) can be found at &amp;lt;&lt;a href=&quot;http://cwd.online.lincoln.ac.uk/&quot;&gt;http://cwd.online.lincoln.ac.uk/&lt;/a&gt;&amp;gt;.&lt;/p&gt;
&lt;h2&gt;Target Audience&lt;/h2&gt;
&lt;p&gt;The intended audience of this case study are Web site managers and developers working at Higher Education institutions who wish to explore some of the new features that HTML5 and its associated technologies offers. It will also interest practitioners looking for work-arounds for some of the situations they may encounter when working with the new technology.&lt;/p&gt;
&lt;h2&gt;What Is Covered&lt;/h2&gt;
&lt;p&gt;This case study addresses the following areas:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;History of the Common Web Design&lt;/li&gt;
&lt;li&gt;Use of HTML5 (and other modern technologies) in CWD3&lt;/li&gt;
&lt;li&gt;Implementation of the CWD for &lt;a href=&quot;http://gateway.lincoln.ac.uk/&quot;&gt;http://gateway.lincoln.ac.uk/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Challenges&lt;/li&gt;
&lt;li&gt;What we learnt&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;2. History of the Common Web Design&lt;/h1&gt;
&lt;p&gt;In January 2010, the author joined the University of Lincoln&#039;s Online Services Team (OST) in the IT Services Department (IT). One of the first project activities was &lt;strong&gt;Posters at Lincoln&lt;/strong&gt; &lt;a href=&quot;#ftn1&quot;&gt;[FN1]&lt;/a&gt;, a repository and showcas for posters displayed around the University. This project, along with others, came out of a student focus group about improving student communications run by Marketing and IT.&lt;/p&gt;
&lt;p&gt;At the time the author was also carrying out freelance work for the Careers and Employability &lt;a href=&quot;#ftn2&quot;&gt;[FN2]&lt;/a&gt; department and provided speculative design for a new corporate home page. This provided an awareness of the University&#039;s branding guidelines which led to work on a more modern design than the one used by the IT services department at the time.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-161&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/bilbie/html/bilbie-fig-01.png&quot; title=&quot;Figure 1&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 1. Original, unfinished speculative design for a new corporate Web site.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Posters at Lincoln&lt;/strong&gt; was the first of a number of Web sites due to be developed at the time by OST and we recognised that this was an opportunity to create a new presentation for our websites and services. Out of the speculative design we had worked on for the corporate site, we created the Common Web Design (CWD). This was dubbed version &#039;2.0&#039; because there had been a sort of common design before however it was a hack, and was only similar in terms of its colour scheme and placement of the University&#039;s logo.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Figure 2&quot; height=&quot;439&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/bilbie/html/bilbie-fig-02.png&quot; width=&quot;640&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 2. Posters at Lincoln was the first site to use the new Common Web Design&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Over the course of 2010, this design was refined, introducing more features of the modern Web such as CSS3 and geo-location, and we worked hard on making the design render as elegantly as possible on Internet Explorer and even forayed into responsive design with a basic mobile layout for small-screen devices.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Figure 3&quot; height=&quot;372&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/bilbie/html/bilbie-fig-03.png&quot; width=&quot;640&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 3. Print From My PC&lt;a href=&quot;#ftn3&quot; title=&quot;&quot;&gt;&lt;strong&gt;[3]&lt;/strong&gt;&lt;/a&gt; was another early site to use the new Common Web Design.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Figure 4&quot; height=&quot;521&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/bilbie/html/bilbie-fig-04.png&quot; width=&quot;640&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 4. First attempt at automatic responsive web design using CSS3 media queries.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Over the course of 2011, the CWD 2 design was rolled out to about 25 Web sites and services. A WordPress theme &lt;a href=&quot;#ftn4&quot;&gt;[4]&lt;/a&gt; was developed which became the new default theme and is today used by hundreds of logs on our network.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Figure 5&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/bilbie/html/bilbie-fig-05.png&quot; width=&quot;600&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 5. The CWD-based default WordPress theme, used here on http://alexbilbie.com/&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We also rolled out three major updates to CWD2, v2.1 &quot;Balblair&quot;; which contained many bug fixes for Internet Explorer, v2.2 &quot;Caperdonich&quot; which introduced some CSS3 drop shadows, gradients and border images and finally v2.3 &quot;Dallas Dhu&quot; &lt;a href=&quot;#ftn5&quot;&gt;[FN5]&lt;/a&gt; which had a responsive design and introduced geo-location look-up and enhancements for newer browsers.&lt;/p&gt;
&lt;p&gt;Our work on the JISC-funded Total ReCal Project &lt;a href=&quot;#ftn6&quot;&gt;[FN6]&lt;/a&gt; led to an exploration of alternative designs; one of the frustrating aspects of the CWD2 layout was that the content was contained in a box and it proved difficult to develop an elegant Web application in such a small space. Significant time was spent with alternative design which was inspired by the BBC&#039;s new GEL framework &lt;a href=&quot;#ftn7&quot;&gt;[FN7]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In early 2011, CWD v3.0 &quot;Fettercairn&quot; &lt;a href=&quot;#ftn8&quot;&gt;[FN8]&lt;/a&gt; was deployed which featured a brand-new responsive design, comprised HTML5 at the core, exploited new features of CSS3, worked in all modern browsers and was supported back to Internet Explorer 7. It had a flexible grid system that was not contained in a box, so the number of potential designs we could develop significantly increased, and had some impressive CSS helper classes to achieve beautiful, flexible and clean designs. Finally the accessibility of the framework was enhanced using WAI-ARIA attributes on the HTML mark-up while also developing guidelines for writing for, and designing, Web sites.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Figure 6&quot; height=&quot;485&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/bilbie/html/bilbie-fig-06.png&quot; width=&quot;640&quot; /&gt;&lt;/p&gt;
&lt;p style=&quot;text-align:left;&quot;&gt;&lt;strong&gt;Figure 6. The Common Web Design v3.0 &quot;Fettercairn&quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Since the release of v.3.0 &quot;Fettercairn&quot; in 2011, Lincoln&#039;s OST has moved CWD3 to Rackspace Cloud Files &lt;a href=&quot;#ftn9&quot;&gt;[FN9]&lt;/a&gt; content delivery network (CDN) which uses the Akamai network. The CSS, JavaScript (JS) and images are served from a lightning-fast service with edge nodes across the world which makes an appreciable difference to the performance on mobile networks. It also adds very welcome redundancy to the framework because the CDN is distributed around the world instead of being hosted on a server internally.&lt;/p&gt;
&lt;p&gt;Looking to the future, we will work on improving the accessibility with roaming display preferences. We will also connect sites to our future messaging framework (similar to Facebook notifications but across all CWD3-based sites).&lt;/p&gt;
&lt;p&gt;One important aspect of the approach adopted with the CWD was that it was not designed for the lowest common denominator (i.e. IE 7, our corporate browser). Instead, we tried to push the modern browsers into showing off their new features, while ensuring that the design and features gracefully degraded when they failed to do so. Although none of the developers are trained designed, the CWD has enabled us to develop Web sites and applications rapidly, while ensuring they have consistent branding, a clean design, and browser compatibility and accessibility &quot;baked in&quot;.&lt;/p&gt;
&lt;h1&gt;3. Use Case&lt;/h1&gt;
&lt;p&gt;Gateway &lt;a href=&quot;#ftn10&quot;&gt;[FN10]&lt;/a&gt; is University of Lincoln ICT Service&#039;s online portal to the numerous services we offer. The site regularly receives over 250,000 visitors a month, making it one of the our most accessed Web sites next to the corporate Web site &lt;a href=&quot;#ftn11&quot;&gt;[FN11]&lt;/a&gt; and our Blackboard installation &lt;a href=&quot;#ftn12&quot;&gt;[FN12]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Over the summer of 2011 we redeveloped Gateway from the ground up, making use of the CWD3, hooking it up to our single-sign-on (SSO) platform and integrating a number of our other services to develop a new site that was personalised, informative and modern.&lt;/p&gt;
&lt;p&gt;There were a number of requirements for this new site:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It had to work consistently across all the major desktop browsers including Internet Explorer going back to version 7 (which is currently our corporate browser).&lt;/li&gt;
&lt;li&gt;It had to be usable on a wide variety of mobile devices, not just smart phones, for example.&lt;/li&gt;
&lt;li&gt;The site should be personalised to the user
&lt;ul&gt;
&lt;li&gt;It should display more &#039;useful&#039; information than the current site&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A decision was also made to host this new site externally, using Rackspace Cloud Servers, which offers:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;redundancy against outage in our internal server farms;&lt;/li&gt;
&lt;li&gt;a very flexible platform upon which to build; and,
&lt;ul&gt;
&lt;li&gt;in the event of emergency on campus, Gateway can still broadcast messages.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;4. Solution&lt;/h1&gt;
&lt;p&gt;When we developed the new Gateway site we made use of the CWD. The framework had a number of features that benefited us when implementing a site that needed to work cross-platform, cross browser and be accessible to all.&lt;/p&gt;
&lt;h2&gt;Media Queries&lt;/h2&gt;
&lt;p&gt;During its development, CWD3 was designed to work on both desktop and mobile devices. This was achieved by using &#039;reponsive Web design&#039; principles, which include making use of CSS media queries and carefully constructing designing layouts so that block elements are appropriately positioned when the devices&#039; screen size is adjusted.&lt;/p&gt;
&lt;p&gt;At the core of CWD3 is a CSS grid system based on the 960gs framework. The grid allows for 12 columns of 62px width with a 20px gutter between each column. This grid &lt;a href=&quot;#ftn13&quot;&gt;[FN13]&lt;/a&gt; is an open source component so that others can make use of it.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Figure 7&quot; height=&quot;384&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/bilbie/html/bilbie-fig-07.png&quot; width=&quot;640&quot; /&gt;&lt;/p&gt;
&lt;p style=&quot;text-align:left;&quot;&gt;&lt;strong&gt;Figure 7. The CWD3 grid system.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Using media queries &lt;a href=&quot;#ftn14&quot;&gt;[FN14]&lt;/a&gt; (specifically crafted for mobile and table layouts) the grid is un-floated and columns take an equal width. With careful layout planning this means that if you have your main content in a column on the left and your sidebar in a smaller column on the right (see Figure 8), when the media queries are activated the content column (which is more important than the sidebar) will lie above the sidebar (see Figure 9).&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Figure 8&quot; height=&quot;384&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/bilbie/html/bilbie-fig-08.png&quot; width=&quot;640&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 8. Desktop layout example.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Figure 9&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/bilbie/html/bilbie-fig-09.png&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 9. Mobile layout example.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When designing the new Gateway we made use of the two-third/one-third layout shown in Figure 9, specifically so this action would execute on smaller devices.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Figure 10&quot; height=&quot;500&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/bilbie/html/bilbie-fig-10.png&quot; width=&quot;640&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 10. Screenshot of the Gateway&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Figure 10 shows a screenshot of the Gateway with annotations showing the ?-? design and how the sidebar will be pushed below the main content in a mobile layout.&lt;/p&gt;
&lt;p&gt;Thanks to thorough testing both by the original developers of 960.gs, and our own testing of the modifications we made to the grid system, the desktop layout works consistently in all modern desktop browsers mentioned above, and Internet Explorer back to version 7.&lt;/p&gt;
&lt;p&gt;With mobile browsers it is a slightly different story. The site looks great on the iPhone&#039;s Safari browser (see Figure 11) thanks to its solid standards support. The Android browser renders the site almost as well, the only disappointing feature is that Android insists on using Droid Sans as its sans-serif font rather than Helvetica or Arial.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;Figure 11&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/bilbie/html/bilbie-fig-11.png&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 11. Gateway on iPhone.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The next most popular mobile browser, Opera Mobile &quot;just worked&quot; too, thanks to its excellent support of standards. Support for Opera Mobile is a big win because it is the most commonly deployed browser on &quot;dumb phones&quot;.&lt;/p&gt;
&lt;p&gt;Windows Phone 7 browser (at the time of writing the Mango update which introduces the IE9 rendering engine to the phone has yet to be released) does not support media queries. We therefore had to use JavaScript to detect smaller screen sizes and a class of &quot;mobile&quot; to the HTML tag which would then re-trigger the media queries and un-float the grid.&lt;/p&gt;
&lt;p&gt;Blackberry 5 and 6 browsers have varying degrees of success, however thanks to the well thought-out semantic mark-up, both browsers render a basic but usable site. We have also been able to test on a number of other devices such as newer Nokia phones and a Samsung Taco. As with the Blackberry browsers, these render a very basic usable site.&lt;/p&gt;
&lt;h2&gt;Semantic, Accessible Markup&lt;/h2&gt;
&lt;p&gt;The CWD makes heavy use of the new semantic tags. The tag layout describes the semantic structure &lt;a href=&quot;#ftn15&quot;&gt;[FN15]&lt;/a&gt; of the site and this benefits users with less capable mobile browsers who will receive a logical usable layout.&lt;/p&gt;
&lt;p&gt;For users relying on accessibility tools such as screen-readers, we&#039;ve made heavy use of Accessible Rich Internet Application (ARIA) role attributes which further describe, in a standardised way &lt;a href=&quot;#ftn16&quot;&gt;[FN16]&lt;/a&gt;, the building block of the page to help the tools appropriately contextualise the content. For example, the above top-level tag structure looks like this when you include the role attributes:&lt;/p&gt;
&lt;h2&gt;Personalisation and Messages&lt;/h2&gt;
&lt;p&gt;The CWD is one of three tools in our internal development toolbox alongside our Nucleus datastore APIs&lt;a href=&quot;#ftn17&quot; title=&quot;&quot;&gt;[17]&lt;/a&gt; and our Oauth-based&lt;a href=&quot;#ftn18&quot; title=&quot;&quot;&gt;[18]&lt;/a&gt; based single-sign-on (SSO) platform.&lt;/p&gt;
&lt;p&gt;Users can sign in to Gateway which then personalises the main screen, for example displaying their library fine balance, and their print credit balance. In the future we will display other personalised content as we connect more university services to Nucleus.&lt;/p&gt;
&lt;p&gt;Additionally once a user is signed into the SSO platform the CWD itself becomes personalised across all sites that use CWD3:&lt;/p&gt;
&lt;p&gt;Visually, this helps users see that they are signed in, but this personalisation is part of a long-term strategy to develop a communications framework that will allow users to be informed cross platform (e.g. email, Facebook, Twitter), cross-device (e.g., mobile, desktop), and cross-site (any site using CWD3).&lt;/p&gt;
&lt;p&gt;Part of the new Gateway&#039;s remit is to act as an emergency broadcast system and we developed a system dubbed &#039;Bullhorn&#039; which displays a large warning message on Gateway when activated. However, Bullhorn also has an API to which we intend to connect CWD3; this will mean all CWD3-based sites can display emergency information when required.&lt;/p&gt;
&lt;p&gt;Both the Bullhorn messaging system and the CWD personalisation platform currently use JSON-P calls. However, we have also been investigating the use of Web sockets &lt;a href=&quot;#ftn19&quot;&gt;[FN19]&lt;/a&gt; in order to be able to push messages out immediately to the more capable browsers.&lt;/p&gt;
&lt;h2&gt;Server Enhanced Geolocation&lt;/h2&gt;
&lt;p&gt;Our Server Enhanced Geolocation (SEG) platform enhances the HTML5 geo-location &lt;a href=&quot;#ftn20&quot;&gt;[FN20]&lt;/a&gt; APIs by attempting to determine users&#039; location based on their IP address first. Consequently we spent considerable time with our network team establishing all of the internal IP ranges for each building, campus and wireless network of the University of Lincoln.&lt;/p&gt;
&lt;p&gt;When the SEG is called, the user&#039;s IP address is captured and if we can match it against one of our internal IP ranges then we can immediately establish where the user is, and thanks to our Nucleus Locations datastore, we retain latitude and longitude co-ordinates for every building. If the user&#039;s IP fails to match one of our ranges, then we still try to approximate their location using Maxmind&#039;s IP to location databases, &lt;a href=&quot;#ftn21&quot;&gt;[FN21]&lt;/a&gt; which gives us an approximate latitude and longitude. Then if their browser supports it, we can narrow their location down further using the HTML5 geo-location APIs. When we have the users&#039; location, we can then work out their nearest library and campus (if they are not already on campus) which means that we can then create &quot;campus-aware&quot; Web sites.&lt;/p&gt;
&lt;p&gt;In terms of Gateway, our plan is to push out campus-specific Bullhorn messages (where appropriate).&lt;/p&gt;
&lt;p&gt;Another advantage SEG confers is slightly more detailed site analytics because we can determine the University site on or close to which users are located. As a result, we can ensure that the information they receive is as relevant as possible to their current position.&lt;/p&gt;
&lt;h1&gt;5. Challenges&lt;/h1&gt;
&lt;p&gt;The biggest challenges, as with any major site, are testing across lots of different browsers and - as it is a mobile-accessible site too - devices.&lt;/p&gt;
&lt;p&gt;Fortunately, testing desktop browsers has become increasingly painless as Webkit and Gecko teams are working hard on implementing new HTML5 standards in a consistent way. Therefore we feel that we are close to the point where we can code once and it will work anywhere.&lt;/p&gt;
&lt;p&gt;When we designed the CWD3 we decided to end support for Internet Explorer (IE) 6 compatibility, because IE6 represents less than 0.1% of browsers visiting *.lincoln.ac.uk sites (in October 2011); the purpose of this design decision was to give us more time to devote to the test and debugging of the more frequently used versions of Internet Explorer.&lt;/p&gt;
&lt;p&gt;A further decision was made only to support the most recent versions of the alternative browsers (Chrome, Firefox, Opera and Safari) because in our experience (based on our analytics), users of these browsers demonstrate a greater tendency to keep their browsers regularly updated.&lt;/p&gt;
&lt;h1&gt;6. Lessons Learnt&lt;/h1&gt;
&lt;p&gt;There is a wealth of guidelines, best practice, and tutorials available on the Web about HTML, JavaScript and CSS technologies, however there are a number of sites that really stand out in terms of the quality of advice they offer, including the Mozilla Developer Network &lt;a href=&quot;#ftn22&quot;&gt;[FN22]&lt;/a&gt; and HTML5 Doctor &lt;a href=&quot;#ftn23&quot;&gt;[FN23]&lt;/a&gt;. These sites proved invaluable during development, offering useful pointers and ways to overcome browser inconsistencies.&lt;/p&gt;
&lt;p&gt;We also discovered a number of third-party frameworks and libraries that have eased the pain of development such as Modernizr &lt;a href=&quot;#ftn24&quot;&gt;[FN24]&lt;/a&gt;, Respond.js &lt;a href=&quot;#ftn25&quot;&gt;[FN25]&lt;/a&gt;. The HTML5 Boilerplate &lt;a href=&quot;#ftn26&quot;&gt;[FN26]&lt;/a&gt; Project was useful as well to demonstrate current best practice across a number of different technologies. The advantages of using these frameworks and libraries are that they have been well tested and researched by hundreds, and in some cases, thousands of people.&lt;/p&gt;
&lt;p&gt;Most of us are now using Mac computers which makes testing on Internet Explorer difficult. We tried using a number of different solutions for testing IE including using emulators under Wine &lt;a href=&quot;#ftn27&quot;&gt;[FN27]&lt;/a&gt; which proved unreliable and buggy and IE Tester &lt;a href=&quot;#ftn28&quot;&gt;[FN28]&lt;/a&gt; which works but does not always represent true rendering. In the end we set up virtual machines for Windows XP, Vista and 7 each with snapshots of the individual versions of IE available to it (i.e. for XP IE 6, 7 and 8, Vista IE 7, 8 and 9, and 7 IE 8, 9 and 10). It was a long process to get them set up but it does mean we can easily test combinations of OS and browser.&lt;/p&gt;
&lt;h1&gt;7. Conclusions&lt;/h1&gt;
&lt;p&gt;As an integral part of our toolkit, the Common Web Design has allowed us to develop beautiful, mobile-ready, University of Lincoln-branded interfaces to our rapid innovation projects in a short space of time.&lt;/p&gt;
&lt;p&gt;Every element of the framework, from the mobile-ready grid system, the interactive user interface widgets, to the clean typography has been thoroughly tested across a multitude of browsers and devices, thereby giving us confidence in its use. Such rigorous testing means we can concentrate on creating great user experiences, instead of wondering if some great new design will actually work in Internet Explorer.&lt;/p&gt;
&lt;p&gt;From the organisation&#039;s standpoint, the benefits are clear: anyone can easily create a branded Web site, application or blog. The framework&#039;s testing has reduced the number of problems reported to the ICT Support Desk from users experiencing problems in specific browsers. We are also encouraging the use of semantic accessible mark-up which has benefits in terms of search engine optimisation (SEO) and accessibility.&lt;/p&gt;
&lt;hr /&gt;
&lt;h2&gt;FOOTNOTES&lt;/h2&gt;
&lt;div&gt;[1] Posters at Lincoln, &lt;a href=&quot;http://posters.lincoln.ac.uk/&quot; rel=&quot;noreferrer&quot;&gt;http://posters.lincoln.ac.uk/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[2] University of Lincoln Careers &amp;amp; Employability, &lt;a href=&quot;http://www.ulcareers.co.uk/&quot; rel=&quot;noreferrer&quot;&gt;http://www.ulcareers.co.uk/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[3] Printing at Lincoln, &lt;a href=&quot;http://print.lincoln.ac.uk/&quot; rel=&quot;noreferrer&quot;&gt;http://print.lincoln.ac.uk/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[4] WordPress Codex: Using Themes, &lt;a href=&quot;http://codex.wordpress.org/Using_Themes&quot; rel=&quot;noreferrer&quot;&gt;http://codex.wordpress.org/Using_Themes&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[5] The Common Web Design: Version 2.3 Dallas Dh,u &lt;a href=&quot;http://cwd.online.lincoln.ac.uk/2.3/&quot; rel=&quot;noreferrer&quot;&gt;http://cwd.online.lincoln.ac.uk/2.3/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[6] Total ReCal &lt;a href=&quot;http://blog.totalrecal.org/&quot; rel=&quot;noreferrer&quot;&gt;http://blog.totalrecal.org/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn7&quot; name=&quot;ftn7&quot;&gt;&lt;/a&gt;[7] BBC – GEL (Global Experience Language), &lt;a href=&quot;http://bbc.co.uk/gel&quot; rel=&quot;noreferrer&quot;&gt;http://bbc.co.uk/gel&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn8&quot; name=&quot;ftn8&quot;&gt;&lt;/a&gt;[8] The Common Web Design: Version 3.0 Edradour, &lt;a href=&quot;http://cwd.online.lincoln.ac.uk/3.0/&quot; rel=&quot;noreferrer&quot;&gt;http://cwd.online.lincoln.ac.uk/3.0/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn9&quot; name=&quot;ftn9&quot;&gt;&lt;/a&gt;[9] Cloud Files, Cloud Storage: Rackspace Cloud, &lt;a href=&quot;http://www.rackspace.co.uk/cloud-hosting/cloud-products/cloud-files/&quot; rel=&quot;noreferrer&quot;&gt;http://www.rackspace.co.uk/cloud-hosting/cloud-products/cloud-files/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[10] Gateway: University of Lincoln, &lt;a href=&quot;http://gateway.lncn.eu/&quot; rel=&quot;noreferrer&quot;&gt;http://gateway.lncn.eu/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[11] University of Lincoln home page, &lt;a href=&quot;http://www.lincoln.ac.uk/&quot; rel=&quot;noreferrer&quot;&gt;http://www.lincoln.ac.uk/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[12] Blackboard Learn, &lt;a href=&quot;http://blackboard.lincoln.ac.uk/&quot; rel=&quot;noreferrer&quot;&gt;http://blackboard.lincoln.ac.uk/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn13&quot; name=&quot;ftn13&quot;&gt;&lt;/a&gt;[13] grid.css at master from alexbilbie/Base-CSS-grid – GitHub, &lt;a href=&quot;https://github.com/alexbilbie/Base-CSS-grid/blob/master/grid.css&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/alexbilbie/Base-CSS-grid/blob/master/grid.css&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn14&quot; name=&quot;ftn14&quot;&gt;&lt;/a&gt;[14] grid.css media query unfloater – Gist, &lt;a href=&quot;https://gist.github.com/027664f20b09df0fc01a&quot; rel=&quot;noreferrer&quot;&gt;https://gist.github.com/027664f20b09df0fc01a&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn15&quot; name=&quot;ftn15&quot;&gt;&lt;/a&gt;[15] WAVE accessibility findings for Gateway, &lt;a href=&quot;http://wave.webaim.org/report?view=textonly&amp;amp;url=http%3A%2F%2Fgateway.lncn.eu&quot; rel=&quot;noreferrer&quot;&gt;http://wave.webaim.org/report?view=textonly&amp;amp;url=http%3A%2F%2Fgateway.lncn.eu&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn16&quot; name=&quot;ftn16&quot;&gt;&lt;/a&gt;[16] Accessible Rich Internet Applications (WAI-ARIA) 1.0: W3C Candidate Recommendation 18 January 2011, &lt;a href=&quot;http://www.w3.org/TR/wai-aria/&quot; rel=&quot;noreferrer&quot;&gt;http://www.w3.org/TR/wai-aria/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn17&quot; name=&quot;ftn17&quot;&gt;&lt;/a&gt;[17] University of Lincoln Open Data, &lt;a href=&quot;http://data.lincoln.ac.uk/&quot; rel=&quot;noreferrer&quot;&gt;http://data.lincoln.ac.uk/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn18&quot; name=&quot;ftn18&quot;&gt;&lt;/a&gt;[18] OAuth 2.0, &lt;a href=&quot;http://oauth.org/2&quot; rel=&quot;noreferrer&quot;&gt;http://oauth.org/2&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn19&quot; name=&quot;ftn19&quot;&gt;&lt;/a&gt;[19] WebSocket.org — A WebSocket Community, &lt;a href=&quot;http://websocket.org/&quot; rel=&quot;noreferrer&quot;&gt;http://websocket.org/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn20&quot; name=&quot;ftn20&quot;&gt;&lt;/a&gt;[20] W3C : Geolocation API Specification: Editor&#039;s Draft 10 February 2010, &lt;a href=&quot;http://dev.w3.org/geo/api/spec-source.html&quot; rel=&quot;noreferrer&quot;&gt;http://dev.w3.org/geo/api/spec-source.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn21&quot; name=&quot;ftn21&quot;&gt;&lt;/a&gt;[21] Geolocation and Online Fraud Prevention from MaxMind, &lt;a href=&quot;http://www.maxmind.com/&quot; rel=&quot;noreferrer&quot;&gt;http://www.maxmind.com/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn22&quot; name=&quot;ftn22&quot;&gt;&lt;/a&gt;[22] Mozilla Developer Network, &lt;a href=&quot;https://developer.mozilla.org/&quot; rel=&quot;noreferrer&quot;&gt;https://developer.mozilla.org/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn23&quot; name=&quot;ftn23&quot;&gt;&lt;/a&gt;[23] HTML5 Doctor, &lt;a href=&quot;http://html5doctor.com/&quot; rel=&quot;noreferrer&quot;&gt;http://html5doctor.com/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn24&quot; name=&quot;ftn24&quot;&gt;&lt;/a&gt;[24] Modernizr, &lt;a href=&quot;http://modernizr.com/&quot; rel=&quot;noreferrer&quot;&gt;http://modernizr.com/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn25&quot; name=&quot;ftn25&quot;&gt;&lt;/a&gt;[25] scottjehl / Respond – GitHub, &lt;a href=&quot;https://github.com/scottjehl/Respond&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/scottjehl/Respond&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn26&quot; name=&quot;ftn26&quot;&gt;&lt;/a&gt;[26] HTML5 Boilerplate, &lt;a href=&quot;http://www.html5boilerplate.com/&quot; rel=&quot;noreferrer&quot;&gt;http://www.html5boilerplate.com/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn27&quot; name=&quot;ftn27&quot;&gt;&lt;/a&gt;[27 WineHQ, &lt;a href=&quot;http://winehq.com&quot; rel=&quot;noreferrer&quot;&gt;http://winehq.com&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a id=&quot;ftn28&quot; name=&quot;ftn28&quot;&gt;&lt;/a&gt;[28] My DebugBar: IETester / Browser Compatibility Check for Internet Explorer Versions from 5.5 to 10, &lt;a href=&quot;http://www.my-debugbar.com/wiki/IETester/HomePage&quot; rel=&quot;noreferrer&quot;&gt;http://www.my-debugbar.com/wiki/IETester/HomePage&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</description>
     <comments>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-study-2-cwd-common-web-design#comments</comments>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/persons/alex-bilbie">alex bilbie</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/common-web-design">Common Web Design</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/html5">HTML5</category>
 <pubDate>Mon, 16 Jul 2012 12:18:10 +0000</pubDate>
 <dc:creator>Administrator</dc:creator>
 <guid isPermaLink="false">82 at http://technicalfoundations.ukoln.ac.uk</guid>
  </item>
  <item>
    <title>HTML5 Case Study 1: Semantics and Metadata: Machine Understandable Documents</title>
    <link>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-study-1-semantics-and-metadata-machine-understandable-documents</link>
    <description>&lt;p&gt;Author: Sam Adams&lt;/p&gt;
&lt;div class=&quot;entry-content&quot;&gt;
&lt;h1&gt;1 About This Case Study&lt;/h1&gt;
&lt;p&gt;Institutions and researchers need to maintain and grow their reputations: this means increasing the exposure of their research outputs on the web. Embedding machine understandable metadata into their Web sites will do this by making them more visible, easier to discover and increasing their uses.&lt;/p&gt;
&lt;p&gt;The benefits of such approaches for institutions are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Increased exposure of research (and other) outputs, and the effect this will have on assessment metrics, and hence funding.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The benefits for the individual include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Increased personal exposure and recognition.&lt;/li&gt;
&lt;li&gt;Standing out from the crowd in an ever increasingly competitive environment.&lt;/li&gt;
&lt;li&gt;Assisting their own research, making it easier and more efficient to find things.&lt;/li&gt;
&lt;li&gt;Increasing the usefulness of their own outputs.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This case study reviews the current mainstream approaches to embedding machine-understandable &lt;a href=&quot;#ftn1&quot; id=&quot;ftnref1&quot; name=&quot;ftnref1&quot;&gt;[FN 1]&lt;/a&gt; metadata into HTML documents: microformats, RDFa and microdata - and investigates their use for creating &#039;semantic&#039; scholarly publications.&lt;/p&gt;
&lt;p&gt;Note: all references to HTML5 microdata refer to the May 25, 2011 specification [&lt;a href=&quot;#ref-07&quot;&gt;Ref-07&lt;/a&gt;] unless otherwise stated. Changes contained in the editor&#039;s draft [&lt;a href=&quot;#ref-08&quot;&gt;Ref-08&lt;/a&gt;] have not been addressed.&lt;/p&gt;
&lt;h2&gt;Target Audience&lt;/h2&gt;
&lt;p&gt;This case study is primarily designed for developers and publishers interested in embedding machine-understandable metadata into their Web pages, those interested in extracting such data, and the wider community interested in the development of a semantic web.&lt;/p&gt;
&lt;p&gt;It is also hoped that the communities behind the various technologies and specifications used in the course of this case study will be interested in the feedback regarding their usability and any limitations encountered.&lt;/p&gt;
&lt;p&gt;Finally this study highlights areas where further work may help to develop standard approaches.&lt;/p&gt;
&lt;h2&gt;What Is Covered&lt;/h2&gt;
&lt;p&gt;This case study reviews the current state of the microformat, RDFa and microdata approaches to embedding semantic mark-up in HTML documents, and reports on their application to the encoding of semantic metadata in scholarly publications.&lt;/p&gt;
&lt;h2&gt;What Is Not Covered&lt;/h2&gt;
&lt;p&gt;HTML5 adds a number of new elements for describing the structure of a Web page semantically - e.g. article, header, section. These elements have been used in the course of carrying out this case study, but will not be discussed here.&lt;/p&gt;
&lt;p&gt;Further information on the semantic HTML5 elements are available in this series of case studies [&lt;a href=&quot;#ref-13&quot;&gt;Ref-13&lt;/a&gt;] and Mark Pilgrim&#039;s &lt;em&gt;Dive into HTML5&lt;/em&gt; [&lt;a href=&quot;#ref-11&quot;&gt;Ref-11&lt;/a&gt;] .&lt;/p&gt;
&lt;h1&gt;2 Introduction&lt;/h1&gt;
&lt;p&gt;Originally the World Wide Web&#039;s content was designed solely for humans to read, not for computers to interpret in a meaningful way. Today the technologies to change this exist: by creating HTML with embedded semantics we can publish documents that both humans and machines can &#039;understand&#039;. The growth in the publication of machine-understandable information is driving the emergence of a Semantic Web - &quot;&lt;em&gt;an extension of the current [web], in which information is given well-defined meaning, better enabling computers and people to work in cooperation&lt;/em&gt;&quot; [&lt;a href=&quot;#ref-02&quot;&gt;Ref-2&lt;/a&gt;] . This is creating new opportunities, allowing heterogeneous data sources to be integrated and making it possible for software agents to infer new insights. These can be as &#039;straightforward&#039; as helping users to discover information, or as complex as discovering new relationships between known disease symptoms and potential molecular targets for new drugs [&lt;a href=&quot;#ref-10&quot;&gt;Ref-10&lt;/a&gt;].&lt;/p&gt;
&lt;p&gt;At the same time, it has become impractical for anyone to manually keep on top of the ever accelerating volume of published text and data. Increasingly the first reading (and filtering) of publications is done by a machine - this is effectively what search engines do. If you&#039;re not providing the appropriate machine-understandable metadata - the equivalent of writing a &#039;paragraph&amp;amp;&#039; for the machine to review - then the humans are unlikely to ever get to see the document! On the other hand, providing rich metadata will make it easier for potential users to discover your content, and increase the likelihood that other services will direct people to your pages.&lt;/p&gt;
&lt;p&gt;This report presents some examples showing how search engines currently exploit embedded semantic metadata, and demonstrates how such data can be authored. It then provides a broader review of the state of current technologies, before discussing some issues that remain to be addressed.&lt;/p&gt;
&lt;h1&gt;3 Case Study: Searching and Rich Snippets&lt;/h1&gt;
&lt;p&gt;Publishing machine-understandable metadata is not ‘blue skies’ thinking – organisations are doing it right now, and today’s search engines are exploiting it to improve their listings and provide a richer user experience.&lt;/p&gt;
&lt;h2&gt;Person Profiles: Linked-In&lt;/h2&gt;
&lt;p&gt;Searches for &#039;&lt;em&gt;sam adamscambridge&lt;/em&gt;&#039; on both Google and Bing return my LinkedIn profile high in their hits. LinkedIn include semantic markup of data in their profiles, and both search engines extract information from this to enrich their search listings.&lt;/p&gt;
&lt;p&gt;Google displays my photo, location and current role, in what is termed a &#039;Rich Snippet&#039;;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-151&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/adams/html/adams-fig-01.png&quot; title=&quot;fig-01&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 1. Google display of author’s LinkedIn profile.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;While Bing highlights my field of work, recommendations and connections:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-152&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/adams/html/adams-fig-02.png&quot; title=&quot;fig-02&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 2. Bing display of author’s LinkedIn profile.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;These additions make the result stand-out from surrounding hits, increasing the likelihood that someone will visit the page.&lt;/p&gt;
&lt;h2&gt;Google Recipe Search&lt;/h2&gt;
&lt;p&gt;When one performs a search for &#039;&lt;em&gt;shepherds pie&lt;/em&gt;&#039; on google.com &lt;a href=&quot;#ftn2&quot; title=&quot;&quot;&gt;[FN2]&lt;/a&gt;, the search engine will present the user with rich results listings, and options to filter the results in meaningful ways:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-153&quot; height=&quot;512&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/adams/html/adams-fig-03.png&quot; title=&quot;fig-03&quot; width=&quot;640&quot; /&gt;&lt;br /&gt; &lt;strong&gt;Figure 3. The google.com rich results listings for search term ‘shepherds pie’.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Individual search hits (e.g. red box) can include a picture of the dish and information such as the number of reviews and average score, and the cooking time and number of calories per serving. Similarly the user is given options (green box) to filter the recipes (e.g. selecting those using lamb, rather than beef!), or those that require less than 30 minutes cooking time. All this is achieved by the web sites publishing the recipes embedding appropriate semantic markup in their pages, allowing the search engine to &#039;understand&#039; the content.&lt;/p&gt;
&lt;p&gt;Similar workflows could be applied to searching in the scholarly domain, if appropriate semantically published data is made available. &lt;em&gt;If the cookery business can do this, surely universities can - higher education is falling behind home-economics Web sites!&lt;/em&gt;&lt;/p&gt;
&lt;h1&gt;4 Example Application: Researchers&#039; Homepages&lt;/h1&gt;
&lt;p&gt;All institutions provide homepages for their academic staff, and many for other staff and researchers too. These can be made to appear as ‘Rich Snippets’ in Google results with addition of semantic markup for a small number of metadata elements:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Name&lt;/li&gt;
&lt;li&gt;Address (locality, country)&lt;/li&gt;
&lt;li&gt;Job Title&lt;/li&gt;
&lt;li&gt;Photograph (optional)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The original markup is given below:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;article&amp;gt;&lt;br /&gt; &amp;lt;h1&amp;gt;Sam Adams&amp;lt;/h1&amp;gt;&lt;br /&gt; &amp;lt;img src=”http://www.ukoln.ac.uk/isc/html5-case-studies/adams/html/tn_sam-adams.jpg”&amp;gt;&lt;br /&gt; &amp;lt;h2&amp;gt;Cambridge (UK) based Software Developer &amp;amp;amp; Consultant&amp;lt;/h2&amp;gt;&lt;br /&gt; &amp;lt;/article&amp;gt;&lt;/p&gt;
&lt;p&gt;With semantic mark-up (using HTML5 Microdata / schema.org – see discussion below, for details):&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;article itemscope itemtype=”http://schema.org/Person”&amp;gt;&lt;br /&gt; &amp;lt;h1 itemprop=”name”&amp;gt;Sam Adams&amp;lt;/h1&amp;gt;&lt;br /&gt; &amp;lt;img itemprop=”image” src=”http://www.ukoln.ac.uk/isc/html5-case-studies/adams/html/tn_sam-adams.jpg”&amp;gt;&lt;br /&gt; &amp;lt;h2&amp;gt;&lt;br /&gt; &amp;lt;span itemprop=”address” itemscope itemtype=”http://schema.org/PostalAddress”&amp;gt;&lt;br /&gt; &amp;lt;span itemprop=”addressLocality”&amp;gt;Cambridge&amp;lt;/span&amp;gt;&lt;br /&gt; (&amp;lt;span itemprop=”addressCountry”&amp;gt;UK&amp;lt;/span&amp;gt;)&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;/span&amp;gt;&lt;br /&gt; based &amp;lt;span itemprop=”jobTitle”&amp;gt;Software Developer &amp;amp;amp; Consultant&amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;/h2&amp;gt;&lt;br /&gt; &amp;lt;/article&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;strong&gt;Figure 4. Resulting Google ‘Rich Snippet’ &lt;a href=&quot;#ftn3&quot;&gt;[FN3]&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h1&gt;5 Technical Discussions&lt;/h1&gt;
&lt;p&gt;The remainder of this report contains more detailed technical discussions. The technologies described above are reviewed in more detail, and some current issues discussed. Four areas are covered:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A review of the different approaches to embedding semantic metadata into HTML5 documents.&lt;/li&gt;
&lt;li&gt;A review of the types of data/metadata found in the different scholarly publications under investigation.&lt;/li&gt;
&lt;li&gt;An evaluation of the suitability of each of the methods of embedding semantic metadata for supporting the types of data required by this study.&lt;/li&gt;
&lt;li&gt;Production of example works with embedded metadata.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Semantic data formats&lt;/h2&gt;
&lt;p&gt;This section provides an overview of the three major formats for embedding semantics in HTML documents – microformats, RDFa and microdata. For a comprehensive review of their implementation choices and support for different features see [&lt;a href=&quot;#ref-15&quot;&gt;Ref 15&lt;/a&gt;].&lt;/p&gt;
&lt;h3&gt;Microformats&lt;/h3&gt;
&lt;p&gt;Microformats &lt;a href=&quot;#ftn4&quot;&gt;[FN4]&lt;/a&gt; are simple conventions for embedding semantic mark-up about a specific domain into human-readable (X)HTML/XML documents. here are microformat specifications supporting a variety of types of data, a number of which have seen quite widespread up-take – e.g., hCard &lt;a href=&quot;#ftn5&quot;&gt;[FN5]&lt;/a&gt; for describing people and organisations, hCalendar &lt;a href=&quot;#ftn6&quot;&gt;[FN6]&lt;/a&gt; for describing calendars and events, and rel-tag &lt;a href=&quot;#ftn7&quot;&gt;[FN7]&lt;/a&gt; for marking up tags, keywords and categories in pages such as blog posts.&lt;/p&gt;
&lt;p&gt;Microformats have been designed to be straightforward for humans to use, with mark-up based around existing, widely used HTML features as shown in Figure 5:&lt;/p&gt;
&lt;div&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;p class=”vcard”&amp;gt;&lt;br /&gt; &amp;lt;a href=”http://www.seadams.co.uk/”&amp;gt;Sam Adams&amp;lt;/a&amp;gt;&lt;br /&gt; is a &amp;lt;span&amp;gt;software developer&amp;lt;/span&amp;gt;.&lt;br /&gt; &amp;lt;/p&amp;gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;strong&gt;Figure 5. Example of an hCard describing Sam Adams.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Note in Figure 5 the &lt;em&gt;vcard&lt;/em&gt; class on the p element indicates that the child elements form an hCard. The subsequent classes (&lt;em&gt;url&lt;/em&gt;, &lt;em&gt;fn&lt;/em&gt;, &lt;em&gt;role&lt;/em&gt;) indicate the properties their elements describe.&lt;/p&gt;
&lt;p&gt;The major criticisms of the microformat specifications are:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;em&gt;Conflicts with formatting information&lt;/em&gt;: Microformats make wide use of the class HTML attribute which is more usually employed by selectors for style sheets giving presentation instructions for a page. While the &lt;a href=&quot;http://www.w3.org/TR/html401/struct/global.html#h-7.5.2&quot; rel=&quot;noreferrer&quot;&gt;HTML specifications&lt;/a&gt; permit the use of the class attribute &quot;&lt;em&gt;for general purpose processing by user agents&lt;/em&gt;&quot; &lt;a href=&quot;#ftn8&quot;&gt;[FN8]&lt;/a&gt;, overloading the attribute in this manner makes it impossible to tell whether a class attribute is being used for styling purposes, or to mark up a data field, and conflicts can arise when microformats are introduced to existing Web sites.&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;em&gt;Processing challenges:&lt;/em&gt; The ambiguity between data and format specification also makes it impossible to extract marked-up data in a generic manner - a processor can only extract data conforming to microformats that it knows about. In the above example, a processor cannot know that it should associate the value of the a element&#039;s href attribute with the &lt;em&gt;url&lt;/em&gt; property, and its text content with &lt;em&gt;fn&lt;/em&gt; (full name), unless these rules are hard-coded.&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;em&gt;Accessibility&lt;/em&gt;: a number of microformats use the abbr HTML element to encode text in both human friendly and machine readable formats. e.g., a date-time may be encoded as:&lt;/p&gt;
&lt;p style=&quot;padding-left:60px;&quot;&gt;&amp;lt;abbr title=”20110921T14:00:00+0100″&amp;gt;Wednesday 21st at 2 o’clock&amp;lt;/abbr&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;Unfortunately this usage of the abbr element is not compatible with screen readers used by many blind and partially sighted users which has led some organisations, most notably the BBC [&lt;a href=&quot;#ref-14&quot;&gt;Ref-14&lt;/a&gt;] and [&lt;a href=&quot;#ref-05&quot;&gt;Ref-5&lt;/a&gt;] to ban the use of microformats which make use of this pattern.&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;em&gt;Approval process / Extensibility&lt;/em&gt;: in order to prevent conflicts between microformat and property names, new microformats require centralised registration, and approval through a community process &lt;a href=&quot;#ftn9&quot;&gt;[FN9]&lt;/a&gt;. This can make it a lengthy and sometimes difficult process to establish a microformat for a new type of data.&lt;/p&gt;
&lt;h3&gt;RDFa&lt;/h3&gt;
&lt;p&gt;The RDFa specification provides a mechanism for embedding RDF (the language of the Semantic Web) data models into XHTML documents. RDFa brings the full power of RDF to embedding semantic data into Web documents, and is automatically compatible with the work of the Semantic Web community. In contrast to microformats, RDF/RDFa embraces &#039;distributed extensibility&#039; - anyone can create a new vocabulary. This is achieved without having to worrying about conflicting with another vocabulary’s names by using a URL the authors control as a namespace for the vocabulary. Technologies such as RDF Schema (RDFS) and Web Ontology Language (OWL) enable the construction of machine-understandable descriptions of the required structure of RDF entities, and the separation between data and formatting mark-up, combined with more strictly specified parsing rules, ensure that problems such as the &lt;em&gt;urlfn&lt;/em&gt; ambiguity, discussed above, do not arise.&lt;/p&gt;
&lt;p&gt;RDFa has, however been widely criticised for its complexity in a number of areas:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;em&gt;XML basis&lt;/em&gt;: RDFa was originally developed for use with XHTML, and, as such, requires that documents be well formed XML. Since up-take of XHTML has been limited, the specification has been ported to support less well formed HTML; however, differences between HTML and XML can cause difficulties when processing RDF in HTML documents &lt;a href=&quot;#ftn10&quot;&gt;[FN10]&lt;/a&gt;.&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;em&gt;Use of prefixes&lt;/em&gt;: RDFa relies on XML namespace prefixes, which, it has been argued, “&lt;em&gt;most authors simply do not understand, and which many implementors end up getting wrong&lt;/em&gt;” and “&lt;em&gt;lead[s] to flaky copy-and-paste behaviour&lt;/em&gt;” [&lt;a href=&quot;#ref-06&quot;&gt;Ref 6&lt;/a&gt;]. This is further complicated by the prefixed terms (technically CURIEs, rather than QNames) appearing in attribute values which few (if any?) authoring tools understand, QNames generally being confined to element and attribute names.&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;em&gt;Complex formatting rules:&lt;/em&gt; depending on the context in which they appear, relationships in RDFa are variously expressed using either a property, rel or rev attribute, and authors can easily be confused about which is the correct one to use for a given situation – using the wrong one can still generate a valid RDF graph, but not with the meaning the author intended.&lt;/p&gt;
&lt;p&gt;The RDFa 1.1 specification, currently under development &lt;a href=&quot;#ftn11&quot;&gt;[FN11]&lt;/a&gt;, aims to address such concerns, by:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Permitting use of full URIs as property names, rather than requiring prefixed CURIEs&lt;/li&gt;
&lt;li&gt;Providing a mechanism for specifying a default vocabulary for a given scope within a document, thereby removing the need to prefix property names&lt;/li&gt;
&lt;li&gt;Permitting the external definition of standard collections of prefixes, using ‘profile’ documents&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;While RDFa 1.0 is widely used, there are very few sites or applications currently supporting RDFa 1.1.&lt;/p&gt;
&lt;h3&gt;Microdata&lt;/h3&gt;
&lt;p&gt;The Microdata specification has been created during the development of HTML5, with the aim of addressing the common use cases for embedding metadata, while avoiding some of the concerns that are raised around microformats and RDFa. James Graham of Opera [&lt;a href=&quot;#ref-04&quot;&gt;4&lt;/a&gt;] has stated that, “&lt;em&gt;Compared to microformats I believe the HTML 5 microdata offers more consistent parsing rules [...] and cleaner separation from the rest of the markup language. Compared to RFDa, microdata offers a considerably simpler authoring experience which I believe to be critical to gaining traction with a large base of users.&lt;/em&gt;”&lt;/p&gt;
&lt;p&gt;Microdata introduces a set of new attributes for specifying data ‘items’ and their properties. Items can be assigned a type (defined using a URL) which provides a context for prefix-less property names, similar to the role of namespaces in RDF/RDFa. Properties may also be specified using a URL, in which case they can be applied in any context, without requiring a specific item type. Currently there is no mechanism for providing machine-understandable specification of microdata vocabularies, or mapping between URL and ‘simple’ property names; so it is not possible to mix ‘simple’ names from different vocabularies in a single item. This contrasts with RDF/RDFa, where objects (items) can be assigned multiple classes (types), and it is straightforward to mix property names from different vocabularies.&lt;/p&gt;
&lt;p&gt;The microdata specification currently includes instructions for mapping microdata to JSON. Some earlier versions of the specification have included instructions for converting HTML Microdata to RDF, but they have been removed from the current draft.&lt;/p&gt;
&lt;h2&gt;Metadata available in scholarly works&lt;/h2&gt;
&lt;p&gt;This case study is not looking at adding new metadata to scholarly publications, but semantically encoding metadata that is already being recorded. The focus is on bibliographic and citation data – i.e. metadata about the publication itself, and about other publications that it cites and references.&lt;/p&gt;
&lt;h3&gt;PLoS Articles&lt;/h3&gt;
&lt;p&gt;The Public Library of Science (PLoS) &lt;a href=&quot;#ftn12&quot;&gt;[FN12]&lt;/a&gt; is an open access publisher. Alongside the conventional HTML and PDF formatted versions of papers they publish, PLoS also makes available raw XML versions (conforming to the U.S. National Library of Medicine Document Type Definition (NLM DTD)). The XML files contain considerable amounts of metadata, including:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Article title&lt;/li&gt;
&lt;li&gt;Author names and affiliations&lt;/li&gt;
&lt;li&gt;Citation (journal title, year, volume, pages)&lt;/li&gt;
&lt;li&gt;Publisher&lt;/li&gt;
&lt;li&gt;Publication data&lt;/li&gt;
&lt;li&gt;URL&lt;/li&gt;
&lt;li&gt;DOI&lt;/li&gt;
&lt;li&gt;Reference list – titles, authors, citation (e.g., journal title, year, volume, issue, pages)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;CrystalEye Entries&lt;/h3&gt;
&lt;p&gt;CrystalEye &lt;a href=&quot;#ftn13&quot;&gt;[FN13]&lt;/a&gt; is a repository aggregating openly published crystallographic molecular structures from across the Web. CrystalEye entries consist of Crystallographic Information Files and Chemical Markup Language XML files describing the crystallographic structure, as well as, recently, an RDF representation of information about the crystal. There is an HTML splash page for each entry, providing a summary of the crystal structure, and linking to the various resources (files) making up the entry. The full semantic data can already be retrieved as an RDF/XML file, but there are core items of metadata that, if encoded in the HTML splash page, could assist Web crawlers and browsers in respect of:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Title and authors of the crystal structure&lt;/li&gt;
&lt;li&gt;Identity of molecular entities in the crystal structure&lt;/li&gt;
&lt;li&gt;Citation for the original publication&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Evaluation of suitability&lt;/h2&gt;
&lt;h3&gt;Microformats&lt;/h3&gt;
&lt;p&gt;Microformats such as rel=”license”:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;a href=”http://creativecommons.org/licenses/by/2.0/” rel=”license”&amp;gt;cc by 2.0&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;p&gt;and rel=”tag”:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;a href=”http://example.com/tag/html5″ rel=”tag”&amp;gt;html5&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;p&gt;are likely to be useful for adding semantics to licence statements and content tags, due to their simplicity. However, there are currently no microformat specifications or drafts relating to scholarly works’ more complex requirements. While there are ‘exploratory discussions’ around citations, this process appears to have been on-going for some years, and it is likely to be some time before a specification starts to emerge.&lt;/p&gt;
&lt;h3&gt;RDFa&lt;/h3&gt;
&lt;p&gt;RDF is widely used to process data in many communities, including the handling of scholarly metadata. This means there are already a large number of RDF vocabularies available; examples with particular relevance to scholarly publishing include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Dublin Core&lt;/li&gt;
&lt;li&gt;FOAF (Friend of a Friend)&lt;/li&gt;
&lt;li&gt;Bibliographic Ontology&lt;/li&gt;
&lt;li&gt;PRISM (Publishing Requirements for Industry Standard Metadata)&lt;/li&gt;
&lt;li&gt;FRBR (Functional Requirements for Bibliographic Records)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The Dublin Core vocabulary is very widely used for marking up basic metadata (e.g. title, creator(s), description…) and is straightforward to use to mark-up a resource’s title:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;h1 property=”dc:title”&amp;gt;My Really Great Paper&amp;lt;/h1&amp;gt;&lt;/p&gt;
&lt;p&gt;where the dc prefix is bound to the namespace &lt;a href=&quot;http://purl.org/dc/elements/1.1/&quot; title=&quot;http://purl.org/dc/elements/1.1/&quot;&gt;http://purl.org/dc/elements/1.1/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Author names are also straightforward to encode using Dublin Core in RDFa:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;p&amp;gt;&lt;br /&gt; &amp;lt;span property=”dc:creator”&amp;gt;Sam Adams&amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;span property=”dc:creator”&amp;gt;John Smith&amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;/p&amp;gt;&lt;/p&gt;
&lt;p&gt;And more complex descriptions of an author can be supported:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;p&amp;gt;&lt;br /&gt; &amp;lt;span rel=”dcterms:creator”&amp;gt;&lt;br /&gt; &amp;lt;span property=”foaf:name”&amp;gt;Sam Adams&amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;span rel=”foaf:url” resource=”http://www.seadams.co.uk/” /&amp;gt;&lt;br /&gt; &amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;/p&amp;gt;&lt;/p&gt;
&lt;p&gt;where the dcterms prefix is bound to the namespace &lt;a href=&quot;http://purl.org/dc/terms/&quot; title=&quot;http://purl.org/dc/terms/&quot;&gt;http://purl.org/dc/terms/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The existence of two versions of the Dublin Core vocabulary – the original 15 elements, and the larger set of DC terms – can cause confusion for authors: strictly following the specifications, a &lt;em&gt;creator&lt;/em&gt; should be specified as a simple (‘literal’) string if using the original elements, and as an object with properties if using the DC terms vocabulary. This means that data of the form:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;p&amp;gt;&lt;br /&gt; &amp;lt;span rel=”dcterms:creator”&amp;gt;Sam Adams&amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;/p&amp;gt;&lt;/p&gt;
&lt;p&gt;is not strictly permitted, although such constructs are quite commonly observed.&lt;/p&gt;
&lt;h4&gt;Bibliographic data&lt;/h4&gt;
&lt;p&gt;There are a number of RDF vocabularies for describing bibliographic data. During the course of this case study we have evaluated the two most widely used: the Bibliographic Ontology (BIBO) &lt;a href=&quot;#ftn14&quot;&gt;[FN14]&lt;/a&gt; and Publishing Requirements for Industry Standard Metadata (PRISM) &lt;a href=&quot;#ftn15&quot;&gt;[FN15]&lt;/a&gt;. Both vocabularies contain broadly equivalent terms (e.g. title, authors, journal, issue number, volume number…), however in order to conform strictly to their specification they impose quite different structures on the data. Here we have focused on marking up journal article metadata; however, the vocabularies can also be used to mark up bibliographic data about books, reports and other resources.&lt;/p&gt;
&lt;p&gt;The PRISM vocabulary imposes a flat structure, consisting of an article, with a list of properties describing the bibliographic data.&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;a href=&quot;adams-fig-06.png&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone wp-image-154&quot; height=&quot;142&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/adams/html/adams-fig-06.png&quot; title=&quot;fig-06&quot; width=&quot;166&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;strong&gt;Figure 6. The flat data structure imposed by the PRISM vocabulary.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In contrast, BIBO imposes a nested structure, where following the specification, an article is described as part of an issue, which is in turn part of a journal. According to BIBO’s specification, it is not permitted to use the properties in the ‘flat’ style of the PRISM structure. However, these rules are not always observed (e.g., by some of the examples found in the documentation of BIBO’s Web site!).&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;a href=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/adams/html/adams-fig-07.png&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone wp-image-155&quot; height=&quot;171&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/adams/html/adams-fig-07.png?w=230&amp;amp;h=171&quot; title=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/adams/html/adams-fig-07&quot; width=&quot;230&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;strong&gt;Figure 7. The nested data structure imposed by the Bibliographic Ontology.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A second difference is in marking up a journal’s name. While both vocabularies use the Dublin Core &lt;em&gt;title&lt;/em&gt; property to mark-up an article’s title, the PRISM vocabulary includes an explicit &lt;em&gt;publicationName&lt;/em&gt; term, whereas BIBO used Dublin Core &lt;em&gt;title&lt;/em&gt; again (this is made possible due to the nested data structure). These differences make BIBO well suited to building databases of bibliographic data, where it may be useful to model issues and journals explicitly. However, PRISM’s simpler data structure makes it better suited than BIBO for encoding bibliographic metadata in documents.&lt;/p&gt;
&lt;div&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;html xmlns:dc=”http://purl.org/dc/elements/1.1/”&lt;br /&gt; xmlns:prism=”http://prismstandard.org/namespaces/basic/2.0/”&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;…&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;article about=”&quot;&amp;gt;&lt;br /&gt; &amp;lt;h1 property=”dc:title”&amp;gt;…&amp;lt;/h1&amp;gt;&lt;br /&gt; &amp;lt;p&amp;gt;&lt;br /&gt; &amp;lt;span property=”dc:creator”&amp;gt;…&amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;/p&amp;gt;&lt;br /&gt; &amp;lt;p&amp;gt;&lt;br /&gt; &amp;lt;span property=”prism:publicationName”&amp;gt;…&amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;span property=”prism:volume”&amp;gt;…&amp;lt;/span&amp;gt;&lt;br /&gt; (&amp;lt;span property=”prism:number”&amp;gt;…&amp;lt;/span&amp;gt;)&lt;br /&gt; &amp;lt;span property=”prism:startingPage”&amp;gt;…&amp;lt;/span&amp;gt;-&amp;lt;span property=”prism:endingPage”&amp;gt;…&amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;/p&amp;gt;&lt;br /&gt; &amp;lt;p&amp;gt;DOI: &amp;lt;a rel=”prism:url” href=”http://dx.doi.org/…”&amp;gt;…&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt; &amp;lt;/article&amp;gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&lt;strong&gt;Figure 8. Describing an article’s bibliographic information using RDFa / PRISM vocabulary.&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;Microdata&lt;/h3&gt;
&lt;p&gt;Since microdata is a relatively recent development, there are not yet many vocabularies available. The first W3C version of the Microdata specification included a number of predefined types and property names for describing common structures. They were removed from subsequent drafts, but some standard vocabularies (vCard, vEvent and Licensing works) are still included in the current WHATWG specification.&lt;/p&gt;
&lt;p&gt;Microdata received a major boost in June 2011, when Bing, Google and Yahoo! announced a joint initiative called &lt;em&gt;schema.org&lt;/em&gt; [&lt;a href=&quot;#ref-03&quot;&gt;Ref-3&lt;/a&gt;] to support a common set of schemas for structured data mark-up on the Web. Schema.org has chosen to use microdata due to it striking a “&lt;em&gt;balance between the extensibility of RDFa and the simplicity of microformats&lt;/em&gt;“. The primary benefit of marking up data using the schema.org vocabulary is to improve one’s display in search results. Google, for example, will display Rich Snippets &lt;a href=&quot;#ftn16&quot;&gt;[FN16]&lt;/a&gt; in its search listings for pages containing schema.org mark-up of supported data types, such as Events, Organisations and People.&lt;/p&gt;
&lt;p&gt;Among its data types, schema.org includes a &lt;em&gt;ScholarlyArticle&lt;/em&gt; type, which we can use to describe an article:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;article itemtype=”http://schema.org/ScholarlyArticle” itemscope&amp;gt;&lt;br /&gt; …&lt;br /&gt; &amp;lt;/article&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;Adding a title (&lt;em&gt;name&lt;/em&gt;) to this is straightforward:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;article itemtype=”http://schema.org/ScholarlyArticle” itemscope&amp;gt;&lt;br /&gt; &amp;lt;h1 itemprop=”name”&amp;gt;An investigation of FUD&amp;lt;/h1&amp;gt;&lt;br /&gt; &amp;lt;/article&amp;gt;&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;Author names are a little more complicated, as you have start a new &lt;em&gt;Person&lt;/em&gt; item, and then attach properties to that:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;p&amp;gt;&lt;br /&gt; &amp;lt;span itemprop=”author” itemscope itemtype=”http://schema.org/Person”&amp;gt;&lt;br /&gt; &amp;lt;span itemprop=”name”&amp;gt;Sam Adams&amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;/span&amp;gt;,&lt;br /&gt; &amp;lt;span itemprop=”author” itemscope itemtype=”http://schema.org/Person”&amp;gt;&lt;br /&gt; &amp;lt;span itemprop=”name”&amp;gt;John Smith&amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;/p&amp;gt;&lt;/p&gt;
&lt;p&gt;The schema.org specification does not permit the simpler:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;p&amp;gt;&lt;br /&gt; &amp;lt;span itemprop=”author”&amp;gt;Sam Adams&amp;lt;/span&amp;gt;,&lt;br /&gt; &amp;lt;span itemprop=”author”&amp;gt;John Smith&amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;/p&amp;gt;&lt;/p&gt;
&lt;p&gt;Although it seems likely that many examples of this approach will appear as use of the schema.org vocabulary grows.&lt;/p&gt;
&lt;h4&gt;Bibliographic data&lt;/h4&gt;
&lt;p&gt;The schema.org vocabulary for &lt;em&gt;ScholarlyArticle&lt;/em&gt;s does not support concepts such as volume, issue number, DOI which are needed to mark up journal papers’ bibliographic and citation data. This leaves three options for representing such data using Microdata:&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;1. Extend schema.org&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;The specification for schema.org allows Web masters to introduce new properties for existing schema.org classes; so we could simply introduce ‘volume’, ‘issueNumber’, ‘doi’ etc properties. However, this carries the risk that a property name we introduce could conflict with another extension. It would also be difficult to document these extensions – the natural place for a user to find information about properties of schema.org classes is on the schema.org Web site, but there would be no information about our extensions there.&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;p&amp;gt;&lt;br /&gt; &amp;lt;span itemprop=”journalTitle”&amp;gt;J Interest Things&amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;span itemprop=”volumeNumber”&amp;gt;7&amp;lt;/span&amp;gt;&lt;br /&gt; (&amp;lt;span itemprop=”issueNumber”&amp;gt;2&amp;lt;/span&amp;gt;)&lt;br /&gt; &amp;lt;span itemprop=”pageStart”&amp;gt;162&amp;lt;/span&amp;gt;&lt;br /&gt; -&amp;lt;span itemprop=”pageEnd”&amp;gt;164&amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;/p&amp;gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;2. Extend schema.org with external vocabularies&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;While Microdata properties whose names are plain words (e.g. ‘author’) can only be used within the context of item types for which they are defined, if properties are named using URLs, they can be used on items of any type, though this can end up being quite verbose:&lt;/p&gt;
&lt;p style=&quot;padding-left:30px;&quot;&gt;&amp;lt;p&amp;gt;&lt;br /&gt; &amp;lt;span itemprop=”http://prismstandard.org/namespaces/basic/2.0/publicationName”&amp;gt;J Interest Things&amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;span itemprop=”http://prismstandard.org/namespaces/basic/2.0/volume”&amp;gt;7&amp;lt;/span&amp;gt;&lt;br /&gt; (&amp;lt;span itemprop=”http://prismstandard.org/namespaces/basic/2.0/number”&amp;gt;2&amp;lt;/span&amp;gt;)&lt;br /&gt; &amp;lt;span itemprop=”http://prismstandard.org/namespaces/basic/2.0/startingPage”&amp;gt;162&amp;lt;/span&amp;gt;&lt;br /&gt; -&amp;lt;span itemprop=”http://prismstandard.org/namespaces/basic/2.0/endingPage”&amp;gt;164&amp;lt;/span&amp;gt;&lt;br /&gt; &amp;lt;/p&amp;gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;3.&lt;/strong&gt; &lt;strong&gt;Use a different vocabulary&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;We could create a whole new Microdata vocabulary for scholarly works (possibly building on an existing RDF vocabulary). However, this runs the risk of missing out on the ecosystem/support that may develop around schema.org, given the dominance of its backers.&lt;/p&gt;
&lt;h2&gt;Example works&lt;/h2&gt;
&lt;p&gt;To explore the options raised above further, tools have been developed to demonstrate the production of scholarly documents containing semantically encoded metadata:&lt;/p&gt;
&lt;h3&gt;PLoS Articles&lt;/h3&gt;
&lt;p&gt;As previously discussed, the raw XML is made available for articles published in PLoS journals. In order to generate examples of articles with semantically marked-up metadata, an XSLT stylesheet has been developed that transforms the XML articles into HTML5, with semantic mark-up of embedded metadata.&lt;/p&gt;
&lt;p&gt;The stylesheet has been packaged into a Web application that is accessible at: &lt;a href=&quot;http://html5app.bluefen.co.uk/&quot; rel=&quot;noreferrer&quot;&gt;http://html5app.bluefen.co.uk&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The source code for this application, including the XSLT stylesheet are available from &lt;a href=&quot;http://bitbucket.org/bluefen/html5app&quot; rel=&quot;noreferrer&quot;&gt;http://bitbucket.org/bluefen/html5app&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;CrystalEye Entries&lt;/h3&gt;
&lt;p&gt;CrystalEye is powered by an instance of the Chempound data repository. Chempound generates splash pages for data items using a templating system. The templates used to generate splash pages for CrystalEye entries have been extended to encode core metadata: title and authors of the crystal structure, and citation of the source publication.&lt;/p&gt;
&lt;p&gt;The repository is available at: &lt;a href=&quot;http://crystaleye.ch.cam.ac.uk/&quot; rel=&quot;noreferrer&quot;&gt;http://crystaleye.ch.cam.ac.uk&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;6 Conclusions&lt;/h1&gt;
&lt;p&gt;Embedding semantic metadata into HTML pages is clearly a topic of current interest. Unfortunately there is not yet a clear standard for generating this mark-up, instead there are a number of competing formats. The strongest contenders seem to be RDFa and microdata, both of which have advantages and disadvantages when compared to the other. Given its longer history, RDFa is currently the more widely used of the two. On the other hand, due to its simpler form, and the recent backing of microdata by the Web’s major search engines through the schema.org initiative, it seems likely that large amounts of microdata will start to appear shortly.&lt;/p&gt;
&lt;p&gt;Assuming that microdata does take off, conventions for describing scholarly works will be needed. There are a number of options, though they all suffer from potential drawbacks:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Extend &lt;a href=&quot;http://schema.org/&quot; rel=&quot;noreferrer&quot; target=&quot;_blank&quot;&gt;schema.org&lt;/a&gt; vocabularies; but the extensions could clash with someone else’s.&lt;/li&gt;
&lt;li&gt;Mint a whole new microdata vocabulary of scholarly works; but this misses out the ecosystem/support that &lt;strong&gt;&lt;em&gt;may&lt;/em&gt;&lt;/strong&gt; develop around &lt;a href=&quot;http://schema.org/&quot; rel=&quot;noreferrer&quot; target=&quot;_blank&quot;&gt;schema.org&lt;/a&gt;, given its backers&lt;/li&gt;
&lt;li&gt;Use &lt;a href=&quot;http://schema.org/&quot; rel=&quot;noreferrer&quot; target=&quot;_blank&quot;&gt;schema.org&lt;/a&gt; so far as possible, and import elements of other vocabularies, e.g. BIBO/PRISM; but this would rapidly become a bit untidy/unwieldy&lt;/li&gt;
&lt;li&gt;Some other option.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There are advantages and disadvantages to each of these options, but the most important factor is consensus.&lt;/p&gt;
&lt;p&gt;It is worth bearing in mind that the microdata specification is not yet finalised. At the same time, the current development of the RDFa 1.1 [&lt;a href=&quot;#ref-01&quot;&gt;1&lt;/a&gt;] specification appears to be addressing some of the concerns regarding the complexity of producing RDFa.&lt;/p&gt;
&lt;p&gt;While it is unlikely that these efforts will merge anytime in the foreseeable future, ideally a mechanism for interoperability will develop.&lt;/p&gt;
&lt;h1&gt;7 Addendum&lt;/h1&gt;
&lt;p&gt;There have been a number of developments since this case study was initially written:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Late in September 2011 the W3C launched a Microdata/RDFa Task Force &lt;a href=&quot;/intranet.ukoln.ac.uk/projects/html5/editing-work/HTML5/BK-updates/HTML5-adams-v3.0-bk.doc#_ftn17&quot; title=&quot;&quot;&gt; [FN17]&lt;/a&gt; to analyse the relationship between the two formats.&lt;/li&gt;
&lt;li&gt;Work is ongoing on a ‘Microdata to RDF’ specification [&lt;a href=&quot;#ref-09&quot;&gt;9&lt;/a&gt;].&lt;/li&gt;
&lt;li&gt;The microdata specification has been changed to allow an item to have multiple item types, so long as the all &lt;em&gt;“are defined to use the same vocabulary&lt;/em&gt;” [&lt;a href=&quot;#ref-08&quot;&gt;8&lt;/a&gt;].&lt;/li&gt;
&lt;li&gt;Schema.org have announced [&lt;a href=&quot;#ref-12&quot;&gt;12&lt;/a&gt;] that they are introducing support for RDFa 1.1 lite [&lt;a href=&quot;#ref-16&quot;&gt;16&lt;/a&gt;] – “&lt;em&gt;a very minimal subset that will work for 80% of the folks out there doing simple markup”&lt;/em&gt; – alongside microdata, in order to “&lt;em&gt;allow publishers to focus more on what they want to say with their data, rather than on the details of its specific encoding as markup&lt;/em&gt;“.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It still does not look like the microdata and RDFa efforts are likely to merge, however efforts are clearly being made to improve their interoperability.&lt;/p&gt;
&lt;p&gt;There is not yet any consensus as to whether one format will emerge as the &lt;em&gt;de facto&lt;/em&gt; standard for data publication on the Web. My personal feeling is that RDFa is likely to be the stronger contender for this, since it offers greatest flexibility and supports complex data models. Moreover, the development of the RDFa 1.1, and especially the RDFa Lite 1.1, specifications has made it much simpler to publish than was previously the case (RDFa Lite 1.1 looks to be as simple to use as microdata). Microdata suffers from the limitation that it cannot support the more complex use cases for data publication, so will never be able to completely replace RDFa.&lt;/p&gt;
&lt;h2&gt;References&lt;/h2&gt;
&lt;p&gt;&lt;a id=&quot;ref-01&quot; name=&quot;ref-01&quot;&gt;&lt;/a&gt;[1] Adida, B., Birbeck, M., McCarron, S., &amp;amp; Herman, I. (2011) &lt;em&gt;RDFa Core 1.1&lt;/em&gt;. &lt;a href=&quot;http://www.w3.org/TR/rdfa-core/&quot; rel=&quot;noreferrer&quot;&gt;http://www.w3.org/TR/rdfa-core/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id=&quot;ref-02&quot; name=&quot;ref-02&quot;&gt;&lt;/a&gt;[2] Berners-Lee, T., Hendler, J., &amp;amp; Lassila, O. (2001) &lt;em&gt;The Semantic Web&lt;/em&gt;. Scientific American. 17 May 2001. &lt;a href=&quot;http://www.scientificamerican.com/article.cfm?id=the-semantic-we&quot; rel=&quot;noreferrer&quot;&gt;http://www.scientificamerican.com/article.cfm?id=the-semantic-we&lt;/a&gt;b&lt;/p&gt;
&lt;p&gt;&lt;a id=&quot;ref-03&quot; name=&quot;ref-03&quot;&gt;&lt;/a&gt;[3] Google. (2011). &lt;em&gt;Introducing schema.org: Search engines come together for a richer web&lt;/em&gt;. Webmaster Central Blog, 2 June 2011. &lt;a href=&quot;http://googlewebmastercentral.blogspot.com/2011/06/introducing-schemaorg-search-engines.html&quot; rel=&quot;noreferrer&quot;&gt;http://googlewebmastercentral.blogspot.com/2011/06/introducing-schemaorg-search-engines.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id=&quot;ref-04&quot; name=&quot;ref-04&quot;&gt;&lt;/a&gt;[4] Graham, J. (2009) &lt;em&gt;Does anyone like microdata?&lt;/em&gt; Post to &lt;a href=&quot;mailto:public-html@w3.org&quot;&gt;public-html@w3.org&lt;/a&gt; Fri, 26 Jun 2009. &lt;a href=&quot;http://lists.w3.org/Archives/Public/public-html/2009Jun/0736.html&quot; rel=&quot;noreferrer&quot;&gt;http://lists.w3.org/Archives/Public/public-html/2009Jun/0736.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id=&quot;ref-05&quot; name=&quot;ref-05&quot;&gt;&lt;/a&gt;[5] Hassell, J. (2008). &lt;em&gt;Why the BBC removed microformat DateTime patterns from bbc.co.uk&lt;/em&gt;. 4 July 2008. BBC Internet Blog. &lt;a href=&quot;http://www.bbc.co.uk/blogs/bbcinternet/2008/07/why_the_bbc_removed_microforma.html&quot; rel=&quot;noreferrer&quot;&gt;http://www.bbc.co.uk/blogs/bbcinternet/2008/07/why_the_bbc_removed_microforma.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id=&quot;ref-06&quot; name=&quot;ref-06&quot;&gt;&lt;/a&gt;[6] Hickson, I.(2009). &lt;em&gt;Annotating structured data that HTML has no semantics for&lt;/em&gt;. Post to [whatwg] list. Sun May 10 03:32:34 PDT 2009 &lt;a href=&quot;http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-May/019681.html&quot; rel=&quot;noreferrer&quot;&gt;http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-May/019681.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id=&quot;ref-07&quot; name=&quot;ref-07&quot;&gt;&lt;/a&gt;[7] Hickson, I.(2011). &lt;em&gt;HTML Microdata. W3C Working Draft 25 May 2011&lt;/em&gt;. &lt;a href=&quot;http://www.w3.org/TR/2011/WD-microdata-20110525/&quot; rel=&quot;noreferrer&quot;&gt;http://www.w3.org/TR/2011/WD-microdata-20110525/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id=&quot;ref-08&quot; name=&quot;ref-08&quot;&gt;&lt;/a&gt;[8] Hickson, I.(2012). &lt;em&gt;HTML Microdata. Editor’s Draft 6 February 2012&lt;/em&gt;. &lt;a href=&quot;http://dev.w3.org/html5/md/&quot; rel=&quot;noreferrer&quot;&gt;http://dev.w3.org/html5/md/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id=&quot;ref-09&quot; name=&quot;ref-09&quot;&gt;&lt;/a&gt;[9] Kellogg, G. (2011) Microdata to RDF. &lt;a href=&quot;https://dvcs.w3.org/hg/htmldata/raw-file/37500d90742f/ED/microdata-rdf/20111118/index.html&quot; rel=&quot;noreferrer&quot;&gt;https://dvcs.w3.org/hg/htmldata/raw-file/37500d90742f/ED/microdata-rdf/20111118/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id=&quot;ref-10&quot; name=&quot;ref-10&quot;&gt;&lt;/a&gt;[10] Neumann, E. K., Miller, E., &amp;amp; Wilbanks, J. (2004, November&lt;em&gt;).&lt;/em&gt; &lt;em&gt;What the semantic web could do for the life sciences&lt;/em&gt;. Drug Discovery Today 6(2) p228-236. &lt;a href=&quot;http://lambda.csail.mit.edu/~chet/papers/others/n/neumann/neumann04biosilico.pdf&quot; title=&quot;http://lambda.csail.mit.edu/~chet/papers/others/n/neumann/neumann04biosilico.pdf&quot;&gt;http://lambda.csail.mit.edu/~chet/papers/others/n/neumann/neumann04biosi...&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a id=&quot;ref-11&quot; name=&quot;ref-11&quot;&gt;&lt;/a&gt;[11] Pilgrim, M. (2011). &lt;em&gt;Dive Into HTML5: What Does It All Mean?&lt;/em&gt; &lt;a href=&quot;http://diveintohtml5.info/semantics.html&quot; rel=&quot;noreferrer&quot;&gt;http://diveintohtml5.info/semantics.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id=&quot;ref-12&quot; name=&quot;ref-12&quot;&gt;&lt;/a&gt;[12] Schema.org (2011). &lt;em&gt;Using RDFa 1.1 Lite with Schema.org&lt;/em&gt;. &lt;a href=&quot;http://blog.schema.org/2011/11/using-rdfa-11-lite-with-schemaorg.html&quot; rel=&quot;noreferrer&quot;&gt;http://blog.schema.org/2011/11/using-rdfa-11-lite-with-schemaorg.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id=&quot;ref-13&quot; name=&quot;ref-13&quot;&gt;&lt;/a&gt;[13] Sefton, P. (2012). Conventions and Guidelines for Scholarly HTML5 Documents. HTML5 Case Studies, UKOLN.&lt;/p&gt;
&lt;p&gt;&lt;a id=&quot;ref-14&quot; name=&quot;ref-14&quot;&gt;&lt;/a&gt;[14] Smethurst, M. (2008). &lt;em&gt;Removing Microformats from bbc.co.uk/programmes&lt;/em&gt;, 23 June 2008. BBC Radio Labs Blog. &lt;a href=&quot;http://www.bbc.co.uk/blogs/radiolabs/2008/06/removing_microformats_from_bbc.shtml&quot; rel=&quot;noreferrer&quot;&gt;http://www.bbc.co.uk/blogs/radiolabs/2008/06/removing_microformats_from_bbc.shtml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id=&quot;ref-15&quot; name=&quot;ref-15&quot;&gt;&lt;/a&gt;[15] Sporny, M. (2011a, June 11). &lt;em&gt;An Uber-comparison of RDFa, Microdata and Microformats&lt;/em&gt;. &lt;a href=&quot;http://manu.sporny.org/2011/uber-comparison-rdfa-md-uf/&quot; rel=&quot;noreferrer&quot;&gt;http://manu.sporny.org/2011/uber-comparison-rdfa-md-uf/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id=&quot;ref-16&quot; name=&quot;ref-16&quot;&gt;&lt;/a&gt;[16] Sporny, M. (2011b). &lt;em&gt;RDFa Lite 1.1 – W3C Editor’s Draft 30 October 2011&lt;/em&gt;. &lt;a href=&quot;http://www.w3.org/2010/02/rdfa/drafts/2011/ED-rdfa-lite-20111030/&quot; rel=&quot;noreferrer&quot;&gt;http://www.w3.org/2010/02/rdfa/drafts/2011/ED-rdfa-lite-20111030/&lt;/a&gt;&lt;/p&gt;
&lt;div&gt;
&lt;hr align=&quot;left&quot; size=&quot;1&quot; /&gt;
&lt;div&gt;
&lt;h2&gt;Footnotes&lt;/h2&gt;
&lt;p&gt;[1] Much of the information published on the web is &lt;em&gt;machine-readable&lt;/em&gt;, but a much smaller proportion is currently &lt;em&gt;machine-understandable&lt;/em&gt;. Information is machine-readable if it is published in a form that can be extracted and manipulated using a computer. If information is published in a &lt;em&gt;machine-understandable&lt;/em&gt; manner, software agents can interpret it and reason over it. Unlike humans, machines cannot infer relationships and contexts, so in order to be machine-understandable, data must have clearly defined semantics and structure.&lt;/p&gt;
&lt;p&gt;Information published using ASCII characters in an HTML page, or in a CSV file or spread sheet (rather than using images and PDFs) is machine-readable. However, without clear structure and semantic annotations giving ‘meaning’ to each component of the information in a manner that a software agent can interpret, it is not machine-understandable.&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;[2] As of November 19, 2011, this functionality is only available on google.com, not google.co.uk.&lt;/div&gt;
&lt;div&gt;[3] Generated using the &lt;em&gt;Rich Snippets Testing Tool&lt;/em&gt;: &lt;a href=&quot;http://www.google.com/webmasters/tools/richsnippets&quot; rel=&quot;noreferrer&quot;&gt;http://www.google.com/webmasters/tools/richsnippets&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[4] Microformats &lt;a href=&quot;http://microformats.org/&quot; rel=&quot;noreferrer&quot;&gt;http://microformats.org/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[5] hCard &lt;a href=&quot;http://microformats.org/wiki/hcard&quot; rel=&quot;noreferrer&quot;&gt;http://microformats.org/wiki/hcard&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[6] hCalendar &lt;a href=&quot;http://microformats.org/wiki/hcalendar&quot; rel=&quot;noreferrer&quot;&gt;http://microformats.org/wiki/hcalendar&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[7] rel=”tag” http://microformats.org/wiki/rel-tag&lt;/div&gt;
&lt;div&gt;[8] HTML 4.01 Specification. Chapter 7: The global structure of an HTML document. &lt;a href=&quot;http://www.w3.org/TR/html4/struct/global.html&quot; rel=&quot;noreferrer&quot;&gt;http://www.w3.org/TR/html4/struct/global.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[9] The microformats process &lt;a href=&quot;http://microformats.org/wiki/process&quot; rel=&quot;noreferrer&quot;&gt;http://microformats.org/wiki/process&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[10] RDFa in HTML issues &lt;a href=&quot;http://rdfa.info/wiki/Rdfa-in-html-issues&quot; rel=&quot;noreferrer&quot;&gt;http://rdfa.info/wiki/Rdfa-in-html-issues&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[11] RDFa 1.1 Nears Completion &lt;a href=&quot;http://rdfa.info/2011/03/31/rdfa-1-1-almost-ready/&quot; rel=&quot;noreferrer&quot;&gt;http://rdfa.info/2011/03/31/rdfa-1-1-almost-ready/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[12] The Public Library of Science &lt;a href=&quot;http://www.plos.org/&quot; rel=&quot;noreferrer&quot;&gt;http://www.plos.org/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[13] CrystalEye &lt;a href=&quot;http://wwmm.ch.cam.ac.uk/crystaleye/&quot; rel=&quot;noreferrer&quot;&gt;http://wwmm.ch.cam.ac.uk/crystaleye/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[14] Web site for the Bibliographic Ontology, known as BIBO &lt;a href=&quot;http://bibliontology.com/&quot; rel=&quot;noreferrer&quot;&gt;http://bibliontology.com/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[15] Publishing Requirements for Industry Standard Metadata (PRISM) &lt;a href=&quot;http://www.prismstandard.org/&quot; rel=&quot;noreferrer&quot;&gt;http://www.prismstandard.org/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[16] Rich snippets: &lt;a href=&quot;http://www.google.com/support/webmasters/bin/topic.py?topic=21997&quot; rel=&quot;noreferrer&quot;&gt;http://www.google.com/support/webmasters/bin/topic.py?topic=21997&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;[17] HTML Data Task Force: &lt;a href=&quot;http://www.w3.org/wiki/Html-data-tf&quot; rel=&quot;noreferrer&quot;&gt;http://www.w3.org/wiki/Html-data-tf&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description>
     <comments>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-study-1-semantics-and-metadata-machine-understandable-documents#comments</comments>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/persons/sam-adams">sam adams</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/html5">HTML5</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/metadata">metadata</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/semantics">semantics</category>
 <pubDate>Mon, 16 Jul 2012 12:10:39 +0000</pubDate>
 <dc:creator>Administrator</dc:creator>
 <guid isPermaLink="false">81 at http://technicalfoundations.ukoln.ac.uk</guid>
  </item>
  <item>
    <title>HTML5 Case Studies: Introduction</title>
    <link>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-studies-introduction</link>
    <description>&lt;p&gt;Case studies illustrating development approaches to use of HTML5 and related Open Web Platform standards in the UK Higher Education sector.&lt;/p&gt;
&lt;p&gt;Author: Brian Kelly&lt;/p&gt;
&lt;h1&gt;1. About This Document&lt;/h1&gt;
&lt;p&gt;This document provides an introduction to a series of HTML5 case studies which were commissioned by the JISC. The document gives an introduction to HTML5 and related standards developed by the W3C and explains why these developments represent a significant development to Web standards, which is of more significance than previous incremental developments to HTML and CSS.&lt;/p&gt;
&lt;h1&gt;2. About HTML5&lt;/h1&gt;
&lt;p&gt;&lt;img alt=&quot;&quot; class=&quot;alignright size-full wp-image-263&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/introduction/html/introduction-fig-01.png?w=640&quot; title=&quot;HTML5 logo&quot; /&gt;As described in Wikipedia &lt;a href=&quot;#ref-01&quot;&gt;[1]&lt;/a&gt; HTML5 is a markup language for structuring and presenting content on the Web. HTML5 is the fifth version of the HTML language which was created in 1990. Since then the language has evolved from HTML 1, HTML 2, HTML 3.2, HTML 4 and XHTML 1.&lt;/p&gt;
&lt;p&gt;The core aims of HTML5 are to improve the language with support for the latest multimedia while keeping it easily readable by humans and consistently understood by computers and devices.&lt;/p&gt;
&lt;p&gt;HTML5 has been developed as a response to the observation that the HTML and XHTML standards in common use on the Web are a mixture of features introduced by various specifications, along with those introduced by software products such as web browsers, those established by common practice, and the many syntax errors in existing web documents&lt;/p&gt;
&lt;p&gt;It is also an attempt to define a single markup language that can be written in either HTML or XHTML syntax. It includes detailed processing models to encourage more interoperable implementations; it extends, improves and rationalises the markup available for documents, and introduces markup and application programming interfaces (APIs) for complex web applications.&lt;/p&gt;
&lt;p&gt;For the same reasons, HTML5 is also a potential candidate for cross-platform mobile applications. Many features of HTML5 have been built with the consideration of being able to run on low-powered devices such as smartphones and tablets.&lt;/p&gt;
&lt;p&gt;In particular, HTML5 adds many new syntactical features. These include the new,andelements, as well as the integration of Scalable Vector Graphics (SVG) content that replaces the uses of generic tags and MathML for mathematical formulae.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;&quot; class=&quot;alignright size-full wp-image-264&quot; src=&quot;http://www.ukoln.ac.uk/isc/html5-case-studies/introduction//html/introduction-fig-02.png&quot; title=&quot;HTML5 APIs&quot; /&gt;As illustrated in Figure 2 HTML5 is built on a series of related technologies, which are at different stages of standardisation (see &lt;a href=&quot;#ref-02&quot;&gt;[2]&lt;/a&gt;). These features are designed to make it easy to include and handle multimedia and graphical content on the web without having to resort to proprietary plugins and APIs. Other new elements, such as,,and, are designed to enrich the semantic content of documents. New attributes have been introduced for the same purpose, while some elements and attributes have been removed. Some elements, such as &lt;a&gt;, &lt;cite&gt;and&lt;/cite&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;have been changed, redefined or standardised. The APIs and document object model (DOM) are no longer afterthoughts, but are fundamental parts of the HTML5 specification. HTML5 also defines in some detail the required processing for invalid documents so that syntax errors will be treated uniformly by all conforming browsers and other user agents.&lt;/p&gt;
&lt;h1&gt;3. The Open Web Platform&lt;/h1&gt;
&lt;p&gt;The &lt;strong&gt;Open Web Platform&lt;/strong&gt; (&lt;strong&gt;OWP&lt;/strong&gt;) is the name given to a collection of Web standards which have been developed by the W3C &lt;a href=&quot;#ref-03&quot;&gt;[3]&lt;/a&gt;. The Open Web Platform has been defined as “&lt;em&gt;a platform for innovation, consolidation and cost efficiencies&lt;/em&gt;” &lt;a href=&quot;#ref-04&quot;&gt;[4]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The Open Web Platform covers Web standards such as HTML5, CSS 2.1, CSS3 (including the Selectors, Media Queries, Text, Backgrounds and Borders, Colors, 2D Transformations, 3D Transformations, Transitions, Animations, and Multi-Columns modules), CSS Namespaces, SVG 1.1, MathML 3, WAI-ARIA 1.0, ECMAScript 5, 2D Context, WebGL, Web Storage, Indexed Database API, Web Workers, WebSockets Protocol/API, Geolocation API, Server-Sent Events, Element Traversal, DOM Level 3 Events, Media Fragments, XMLHttpRequest, Selectors API, CSSOM View Module, Cross-Origin Resource Sharing, File API, RDFa, Microdata and WOFF.&lt;/p&gt;
&lt;p&gt;Use of the term Open Web Platform can be helpful in describing developments which make use of standards which complement HTML5.&lt;/p&gt;
&lt;p&gt;The list of Web standards covered by the term provides an indication of the significant developments which are currently taking place which aim to provide much greater and more robust support for use of the Web across a variety of platforms and for a variety of uses.&lt;/p&gt;
&lt;h1&gt;4. Importance to Higher Education&lt;/h1&gt;
&lt;p&gt;The Web became of strategic importance to higher education in the mid 1990s primarily in its role as an informational resource. As the potential of Web became better understood new types of services were developed and the Web is now used to support the key areas of significance to higher educational institutions: teaching and learning and research.&lt;/p&gt;
&lt;p&gt;However although innovative uses of the Web have been seen in these areas, the limitations of Web standards made it difficult and costly to develop highly-interactive cross-platform applications. Such difficulties meant that significant developments in use of the Web to provide applications (as opposed to access to information) was being led to large global companies, with Google&#039;s range of services such as Google Docs providing an example of a widely used Web-based application.&lt;/p&gt;
&lt;p&gt;The experiences gained in developing such Web-based applications led to the evolution of Web standards to support such development work. In addition the growth in popularity of mobile devices led to the development of standards which could be used across multiple types of devices, in addition to the cross-platform independence which allowed Web services to be accessed across desktop PCs running MS Windows, Apple Macintosh or Linux operating systems.&lt;/p&gt;
&lt;p&gt;Developments to the HTML5 standard enable multimedia resources to be embedded in HTML resources as a native resources. In addition developments to related standards, such as SVG (Scalable Vector Graphics) and MathML (the Mathematics Markup Language) together with developments to standards which support programmatic manipulation of objects defined in these markup languages will provide a rich environment for the development of new types of tools and services which will be value to support a range of institutional requirements.&lt;/p&gt;
&lt;p&gt;In addition the support for mobile devices will enable access to this new generation of applications to be provided across a range of mobile devices, including iPhones and iPads, Android devices and smart phones and tablet computers which may use operating systems provided by other vendors.&lt;/p&gt;
&lt;p&gt;In brief the development of HTML5 and the Open Web Platform can provide the following benefits across higher education:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A rich environment for the development of applications which can run in a Web browser.&lt;/li&gt;
&lt;li&gt;A rich environment for the development of applications which can run across a range of platforms and suit the particular requirements of mobile devices.&lt;/li&gt;
&lt;li&gt;A rich environment for defining the structure of scholarly resources, such as research papers, to support more effective processing of the resources.&lt;/li&gt;
&lt;li&gt;A neutral and open environment based on use of open standards which can provide a level playing field for application development.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;5. About the HTML5 Case Studies&lt;/h1&gt;
&lt;p&gt;The HTML5 case studies have been commissioned in order to demonstrate development approaches taking place across the higher education sector by early adopters in order to support a variety of use cases which are particularly relevant in a higher education context.&lt;/p&gt;
&lt;p&gt;The case studies are aimed primarily at developers and technical managers who wish to gain a better understanding of ways in which development approaches based on use of HTML5 and Open Web Platform can be used.&lt;/p&gt;
&lt;p&gt;Whilst the examples described in the case studies are being used across a number of higher educational institutions we appreciate that not all institutions will wish to make use of the approaches described in the case studies - in particular we recognise that institutions may not have the development and support expertise to emulate the approaches described in the following documents. However increasingly we are seeing commercial vendors making use of HTML5 in new versions of their products. This suggests vendor support for HTML5 may be a relevant factor that in the procurement of new applications.&lt;/p&gt;
&lt;h1&gt;6. Summary of the HTML5 Case Studies&lt;/h1&gt;
&lt;p&gt;The HTML5 case studies included in this work are summarised below:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Case Study 1: &lt;strong&gt;Semantics and Metadata: Machine-Understandable Documents&lt;/strong&gt; by Sam Adams&lt;/li&gt;
&lt;li&gt;Case Study 2: &lt;strong&gt;CWD: The Common Web Design&lt;/strong&gt; by Alex Bilbie:&lt;/li&gt;
&lt;li&gt;Case Study 3: &lt;strong&gt;Re-Implementation of the Maavis Assistive Technology Using HTML5&lt;/strong&gt; by Steve Lee&lt;/li&gt;
&lt;li&gt;Case Study 4: &lt;strong&gt;Visualising Embedded Metadata&lt;/strong&gt; by Mark MacGillivray&lt;/li&gt;
&lt;li&gt;Case Study 5: &lt;strong&gt;The HTML5-Based e-Lecture Framework&lt;/strong&gt; by Qingqi Wang&lt;/li&gt;
&lt;li&gt;Case Study 6: &lt;strong&gt;3Dactyl: Using WebGL to Represent Human Movement in 3D&lt;/strong&gt; by Stephen Gray&lt;/li&gt;
&lt;li&gt;Case Study 7: &lt;strong&gt;Challenging the Tyranny of Citation Formats: Automated Citation Formatting&lt;/strong&gt; by Peter Sefton&lt;/li&gt;
&lt;li&gt;Case Study 8: &lt;strong&gt;Conventions and Guidelines for Scholarly HTML5 Documents&lt;/strong&gt; by Peter Sefton&lt;/li&gt;
&lt;li&gt;Case Study 9: &lt;strong&gt;WordDown: A Word-to-HTML5 Conversion Tool&lt;/strong&gt; by Peter Sefton&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Semantics and Metadata: Machine-Understandable Documents:&lt;/strong&gt; Case study 1 describes how embedding machine-understandable metadata into researchers&#039; Web sites can help to enhance researchers&#039; reputation by making their research outputs more visible, easier to discover and increasing their use.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;CWD: The Common Web Design:&lt;/strong&gt; Case study 2 describes the Common Web Design (CWD): the interface for the University of Lincoln’s online services. Developed with HTML5 and CSS3 technologies, the University of Lincoln&#039;s Common Web Design enables rapid development of attractive, interactive and modern Web sites.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Re-Implementation of the Maavis Assistive Technology Using HTML5&lt;/strong&gt;: Case study 3 is aimed at those interested in applications that provide alternative or innovative user experiences using HTML5 Web applications. The focus is on assistive technology which is designed to enable wider access to media, apps and other online technology. This access may be for users who have varying access requirements, such as older users or those with physical or cognitive impairment. Alternatively it may be for use in environments that require alternative interaction styles, for example in bright light or with restricted access to a mobile device.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Visualising Embedded Metadata:&lt;/strong&gt; Case study 4 addresses ways of enhancing the dissemination and discoverability of research outputs. Having achieved success in making bibliographic metadata available on a large scale there is now a need to demonstrate ways for individuals and small groups to interact easily and usefully with the data, in order to show the benefit of open bibliography and open publishing in general. This case study describes how HTML5 and related Open Web Platform standards such as JavaScript, DOM and SVG can be used to provide visualisations of embedded metadata.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The HTML5-Based e-Lecture Framework:&lt;/strong&gt; Case study 5 focuses on providing a solution to allow e-lecture creators to convert their Microsoft PowerPoint presentations into online lectures in a simple and quick fashion. The resulting e-lecture can be easily deployed on an existing Web server and delivered to both desktop and mobile platforms.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3Dactyl: Using WebGL to Represent Human Movement in 3D:&lt;/strong&gt; Case study 6 covers the development of 3Dactyl, a hardware and software configuration, which is intended to record and represent the physical movements of an individual online in three dimensions, for scholarly research purposes. Resulting 3D scenes (as an XML document) are embeddable within a standard Web page or VLE. Examples of such 3D footage might be various forms of performance art, e.g. dance, drama or even sport where the performance of play strokes can be carefully analysed. Within the same constraints of space, surgical or therapeutic procedures would be another feasible use. When such scenes are viewed on future versions of browsers, they will not, typically, require special plug-ins to use the 3D footage interactively&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Challenging the Tyranny of Citation Formats: Automated Citation Formatting&lt;/strong&gt;: Case study 7 looks at how citations and reference lists can be represented in HTML5 in two ways; firstly with reference information supplied in-page and secondly using URIs that point to trusted bibliographic data stores. The end goal is to automate as much of the citation and reference management experience as possible at all stages of the academic workflow, from research to authoring, to publishing to citation analysis, generation of metrics and machine processing of data.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Conventions and Guidelines for Scholarly HTML5 Documents&lt;/strong&gt;: Case study 8 looks at the fundamentals of using HTML5 for scholarly documents of all kinds, particularly theses and courseware documents (with application to journal articles as well), but with an eye on a much broader spectrum of resources, including those which are the subject of other case studies in this project such as slide presentations. It will aim to establish the basic structural and semantic building blocks for how resources should be marked up for the Web, to increase their utility for people and machines, as well as help to ensure they can be preserved effectively.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;WordDown: A Word-to-HTML5 Conversion Tool&lt;/strong&gt;: Case study 9 examines ways that academic authors working with word processors such as Microsoft Word, the OpenOffice.org family and Google Docs would be able to produce compliant Scholarly HTML5.&lt;/p&gt;
&lt;h1&gt;References&lt;/h1&gt;
&lt;p&gt;&lt;a name=&quot;ref-01&quot;&gt;&lt;/a&gt;[1] &lt;em&gt;HTML5&lt;/em&gt;, Wikipedia, &amp;lt;&lt;a href=&quot;http://en.wikipedia.org/wiki/HTML5&quot; rel=&quot;noreferrer&quot;&gt;http://en.wikipedia.org/wiki/HTML5&lt;/a&gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;a name=&quot;ref-02&quot;&gt;&lt;/a&gt;[2] &lt;em&gt;Sergey’s HTML5 &amp;amp; CSS3 Quick Reference. 2nd Edition&lt;/em&gt;, Sergey Mavrody, ISBN &lt;a href=&quot;http://en.wikipedia.org/wiki/Special:BookSources/9780983386728&quot; rel=&quot;noreferrer&quot;&gt;978-0-9833867-2-8&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a name=&quot;ref-03&quot;&gt;&lt;/a&gt;[3] &lt;em&gt;Open Web Platform&lt;/em&gt;, Wikipedia, &amp;lt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Open_Web_Platform&quot; rel=&quot;noreferrer&quot;&gt;http://en.wikipedia.org/wiki/Open_Web_Platform&lt;/a&gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;a name=&quot;ref-04&quot;&gt;&lt;/a&gt;[4] Jeffe Jappe, W3C CEO quoted in &amp;lt;&lt;a href=&quot;http://www.w3.org/2001/tag/doc/IAB_Prague_2011_slides.html&quot; rel=&quot;noreferrer&quot;&gt;http://www.w3.org/2001/tag/doc/IAB_Prague_2011_slides.html&lt;/a&gt;&amp;gt;&lt;/p&gt;
</description>
     <comments>http://technicalfoundations.ukoln.ac.uk/technical/html5-case-studies-introduction#comments</comments>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/persons/alex-bilbie">alex bilbie</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/persons/brian-kelly">brian kelly</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/persons/mark-macgillivray">mark macgillivray</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/persons/peter-sefton">peter sefton</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/persons/qingqi-wang">qingqi wang</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/persons/sam-adams">sam adams</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/persons/stephen-gray">stephen gray</category>
 <category domain="http://technicalfoundations.ukoln.ac.uk/overview/topics/html5">HTML5</category>
 <pubDate>Mon, 16 Jul 2012 11:59:11 +0000</pubDate>
 <dc:creator>Administrator</dc:creator>
 <guid isPermaLink="false">80 at http://technicalfoundations.ukoln.ac.uk</guid>
  </item>
  </channel>
</rss>