Bugzilla – Attachment 8974 Details for
Bug 7818
support DOM mode for Zebra indexing of bibliographic records
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7818: add warning about not editing record.abs when using DOM filter
Bug-7818-add-warning-about-not-editing-recordabs-w.patch (text/plain), 5.81 KB, created by
Jared Camins-Esakov
on 2012-04-06 16:28:47 UTC
(
hide
)
Description:
Bug 7818: add warning about not editing record.abs when using DOM filter
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2012-04-06 16:28:47 UTC
Size:
5.81 KB
patch
obsolete
>From 4b227112da47aacc73d701c6ef93fcad83a538df Mon Sep 17 00:00:00 2001 >From: Galen Charlton <gmc@esilibrary.com> >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 <gmc@esilibrary.com> >Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> >--- > .../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). > --> > <xslo:stylesheet xmlns:xslo="http://www.w3.org/1999/XSL/Transform" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:z="http://indexdata.com/zebra-2.0" xmlns:kohaidx="http://www.koha-community.org/schemas/index-defs" version="1.0"> > <xslo:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/> > <xslo:template match="text()"/> > <xslo:template match="text()" mode="index_subfields"/> >+ <xslo:template match="text()" mode="index_data_field"/> > <xslo:template match="text()" mode="index_heading"/> > <xslo:template match="text()" mode="index_match_heading"/> > <xslo:template match="text()" mode="index_subject_thesaurus"/> >@@ -32,6 +33,7 @@ authority-zebra-indexdefs.xsl` (substituting the appropriate file names). > </xslo:attribute> > <xslo:apply-templates/> > <xslo:apply-templates mode="index_subfields"/> >+ <xslo:apply-templates mode="index_data_field"/> > <xslo:apply-templates mode="index_heading"/> > <xslo:apply-templates mode="index_match_heading"/> > <xslo:apply-templates mode="index_subject_thesaurus"/> >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). > --> > <xslo:stylesheet xmlns:xslo="http://www.w3.org/1999/XSL/Transform" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:z="http://indexdata.com/zebra-2.0" xmlns:kohaidx="http://www.koha-community.org/schemas/index-defs" version="1.0"> > <xslo:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7818
:
8965
|
8966
|
8967
|
8968
|
8969
|
8970
|
8971
|
8972
|
8973
|
8974
|
8982
|
9798
|
9968
|
10560
|
10617