Hi Sebastian,
Great to see such quick progress on this!
I have some responses, but maybe we should fork this into a thread
mailing those who expressed interest in the topic?
Best wishes,
Brett
On 6/22/2011 4:59 AM, Sebastian Rahtz wrote:
> Stimulated by Brett Zamir's postings, I set myself the challenge this week of adding
> an HTML5+microdata output channel to my TEI stylesheets. I thought some
> folks might like to wade in even at a very preliminary stage. If you want
> to come back when its all finished, you can stop reading now :-}
>
> It would be very interesting to hear of other peoples work in this
> area.
>
> There are two parts to the problem
>
> 1. following the HTML5 rules instead of XHTML
> 2. adding the microdata "goodness"
>
> Part 1 is turned on in my family by setting
> a parameter $outputTarget to 'html5' (see profiles/default/htm5/to.xsl), and part 2 is implemented
> by including some extra stylesheets in an html5 directory. At various points
> in the main stylesheets I do a<xsl:call-template name="microdata"/> which
> is where one does the additions.
>
> my test file is http://tei.svn.sourceforge.net/viewvc/tei/trunk/Stylesheets/Test2/test5.xml?revision=8984&view=markup,
> transformed version at http://tei.oucs.ox.ac.uk/test5.html
>
> This is all visible at http://tei.svn.sourceforge.net/viewvc/tei/trunk/Stylesheets/
> and points south for those interested.
>
> My next priority is seeing if I can implement epub3
>
> PS For the record, I personally think both html5 and microdata are
> inventions of the devil, maliciously throwing away lots of
> good things from the last decade, but hey ho, that's what
> we have to live with.
>
> --
> Sebastian Rahtz
> Head of Information and Support Group, Oxford University Computing Services
> 13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
>
> Sólo le pido a Dios
> que el futuro no me sea indiferente
>
|