Add edu_turbo configuration.
authorDennis Schafroth <dennis@indexdata.com>
Thu, 29 Apr 2010 07:38:16 +0000 (09:38 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Thu, 29 Apr 2010 07:38:16 +0000 (09:38 +0200)
Same as default but using turbomarc between yaz library and pazpar2.

etc/edu_turbo.xml [new file with mode: 0644]
etc/settings/edu_turbo.xml [new file with mode: 0644]

diff --git a/etc/edu_turbo.xml b/etc/edu_turbo.xml
new file mode 100644 (file)
index 0000000..353d5d5
--- /dev/null
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<service  id="edu_turbo" xmlns="http://www.indexdata.com/pazpar2/1.0">
+  <timeout session="60" z3950_operation="30" z3950_session="180"/>
+  <settings src="settings/edu_turbo.xml"/>
+  
+  <relevance>
+    <icu_chain id="relevance" locale="en">
+      <transform rule="[:Control:] Any-Remove"/>
+      <tokenize rule="l"/>
+      <transform rule="[[:WhiteSpace:][:Punctuation:]] Remove"/>
+      <casemap rule="l"/>
+    </icu_chain>
+  </relevance>
+  
+  <sort>
+    <icu_chain id="sort" locale="en">
+      <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+      <casemap rule="l"/>
+    </icu_chain>
+  </sort>
+  
+  <mergekey>
+    <icu_chain id="mergekey" locale="en">
+      <tokenize rule="l"/>
+      <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
+      <casemap rule="l"/>
+    </icu_chain>
+  </mergekey>
+  
+  <!-- we try to keep same order as in marc21.xsl -->
+  <metadata name="id" brief="yes"/>
+  <metadata name="lccn" merge="unique"/>
+  <metadata name="isbn"/>
+  <metadata name="issn"/>
+  <metadata name="tech-rep-nr"/>
+  <metadata name="author" brief="yes" termlist="yes" merge="unique" 
+           rank="2" mergekey="optional"/>
+  <metadata name="author-title"/>
+  <metadata name="author-date"/>
+  <metadata name="corporate-name"/>
+  <metadata name="corporate-location"/>
+  <metadata name="corporate-date"/>
+  <metadata name="meeting-name"/>
+  <metadata name="meeting-location"/>
+  <metadata name="meeting-date"/>
+  <metadata name="date" brief="yes" sortkey="numeric" type="year"
+           merge="range" termlist="yes"/>
+  <metadata name="title" brief="yes" sortkey="skiparticle"
+           merge="longest" rank="6" mergekey="required"/>
+  <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
+  <metadata name="title-responsibility" brief="yes" merge="longest"/>
+  <metadata name="title-dates" brief="yes" merge="longest"/>
+  <metadata name="title-medium" brief="yes" merge="longest"/>
+  <metadata name="title-number-section" brief="yes" merge="longest"/>
+  <metadata name="medium" brief="yes" merge="longest" mergekey="optional"/>
+  <metadata name="iii-id" brief="yes" merge="no"/>
+  <metadata name="edition"/>
+  <metadata name="publication-place"/>
+  <metadata name="publication-name"/>
+  <metadata name="publication-date"/>
+  <metadata name="physical-extent"/>
+  <metadata name="physical-format"/>
+  <metadata name="physical-dimensions"/>
+  <metadata name="physical-accomp"/>
+  <metadata name="physical-unittype"/>
+  <metadata name="physical-unitsize"/>
+  <metadata name="physical-specified"/>
+  
+  <metadata name="series-title"/>
+  
+  <metadata name="description" brief="yes" merge="unique" rank="3"/>
+  <metadata name="subject-long" rank="3"/>
+  <metadata name="subject" termlist="yes" rank="0"/>
+  <metadata name="snippet" brief="yes" merge="unique"/>
+  <metadata name="electronic-url" brief="yes" merge="no"/>
+  <metadata name="electronic-format-type" />
+  <metadata name="electronic-format-instruction" />
+  <metadata name="electronic-text" brief="yes" merge="no"/>
+  <metadata name="electronic-note"/>
+  <metadata name="citation"/>
+  <metadata name="holding"/>
+  <metadata name="fulltext"/>
+  <metadata name="locallocation" brief="yes"/>
+  <metadata name="callnumber" brief="yes"/>
+  <metadata name="publicnote" brief="yes"/>
+  
+  <!-- journals -->
+  <metadata name="journal-title"/>
+  <metadata name="journal-subpart"/>
+  <metadata name="volume-number"/>
+  <metadata name="issue-date"/>
+  <metadata name="issue-number"/>
+  
+  <metadata name="url_recipe" setting="postproc" brief="yes" merge="no"/>
+  <metadata name="open_url_resolver" setting="parameter" merge="no"/>
+  <metadata name="open-url" merge="longest"/>
+  <metadata name="use_url_proxy" setting="postproc" brief="yes" merge="no"/>
+  
+  <metadata name="publisher"/>
+  <metadata name="available"/>
+  <metadata name="due"/>
+  <metadata name="thumburl" brief="yes" merge="unique"/>
+  <metadata name="score"/>
+</service>
+<!-- Keep this comment at the end of the file
+     Local variables:
+     mode: nxml
+     End:
+-->
+
diff --git a/etc/settings/edu_turbo.xml b/etc/settings/edu_turbo.xml
new file mode 100644 (file)
index 0000000..5040a4e
--- /dev/null
@@ -0,0 +1,72 @@
+<settings target="*">
+  <!-- based on edu.pz -->
+  <set target="acorn.library.vanderbilt.edu:2200/ACORN" name="pz:name" value="Vanderbilt U"/>
+  <set target="advance.biblio.polymtl.ca:210/ADVANCE" name="pz:name" value="Ecole Polytechnique Montreal"/>
+  <set target="albert.rit.edu:210/INNOPAC" name="pz:name" value="Rochester U of Tech"/>
+  <set target="atrium.bib.umontreal.ca:210/ADVANCE" name="pz:name" value="U of Montreal"/>
+  <set target="biblio.hec.ca:210/hec" name="pz:name" value="HEC Montreal"/>
+  <set target="books.luther.edu:210/innopac" name="pz:name" value="Luther College"/>
+  <set target="cat.cisti.nrc.ca:210/INNOPAC" name="pz:name" value="NRC Canada"/>
+  <set target="cat.lib.grin.edu:210/innopac" name="pz:name" value="Grinell College"/>
+  <set target="catalog.crl.edu:210/INNOPAC" name="pz:name" value="Center for Research Lib"/>
+  <set target="catalog.lib.jhu.edu:210/horizon" name="pz:name" value="Johns Hopkins U"/>
+  <set target="clavis.ucalgary.ca:2200/UNICORN" name="pz:name" value="U of Calgary"/>
+  <set target="cornelia.whoi.edu:7090/VOYAGER" name="pz:name" value="Woods Hole OI"/>
+  <set target="csulib.ctstateu.edu:210/INNOPAC" name="pz:name" value="CT State U"/>
+  <set target="info.library.mun.ca:2200/UNICORN" name="pz:name" value="Memorial U"/>
+  <set target="jasper.acadiau.ca:2200/UNICORN" name="pz:name" value="Acadia U"/>
+  <set target="ksclib.keene.edu:210/INNOPAC" name="pz:name" value="NH Keene State"/>
+  <set target="l1.uwaterloo.ca:7090/VOYAGER" name="pz:name" value="U of Waterloo"/>
+  <set target="lance.missouri.edu:210/INNOPAC" name="pz:name" value="U of Missouri"/>
+  <set target="library.daemen.edu:210/innopac" name="pz:name" value="Daemen C"/>
+  <set target="library.lbc.edu:7090/voyager" name="pz:name" value="Lancaster Bible C"/>
+  <set target="library.uh.edu:210/INNOPAC" name="pz:name" value="U of Houston"/>
+  <set target="lion.swem.wm.edu:2200/unicorn" name="pz:name" value="C of William and Mary"/>
+  <set target="lrpapp.cc.umanitoba.ca:2200/unicorn" name="pz:name" value="U of Manitoba"/>
+  <set target="malad2.mala.bc.ca:2200/UNICORN" name="pz:name" value="Malaspina U"/>
+  <set target="mercury.concordia.ca:210/Innopac" name="pz:name" value="Concordia U"/>
+  <set target="merlinweb.ville.montreal.qc.ca:2100/Z3950S" name="pz:name" value="U of Montreal"/>
+  <set target="ncsulib.lib.ncsu.edu:210/MARION" name="pz:name" value="North Carolina SU"/>
+  <set target="opac.utmem.edu:210/INNOPAC" name="pz:name" value="U of Tennessee"/>
+  <set target="prodorbis.library.yale.edu:7090/voyager" name="pz:name" value="Yale U"/>
+  <set target="quest.unb.ca:2200/unicorn" name="pz:name" value="U of New Brunswick"/>
+  <set target="rs6000.nshpl.library.ns.ca:210/AVR" name="pz:name" value="National Library Canada"/>
+  <set target="sabio.library.arizona.edu:210/innopac" name="pz:name" value="U of Arizona"/>
+  <set target="scotty.mhsl.uab.edu:7090/VOYAGER" name="pz:name" value="U of Alabama"/>
+  <set target="sundog.usask.ca:210/INNOPAC" name="pz:name" value="U of Saskatchewan"/>
+  <set target="titus.folger.edu:7090/VOYAGER" name="pz:name" value="Folger Shakespeare"/>
+  <set target="troy.lib.sfu.ca:210/INNOPAC" name="pz:name" value="Simon Fraser U"/>
+  <set target="voyager.tcs.tulane.edu:7090/VOYAGER" name="pz:name" value="Tulane U"/>
+  <set target="yulib001.mc.yu.edu:1111/DEFAULT" name="pz:name" value="Yeshiva U"/>
+  <set target="z3950.fcla.edu:210/CF" name="pz:name" value="Florida CLA"/>
+  <set target="z3950.library.wisc.edu:210/madison" name="pz:name" value="U of Wisconsin"/>
+  <set target="opencontent.indexdata.com:210/oca-all" name="pz:name" value="OCA American Libraries"/>
+  <set target="opencontent.indexdata.com:210/gutenberg" name="pz:name" value="Project Gutenberg"/>
+  <set target="z3950.loc.gov:7090/voyager" name="pz:name" value="Library of Congress"/>
+  <set target="melvyl.cdlib.org:210/CDL90" name="pz:name" value="University of California"/>
+  <set target="library.ox.ac.uk:210/ADVANCE" name="pz:name" value="Oxford University"/>
+
+  <!-- mapping for unqualified search -->
+  <set name="pz:cclmap:term" value="u=1016 t=l,r s=al"/>
+  
+  <!-- field-specific mappings -->
+  <set name="pz:cclmap:au" value="u=1004 s=al"/>
+  <set name="pz:cclmap:ti" value="u=4 s=al"/>
+  <set name="pz:cclmap:su" value="u=21 s=al"/>
+  <set name="pz:cclmap:isbn" value="u=7"/>
+  <set name="pz:cclmap:issn" value="u=8"/>
+  <set name="pz:cclmap:date" value="u=30 r=r"/>
+
+  <!-- Retrieval settings -->
+
+  <set name="pz:requestsyntax" value="marc21"/>
+  <set name="pz:elements" value="F"/>
+
+  <!-- Result normalization settings -->
+
+  <set name="pz:nativesyntax" value="txml"/>
+  <set name="pz:xslt" value="tmarc.xsl"/>
+
+
+  <set name="open_url_resolver" value="http://someresolver.com"/>
+</settings>