From a4aa2fd5edccbafeb5b91de3ff63e965a7e2639f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 24 Apr 2014 13:00:34 +0200 Subject: [PATCH] XSL files in separate directory; remove some un-maintained XSLs --- Makefile.am | 2 +- debian/rules | 2 +- etc/MarcXML2TurboMarc.xsl | 82 ---- etc/cf.xsl | 128 ------- etc/dads-pz2.xsl | 232 ------------ etc/danmarc2.xsl | 261 ------------- etc/dc.xsl | 84 ----- etc/dkabm.xsl | 102 ----- etc/marc21-ourl.xsl | 23 -- etc/marc21.xsl | 467 ----------------------- etc/marc22.xsl | 306 --------------- etc/oai_dc.xsl | 82 ---- etc/opac.xsl | 51 --- etc/opac_turbomarc.xsl | 50 --- etc/pazpar2.cfg.dist | 3 +- etc/perf_server.cfg | 1 + etc/pp2out-to-carrot2.xsl | 25 -- etc/primo-pz2.xsl | 189 ---------- etc/pz2-ourl-base.xsl | 169 --------- etc/pz2-ourl-marc21.xsl | 97 ----- etc/pz2-solr.xsl | 25 -- etc/server.xml | 2 +- etc/solr-pz2.xsl | 78 ---- etc/tmarc.xsl | 829 ----------------------------------------- etc/unimarc.xsl | 98 ----- etc/usmarc.xsl | 12 - etc/xsl/MarcXML2TurboMarc.xsl | 82 ++++ etc/xsl/cf.xsl | 128 +++++++ etc/xsl/danmarc2.xsl | 261 +++++++++++++ etc/xsl/dc.xsl | 84 +++++ etc/xsl/dkabm.xsl | 102 +++++ etc/xsl/marc21-ourl.xsl | 23 ++ etc/xsl/marc21.xsl | 467 +++++++++++++++++++++++ etc/xsl/oai_dc.xsl | 82 ++++ etc/xsl/opac.xsl | 51 +++ etc/xsl/opac_turbomarc.xsl | 50 +++ etc/xsl/pp2out-to-carrot2.xsl | 25 ++ etc/xsl/primo-pz2.xsl | 189 ++++++++++ etc/xsl/pz2-ourl-base.xsl | 169 +++++++++ etc/xsl/pz2-ourl-marc21.xsl | 97 +++++ etc/xsl/solr-pz2.xsl | 78 ++++ etc/xsl/tmarc.xsl | 829 +++++++++++++++++++++++++++++++++++++++++ etc/xsl/unimarc.xsl | 98 +++++ pazpar2.spec | 2 +- 44 files changed, 2822 insertions(+), 3395 deletions(-) delete mode 100644 etc/MarcXML2TurboMarc.xsl delete mode 100644 etc/cf.xsl delete mode 100644 etc/dads-pz2.xsl delete mode 100644 etc/danmarc2.xsl delete mode 100644 etc/dc.xsl delete mode 100644 etc/dkabm.xsl delete mode 100644 etc/marc21-ourl.xsl delete mode 100644 etc/marc21.xsl delete mode 100644 etc/marc22.xsl delete mode 100644 etc/oai_dc.xsl delete mode 100644 etc/opac.xsl delete mode 100644 etc/opac_turbomarc.xsl delete mode 100644 etc/pp2out-to-carrot2.xsl delete mode 100644 etc/primo-pz2.xsl delete mode 100644 etc/pz2-ourl-base.xsl delete mode 100644 etc/pz2-ourl-marc21.xsl delete mode 100644 etc/pz2-solr.xsl delete mode 100644 etc/solr-pz2.xsl delete mode 100644 etc/tmarc.xsl delete mode 100644 etc/unimarc.xsl delete mode 100644 etc/usmarc.xsl create mode 100644 etc/xsl/MarcXML2TurboMarc.xsl create mode 100644 etc/xsl/cf.xsl create mode 100644 etc/xsl/danmarc2.xsl create mode 100644 etc/xsl/dc.xsl create mode 100644 etc/xsl/dkabm.xsl create mode 100644 etc/xsl/marc21-ourl.xsl create mode 100644 etc/xsl/marc21.xsl create mode 100644 etc/xsl/oai_dc.xsl create mode 100644 etc/xsl/opac.xsl create mode 100644 etc/xsl/opac_turbomarc.xsl create mode 100644 etc/xsl/pp2out-to-carrot2.xsl create mode 100644 etc/xsl/primo-pz2.xsl create mode 100644 etc/xsl/pz2-ourl-base.xsl create mode 100644 etc/xsl/pz2-ourl-marc21.xsl create mode 100644 etc/xsl/solr-pz2.xsl create mode 100644 etc/xsl/tmarc.xsl create mode 100644 etc/xsl/unimarc.xsl diff --git a/Makefile.am b/Makefile.am index 02c2225..e894cf2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,7 +10,7 @@ EXTRA_DIST = $(PACKAGE).spec IDMETA README NEWS LICENSE m4/id-config.sh \ dist-hook: if test -x /usr/bin/git -a -d .git; then git log >ChangeLog ; cp ChangeLog $(distdir); fi - for d in etc etc/settings etc/services www/test1 www/jsdemo; do \ + for d in etc etc/xsl etc/settings etc/services www/test1 www/jsdemo; do \ mkdir -p $(distdir)/$$d; cp -r $$d/* $(distdir)/$$d; \ done; rm -f $(distdir)/etc/pazpar2.cfg; exit 0 mkdir $(distdir)/rpm diff --git a/debian/rules b/debian/rules index e460465..1baae7e 100755 --- a/debian/rules +++ b/debian/rules @@ -24,7 +24,7 @@ override_dh_auto_install: cp etc/services/*.xml debian/pazpar2/etc/pazpar2/services-available cp etc/settings/*.xml debian/pazpar2/etc/pazpar2/settings/ cp -r etc/settings/mkc debian/pazpar2/etc/pazpar2/settings - cp etc/*.xsl debian/pazpar2/etc/pazpar2/ + cp -r etc/xsl debian/pazpar2/etc/pazpar2 # pazpar2-apache2 package cp debian/ap2pazpar2.cfg debian/pazpar2-apache2/etc/pazpar2 # pazpar2-test1 package diff --git a/etc/MarcXML2TurboMarc.xsl b/etc/MarcXML2TurboMarc.xsl deleted file mode 100644 index 566fe03..0000000 --- a/etc/MarcXML2TurboMarc.xsl +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/cf.xsl b/etc/cf.xsl deleted file mode 100644 index 7796273..0000000 --- a/etc/cf.xsl +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/dads-pz2.xsl b/etc/dads-pz2.xsl deleted file mode 100644 index 09286ea..0000000 --- a/etc/dads-pz2.xsl +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - e-article - - - article - - - other - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Vol. , - - - - no. - - - No. - - - - ( - - - - Jan. - - - Feb. - - - Mar. - - - Apr. - - - May - - - June - - - July - - - Aug. - - - Sept. - - - Oct. - - - Nov. - - - Dec. - - - - - - - ) - - , p. - - - - - - - - - - - - - - - - - - - - - - - - - - - http://dx.doi.org/ - - - - - - - - - - - - - - - - - diff --git a/etc/danmarc2.xsl b/etc/danmarc2.xsl deleted file mode 100644 index 7e595b1..0000000 --- a/etc/danmarc2.xsl +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - electronic resource - - - electronic resource - - - electronic resource - - - article - - - book - - - - - - - title - - author - - medium - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/dc.xsl b/etc/dc.xsl deleted file mode 100644 index d9ae36d..0000000 --- a/etc/dc.xsl +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/dkabm.xsl b/etc/dkabm.xsl deleted file mode 100644 index ca135b6..0000000 --- a/etc/dkabm.xsl +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/marc21-ourl.xsl b/etc/marc21-ourl.xsl deleted file mode 100644 index 804c153..0000000 --- a/etc/marc21-ourl.xsl +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - Our hook - - - - - - - - diff --git a/etc/marc21.xsl b/etc/marc21.xsl deleted file mode 100644 index e7bee0c..0000000 --- a/etc/marc21.xsl +++ /dev/null @@ -1,467 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - electronic resource - - - electronic resource - - - article - - - book - - - - - - - - yes - - - yes - - - no - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/marc22.xsl b/etc/marc22.xsl deleted file mode 100644 index 02e34e0..0000000 --- a/etc/marc22.xsl +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - electronic resource - - - electronic resource - - - article - - - book - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/oai_dc.xsl b/etc/oai_dc.xsl deleted file mode 100644 index 36757cc..0000000 --- a/etc/oai_dc.xsl +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/opac.xsl b/etc/opac.xsl deleted file mode 100644 index dd5c789..0000000 --- a/etc/opac.xsl +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - Available - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/opac_turbomarc.xsl b/etc/opac_turbomarc.xsl deleted file mode 100644 index 98f33b7..0000000 --- a/etc/opac_turbomarc.xsl +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - Available - - - - - - - - - - - - - - - - - - - - diff --git a/etc/pazpar2.cfg.dist b/etc/pazpar2.cfg.dist index e1ed332..65dad25 100644 --- a/etc/pazpar2.cfg.dist +++ b/etc/pazpar2.cfg.dist @@ -1,6 +1,7 @@ - + + diff --git a/etc/perf_server.cfg b/etc/perf_server.cfg index 1678574..943f639 100644 --- a/etc/perf_server.cfg +++ b/etc/perf_server.cfg @@ -1,6 +1,7 @@ + diff --git a/etc/pp2out-to-carrot2.xsl b/etc/pp2out-to-carrot2.xsl deleted file mode 100644 index 5bdd7a0..0000000 --- a/etc/pp2out-to-carrot2.xsl +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - water - - - - - - <xsl:value-of select="md-title" /> - - - - - - - - - - - - \ No newline at end of file diff --git a/etc/primo-pz2.xsl b/etc/primo-pz2.xsl deleted file mode 100644 index 43a92a1..0000000 --- a/etc/primo-pz2.xsl +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - - - - - - - - - no - - - yes - - - no - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - e-article - - - article - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/pz2-ourl-base.xsl b/etc/pz2-ourl-base.xsl deleted file mode 100644 index 260dc9f..0000000 --- a/etc/pz2-ourl-base.xsl +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - - - ?generatedby=pz2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - &aulast= - - - - - &aufirst= - - - - - - - - - - - - - - - - &volume= - - - - - &issue= - - - - - &spage= - - - - - - - - - - - - - - - &date= - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - & - - = - - - - - - - - diff --git a/etc/pz2-ourl-marc21.xsl b/etc/pz2-ourl-marc21.xsl deleted file mode 100644 index 1c8efde..0000000 --- a/etc/pz2-ourl-marc21.xsl +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/pz2-solr.xsl b/etc/pz2-solr.xsl deleted file mode 100644 index 0b7b796..0000000 --- a/etc/pz2-solr.xsl +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/server.xml b/etc/server.xml index f2c404c..a808a7a 100644 --- a/etc/server.xml +++ b/etc/server.xml @@ -1,7 +1,7 @@ - + diff --git a/etc/solr-pz2.xsl b/etc/solr-pz2.xsl deleted file mode 100644 index f6fa5dd..0000000 --- a/etc/solr-pz2.xsl +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/tmarc.xsl b/etc/tmarc.xsl deleted file mode 100644 index 95e9975..0000000 --- a/etc/tmarc.xsl +++ /dev/null @@ -1,829 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - yes - - - - - - - - - book - - recording - - -cd - -cassette - -vinyl - - - - - - video - - -dvd - -blu-ray - -vhs - - - audio-visual - - - - - newspaper - journal - - - map - music-score - microform - thesis - - web - article - electronic - - other - - - - - - - - yes - - - yes - - - no - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get resource - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (electronic) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Available - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/etc/unimarc.xsl b/etc/unimarc.xsl deleted file mode 100644 index 4842e24..0000000 --- a/etc/unimarc.xsl +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - , - - - - - - - - - - - - - - - - - diff --git a/etc/usmarc.xsl b/etc/usmarc.xsl deleted file mode 100644 index 12346c8..0000000 --- a/etc/usmarc.xsl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/etc/xsl/MarcXML2TurboMarc.xsl b/etc/xsl/MarcXML2TurboMarc.xsl new file mode 100644 index 0000000..566fe03 --- /dev/null +++ b/etc/xsl/MarcXML2TurboMarc.xsl @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/xsl/cf.xsl b/etc/xsl/cf.xsl new file mode 100644 index 0000000..7796273 --- /dev/null +++ b/etc/xsl/cf.xsl @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/xsl/danmarc2.xsl b/etc/xsl/danmarc2.xsl new file mode 100644 index 0000000..7e595b1 --- /dev/null +++ b/etc/xsl/danmarc2.xsl @@ -0,0 +1,261 @@ + + + + + + + + + + + + + + + + + + + + + + electronic resource + + + electronic resource + + + electronic resource + + + article + + + book + + + + + + + title + + author + + medium + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/xsl/dc.xsl b/etc/xsl/dc.xsl new file mode 100644 index 0000000..d9ae36d --- /dev/null +++ b/etc/xsl/dc.xsl @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/xsl/dkabm.xsl b/etc/xsl/dkabm.xsl new file mode 100644 index 0000000..ca135b6 --- /dev/null +++ b/etc/xsl/dkabm.xsl @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/xsl/marc21-ourl.xsl b/etc/xsl/marc21-ourl.xsl new file mode 100644 index 0000000..804c153 --- /dev/null +++ b/etc/xsl/marc21-ourl.xsl @@ -0,0 +1,23 @@ + + + + + + + + + + + Our hook + + + + + + + + diff --git a/etc/xsl/marc21.xsl b/etc/xsl/marc21.xsl new file mode 100644 index 0000000..e7bee0c --- /dev/null +++ b/etc/xsl/marc21.xsl @@ -0,0 +1,467 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + electronic resource + + + electronic resource + + + article + + + book + + + + + + + + yes + + + yes + + + no + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/xsl/oai_dc.xsl b/etc/xsl/oai_dc.xsl new file mode 100644 index 0000000..36757cc --- /dev/null +++ b/etc/xsl/oai_dc.xsl @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/xsl/opac.xsl b/etc/xsl/opac.xsl new file mode 100644 index 0000000..dd5c789 --- /dev/null +++ b/etc/xsl/opac.xsl @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + Available + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/xsl/opac_turbomarc.xsl b/etc/xsl/opac_turbomarc.xsl new file mode 100644 index 0000000..98f33b7 --- /dev/null +++ b/etc/xsl/opac_turbomarc.xsl @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + Available + + + + + + + + + + + + + + + + + + + + diff --git a/etc/xsl/pp2out-to-carrot2.xsl b/etc/xsl/pp2out-to-carrot2.xsl new file mode 100644 index 0000000..5bdd7a0 --- /dev/null +++ b/etc/xsl/pp2out-to-carrot2.xsl @@ -0,0 +1,25 @@ + + + + + + + water + + + + + + <xsl:value-of select="md-title" /> + + + + + + + + + + + + \ No newline at end of file diff --git a/etc/xsl/primo-pz2.xsl b/etc/xsl/primo-pz2.xsl new file mode 100644 index 0000000..43a92a1 --- /dev/null +++ b/etc/xsl/primo-pz2.xsl @@ -0,0 +1,189 @@ + + + + + + + + + + + + + + no + + + yes + + + no + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + e-article + + + article + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/xsl/pz2-ourl-base.xsl b/etc/xsl/pz2-ourl-base.xsl new file mode 100644 index 0000000..260dc9f --- /dev/null +++ b/etc/xsl/pz2-ourl-base.xsl @@ -0,0 +1,169 @@ + + + + + + + + + ?generatedby=pz2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + &aulast= + + + + + &aufirst= + + + + + + + + + + + + + + + + &volume= + + + + + &issue= + + + + + &spage= + + + + + + + + + + + + + + + &date= + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + & + + = + + + + + + + + diff --git a/etc/xsl/pz2-ourl-marc21.xsl b/etc/xsl/pz2-ourl-marc21.xsl new file mode 100644 index 0000000..1c8efde --- /dev/null +++ b/etc/xsl/pz2-ourl-marc21.xsl @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/xsl/solr-pz2.xsl b/etc/xsl/solr-pz2.xsl new file mode 100644 index 0000000..f6fa5dd --- /dev/null +++ b/etc/xsl/solr-pz2.xsl @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/xsl/tmarc.xsl b/etc/xsl/tmarc.xsl new file mode 100644 index 0000000..95e9975 --- /dev/null +++ b/etc/xsl/tmarc.xsl @@ -0,0 +1,829 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + + + + + + + + + book + + recording + + -cd + -cassette + -vinyl + + + + + + video + + -dvd + -blu-ray + -vhs + + + audio-visual + + + + + newspaper + journal + + + map + music-score + microform + thesis + + web + article + electronic + + other + + + + + + + + yes + + + yes + + + no + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get resource + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + (electronic) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Available + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/xsl/unimarc.xsl b/etc/xsl/unimarc.xsl new file mode 100644 index 0000000..4842e24 --- /dev/null +++ b/etc/xsl/unimarc.xsl @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + diff --git a/pazpar2.spec b/pazpar2.spec index c4ee13d..474cb17 100644 --- a/pazpar2.spec +++ b/pazpar2.spec @@ -81,7 +81,7 @@ cp etc/default.xml ${RPM_BUILD_ROOT}/etc/pazpar2/services-available/ cp etc/services/*.xml ${RPM_BUILD_ROOT}/etc/pazpar2/services-available/ cp etc/settings/*.xml ${RPM_BUILD_ROOT}/etc/pazpar2/settings/ cp -r etc/settings/mkc ${RPM_BUILD_ROOT}/etc/pazpar2/settings -cp etc/*.xsl ${RPM_BUILD_ROOT}/etc/pazpar2/ +cp -r etc/xsl ${RPM_BUILD_ROOT}/etc/pazpar2 mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/init.d install -m755 rpm/pazpar2.init ${RPM_BUILD_ROOT}/etc/rc.d/init.d/pazpar2 echo "Alias /pazpar2 /usr/share/pazpar2" >${RPM_BUILD_ROOT}/etc/pazpar2/ap2pazpar2-js.cfg -- 1.7.10.4