From 381f9922e05a15bdf75baf0dc014b3aa51c3096c Mon Sep 17 00:00:00 2001 From: Inigo Date: Thu, 29 Nov 2018 07:55:47 +0000 Subject: [PATCH 1/8] Initial support for BITS --- JATS2CrossRef_web.xsl | 129 ++++++++++++++++++++++++++++++++---------- 1 file changed, 99 insertions(+), 30 deletions(-) diff --git a/JATS2CrossRef_web.xsl b/JATS2CrossRef_web.xsl index fb8fbb2..0492a2b 100644 --- a/JATS2CrossRef_web.xsl +++ b/JATS2CrossRef_web.xsl @@ -47,36 +47,105 @@ - - - - - http://www.crossref.org/schema/4.3.6 - http://www.crossref.org/schema/deposit/crossref4.3.6.xsd - - - - - - - - - - - - - - - - - - - - - - - - + + + + Unrecognized content type - must be book or article + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="normalize-space(.)"/> + + + + + + + + + + + + + + + + + From 9cc2ab4a3bf14987a77cbb38e5bbf137df0d953d Mon Sep 17 00:00:00 2001 From: Inigo Date: Fri, 30 Nov 2018 08:53:15 +0000 Subject: [PATCH 2/8] Find the DOI batch ID via a function, rather than a big xsl:choose. At present, this just makes the "head" generation code a bit shorter and simpler - but the main advantage is that it also enables this to be reused by BITS code once it's in. --- JATS2CrossRef_web.xsl | 113 ++++++++++++++---------------------------- 1 file changed, 38 insertions(+), 75 deletions(-) diff --git a/JATS2CrossRef_web.xsl b/JATS2CrossRef_web.xsl index fb8fbb2..0703f43 100644 --- a/JATS2CrossRef_web.xsl +++ b/JATS2CrossRef_web.xsl @@ -23,8 +23,9 @@ xmlns="http://www.crossref.org/schema/4.3.6" xmlns:xsldoc="http://www.bacman.net/XSLdoc" xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:fr="http://www.crossref.org/fundref.xsd" - xmlns:ai="http://www.crossref.org/AccessIndicators.xsd" + xmlns:fr="http://www.crossref.org/fundref.xsd" + xmlns:ai="http://www.crossref.org/AccessIndicators.xsd" + xmlns:jatsFn="http://www.crossref.org/functions/jats" exclude-result-prefixes="xsldoc"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No article-id has been entered by user - - - - - - - - - - - - - - Publisher's Name not found in the input file - - - - - - - - - - NO e-mail address has been entered by the user - - + + No article-id has been entered by user + Publisher's Name not found in the input file + NO e-mail address has been entered by the user + + + + + + + + + + + + + - - - - - - - - - - - Publisher's name not found in the input file - - - - + + + + + + + + + + + From 1325b3ac27c6e01553e40ea48b87adef4cf752b8 Mon Sep 17 00:00:00 2001 From: Inigo Date: Fri, 30 Nov 2018 21:50:18 +0000 Subject: [PATCH 3/8] Create the head, when using BITS --- JATS2CrossRef_web.xsl | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/JATS2CrossRef_web.xsl b/JATS2CrossRef_web.xsl index e3b5e8c..16f952e 100644 --- a/JATS2CrossRef_web.xsl +++ b/JATS2CrossRef_web.xsl @@ -83,9 +83,7 @@ - - - + @@ -99,6 +97,34 @@ + + + + No batch id has been entered by user + Publisher's Name not found in the input file + NO e-mail address has been entered by the user + + + + + + + + + + + + + + + + + + + + + + @@ -157,7 +183,7 @@ NO e-mail address has been entered by the user - + From 97671b771add2295831f7fce64482144d3643d43 Mon Sep 17 00:00:00 2001 From: Inigo Date: Sat, 1 Dec 2018 14:33:47 +0000 Subject: [PATCH 4/8] Include "free to read" access indicator, and use license details passed in from meta --- JATS2CrossRef_web.xsl | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/JATS2CrossRef_web.xsl b/JATS2CrossRef_web.xsl index fb8fbb2..d595534 100644 --- a/JATS2CrossRef_web.xsl +++ b/JATS2CrossRef_web.xsl @@ -23,8 +23,9 @@ xmlns="http://www.crossref.org/schema/4.3.6" xmlns:xsldoc="http://www.bacman.net/XSLdoc" xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:fr="http://www.crossref.org/fundref.xsd" - xmlns:ai="http://www.crossref.org/AccessIndicators.xsd" + xmlns:fr="http://www.crossref.org/fundref.xsd" + xmlns:ai="http://www.crossref.org/AccessIndicators.xsd" + xmlns:jatsFn="http://www.crossref.org/functions/jats" exclude-result-prefixes="xsldoc"> - - + + @@ -719,14 +720,32 @@ + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + From 2af4f9c43171543326b603325673ae7321f74959 Mon Sep 17 00:00:00 2001 From: Inigo Date: Sat, 1 Dec 2018 14:43:21 +0000 Subject: [PATCH 5/8] Add access indicators to books --- JATS2CrossRef_web.xsl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/JATS2CrossRef_web.xsl b/JATS2CrossRef_web.xsl index c4d5a3b..baceaf4 100644 --- a/JATS2CrossRef_web.xsl +++ b/JATS2CrossRef_web.xsl @@ -140,7 +140,9 @@ - + + + From 0e8eb72e7053192af30306045cdf19b98dfb2499 Mon Sep 17 00:00:00 2001 From: Inigo Date: Sat, 1 Dec 2018 17:15:00 +0000 Subject: [PATCH 6/8] Manage TDM and iParadigms via functions, with the TDM formats specified within the meta file - so it can be customized per publisher, and so the functions can be shared when processing BITS --- JATS2CrossRef_web.xsl | 108 ++++++++++++++---------------------------- 1 file changed, 35 insertions(+), 73 deletions(-) diff --git a/JATS2CrossRef_web.xsl b/JATS2CrossRef_web.xsl index fb8fbb2..d83efb8 100644 --- a/JATS2CrossRef_web.xsl +++ b/JATS2CrossRef_web.xsl @@ -23,8 +23,9 @@ xmlns="http://www.crossref.org/schema/4.3.6" xmlns:xsldoc="http://www.bacman.net/XSLdoc" xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:fr="http://www.crossref.org/fundref.xsd" - xmlns:ai="http://www.crossref.org/AccessIndicators.xsd" + xmlns:fr="http://www.crossref.org/fundref.xsd" + xmlns:ai="http://www.crossref.org/AccessIndicators.xsd" + xmlns:jatsFn="http://www.crossref.org/functions/jats" exclude-result-prefixes="xsldoc"> - - - - - @@ -365,21 +361,10 @@ - - - - - - - - - - No Resource entry has been entered by the user - - - - - + + + + @@ -796,65 +781,42 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + pdf,xml,html + + + + + + + + + + + + + + + - + - + + + + - - - - - - - - + - +