[EP-tech] Change from XHTML1.0 Transitional to HTML5

jens.vieler at id.uzh.ch jens.vieler at id.uzh.ch
Wed Nov 16 14:40:06 GMT 2016

Hi List,

after grabbing a little bit of code, opening a supportcase @eprints and
reading a lot of stuff, i'm a little bit confused. We changed from XHTML1.0
Transitional to HTML5 (bootstrap) and wand to offer validated
HTML-output ...of course!
So it's not only in your template, there are a lot of changes todo.

1.) build a new Header out of HTML instead of XHTML1.0 Transitional

a) change cfg/lang/de|en/templates/default.xml
b) change perl_lib/EPrints/XHTML.pm oder perl_lib/EPrints/XML.pm
c) find an obvious trick, to let eprints NOT check its own templates
against W3Cs DTDs (however, support case is opened)

2.) perl_lib/EPrints/XHTML.pm would no longer be XMTML - we have to rebuild
it to include some HTML5 rules.

For example including javascript:
  vs. https://www.w3.org/TR/html5/scripting-1.html - some of the rules
changed around comments, newline etc.

So here is my question: Is there anybody who changed
perl_lib/EPrints/XHTML.pm or built a new HTML5.pm?


Jens Vieler
Zentrale Informatik
Universität Zürich
Stampfenbachstrasse 73
CH-8006 Zürich

mail:  jens.vieler at id.uzh.ch
phone: +41 44 63 56777
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20161116/8dc366a6/attachment.html 

More information about the Eprints-tech mailing list