From 1f88669152f44eda98512cedec6c30c37e5ece23 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 6 Apr 2012 11:26:12 -0400 Subject: [PATCH] Bug 7818: add warning about not editing record.abs when using DOM filter This commit also updates the authority and biblio DOM indexing definition XSL to include updated header comments. Signed-off-by: Galen Charlton Signed-off-by: Jared Camins-Esakov Signed-off-by: Paul Poulain --- .../marc21/authorities/authority-zebra-indexdefs.xsl | 8 +++++--- etc/zebradb/marc_defs/marc21/authorities/record.abs | 8 ++++++++ .../marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl | 6 +++--- etc/zebradb/marc_defs/marc21/biblios/record.abs | 8 ++++++++ 4 files changed, 24 insertions(+), 6 deletions(-) diff --git a/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl index aa02e70292..631531633a 100644 --- a/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl +++ b/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl @@ -3,14 +3,15 @@ This file has been automatically generated from a Koha index definition file with the stylesheet koha-indexdefs-to-zebra.xsl. Do not manually edit this file, as it may be overwritten. To regenerate, edit the appropriate Koha index -definition file (probably something like authority-koha-indexdefs.xml) and run: -`xsltproc koha-indexdefs-to-zebra.xsl authority-koha-indexdefs.xml > -authority-zebra-indexdefs.xsl` (substituting the appropriate file names). +definition file (probably something like {biblio,authority}-koha-indexdefs.xml) and run: +`xsltproc koha-indexdefs-to-zebra.xsl {biblio,authority}-koha-indexdefs.xml > +{biblio,authority}-zebra-indexdefs.xsl` (substituting the appropriate file names). --> + @@ -32,6 +33,7 @@ authority-zebra-indexdefs.xsl` (substituting the appropriate file names). + diff --git a/etc/zebradb/marc_defs/marc21/authorities/record.abs b/etc/zebradb/marc_defs/marc21/authorities/record.abs index 23d75a2fda..c50384709a 100644 --- a/etc/zebradb/marc_defs/marc21/authorities/record.abs +++ b/etc/zebradb/marc_defs/marc21/authorities/record.abs @@ -1,3 +1,11 @@ +# +# NOTE: If you are using the DOM index filter, this configuration file is +# *not* used. To update the index definitions for the DOM filter, +# edit authority-koha-indexdefs.xml and run +# xsltproc ../../../xsl/koha-indexdefs-to-zebra.xsl \ +# authority-koha-indexdefs.xml \ +# > authority-zebra-indexdefs.xsl +# # This is a fairly simple set of MARC21 Authority indexing rules encoding utf-8 name authorities diff --git a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl index c8e4fde803..491871935e 100644 --- a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl +++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl @@ -3,9 +3,9 @@ This file has been automatically generated from a Koha index definition file with the stylesheet koha-indexdefs-to-zebra.xsl. Do not manually edit this file, as it may be overwritten. To regenerate, edit the appropriate Koha index -definition file (probably something like authority-koha-indexdefs.xml) and run: -`xsltproc koha-indexdefs-to-zebra.xsl authority-koha-indexdefs.xml > -authority-zebra-indexdefs.xsl` (substituting the appropriate file names). +definition file (probably something like {biblio,authority}-koha-indexdefs.xml) and run: +`xsltproc koha-indexdefs-to-zebra.xsl {biblio,authority}-koha-indexdefs.xml > +{biblio,authority}-zebra-indexdefs.xsl` (substituting the appropriate file names). --> diff --git a/etc/zebradb/marc_defs/marc21/biblios/record.abs b/etc/zebradb/marc_defs/marc21/biblios/record.abs index b61903f321..c4a95da9d5 100644 --- a/etc/zebradb/marc_defs/marc21/biblios/record.abs +++ b/etc/zebradb/marc_defs/marc21/biblios/record.abs @@ -1,3 +1,11 @@ +# +# NOTE: If you are using the DOM index filter, this configuration file is +# *not* used. To update the index definitions for the DOM filter, +# edit biblio-koha-indexdefs.xml and run +# xsltproc ../../../xsl/koha-indexdefs-to-zebra.xsl \ +# biblio-koha-indexdefs.xml \ +# > biblio-zebra-indexdefs.xsl +# # This is a fairly simple example of a set of MARC21 indexing rules. It # results in a server which provides a passable Bath level 0 and 1 service # (author, title, subject, keyword and exact services). Feel free to -- 2.39.5