Open ppKrauss opened 9 years ago
@ppKrauss Can you provide concrete examples of semantic markup that needs to be added to the output HTML?
@hubgit , aff and contrib semantic can be translated/mapped to Schema.org markup, using for example, Organization and Person classes.
PS: there are many standard HTML5 usual semantic that can be also mapped (ex. JATS <abbrev>
is the HTML5's <abbr>
).
aff and contrib semantic can be translated/mapped to Schema.org markup, using for example, Organization and Person classes.
Those are already being used here - are there any that are missing?
(ops, sorry sending a correct comment now) I cited jats-to-html.xsl as example, but I think we can improve your jats-to-html with a lot more little semantic enhancements... It will be time consuming, but if you approve I can plane a first try, a draft to submit here.
@ppKrauss Maybe you could suggest one enhancement that's missing, as a start?
@hubgit See a list of XPaths here, as showed before... Each XPath can be implemented as a itemscope
/itemtype
as you do with schema.org 3 examples at jats-to-html.
I can implement some XPath samples into your jats-to-html XSLT to a "complete example"... At the next weekend.
@ppKrauss Which of those is not currently implemented here?
@hubgit I am checking... Well done (!), I not see before all the included XSLTs. You do a lot of semantic, and we can "look for more with a magnifying glass" later... We can improve the spreadsheet, to catalog all implemented semantics, facilitating reviews and new issues.
//collab
use itemprop="name", but can be "legalName" or use https://schema.org/Organization
//issn
//issn-l
need itemprop="issn", see https://schema.org/issn
//isbn
need https://schema.org/isbn
... I can check some more, later... Let's standardize a spreadsheet.
//ref-list/ref
//ref-list/ref[element-citation/@publication-type = 'journal']
//ref-list/ref[element-citation/@publication-type = 'book']
itemprop of http://schema.org/ScholarlyArticle and http://schema.org/Book
//front//article-title
itemprop of http://schema.org/ScholarlyArticle
//given-names itemprop="givenName"
//surname itemprop="familyName"
/article/front/article-meta/article-id[@pub-id-type='doi']
itemprop="sameAs"
//aff itemscope="itemscope" itemtype="http://schema.org/Organization"
// ... ....
We not need to restrict the itemtype
attribute to SchemaOrg ones, the rule of thumb for ref semantics may be:
Perhaps the (simplest and) best way to improve JATS with formal semantic is to use http://www.w3.org/TR/sawsdl/ at the JATS XSD, extending it... But I never used sawsdl, and not see initiatives.
By other hand, this jats-conversion project have the jats-to-html.xsl with a Microdata semantic iniciative(!). In the context of https://github.com/JATS4R/elements/issues/97 it is possible to discuss (looking for community consensus) and improve semantic description of HTML content.
... How to, discuss and collaborate in "Improve semantic" initiative? It is not so easy neither obvious, here a methodological suggestion:
jats-to-html
the consensual semantic.