From 4b227112da47aacc73d701c6ef93fcad83a538df 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 Content-Type: text/plain; charset="UTF-8" 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 --- .../authorities/authority-zebra-indexdefs.xsl | 8 +++++--- .../marc_defs/marc21/authorities/record.abs | 8 ++++++++ .../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 aa02e70..6315316 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 23d75a2..c503847 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 c8e4fde..4918719 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 b61903f..555b1df 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 -- 1.7.2.5