From 846b0e36136e5af6c13faad62e7574a71ea31b06 Mon Sep 17 00:00:00 2001 From: Hector Castro Date: Mon, 9 Nov 2015 11:05:39 -0600 Subject: [PATCH] Bug 15170 - Add 264 field to MARC21*DC.xsl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modify MARC21*DC.xsl to add RDA 264 field To test: - Copy from LOC z39.50 the Maxwell's handbook for RDA (ISBN 9780838911723) - Look the field 264 in framework, save record - Open this URL in OPAC /cgi-bin/koha/unapi?id=koha:biblionumber:41201&format=marcxml And play with id (the number of new record for Maxwell book) & format parameters Test format=rdfdc, format=srw_dc and format=oai_dc - Notice that and are not present - Apply this patch - Reload the URL for the three formats - You will see the tags publisher and date are taken from 264 Signed-off-by: Frédéric Demians --- koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl | 14 ++++++++++++++ koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2OAIDC.xsl | 12 ++++++++++++ koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl | 14 ++++++++++++++ koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2SRWDC.xsl | 12 ++++++++++++ 4 files changed, 52 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl index a9fa440..ade69de 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl @@ -77,6 +77,20 @@ + + + + ab + + + + + + + + + + diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2OAIDC.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2OAIDC.xsl index 291ab06..36ba41f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2OAIDC.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2OAIDC.xsl @@ -85,6 +85,18 @@ + + + + ab + + + + + + + + diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl index 32b71d5..922605b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl @@ -72,6 +72,20 @@ + + + + ab + + + + + + + + + + diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2SRWDC.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2SRWDC.xsl index e01e38c..009d8b1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2SRWDC.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2SRWDC.xsl @@ -89,6 +89,18 @@ + + + + ab + + + + + + + + -- 2.6.2