</filter>
<filter id="backend" type="zoom">
<torus
- url="http://newmk2.indexdata.com/torus2/searchable.ebsco/records/?query=udb%3D%db"
+ url="http://usi.indexdata.com/torus2/%realm/records/?query=udb%3D%3D%db"
+ realm="searchable.usi-test"
xsldir="."
+ element_transform="pz2"
+ element_raw="raw"
+ proxy="localhost:3128"
>
+ <!-- these records are examples only -->
<records>
+
+ <!-- local z-target and content connector -->
<record>
<piggyback>1</piggyback>
<queryEncoding>UTF-8</queryEncoding>
<cclmap_ti>1=4 s=pw t=l,r</cclmap_ti>
<requestSyntax>usmarc</requestSyntax>
<transform>tmarc.xsl</transform>
- <zurl>localhost:9999/db01</zurl>
+ <urlRecipe>http://sever.com?title=${md-title[\s+/+/g]}</urlRecipe>
+ <zurl>localhost:9998/db01</zurl>
+ <contentConnector>heikki/content1</contentConnector>
+ </record>
+ <record>
+ <udb>heikki/content1</udb>
+ <zurl>localhost:9999/heikki/content1</zurl>
+ <cfAuth>cfuser/cfpassword</cfAuth>
</record>
+
+ <!-- sru local connector -->
<record>
<piggyback>1</piggyback>
<queryEncoding>UTF-8</queryEncoding>
<cclmap_ti>1=title s=pw t=l,r</cclmap_ti>
<sru>get</sru>
<transform>tmarc.xsl</transform>
+ <zurl>localhost:9998/db01</zurl>
+ <sortStrategy>embed</sortStrategy>
+ <sortmap_title>dc.title</sortmap_title>
+ </record>
+
+ <!-- jstor1 -->
+ <record>
+ <piggyback>1</piggyback>
+ <queryEncoding>UTF-8</queryEncoding>
+ <udb>jstor1</udb>
+ <cclmap_term>s=al</cclmap_term>
+ <cclmap_ti>1=title s=pw t=l,r</cclmap_ti>
+ <sru>get</sru>
+ <transform>dc.xsl</transform>
+ <literalTransform><?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ This stylesheet expects oai/dc records
+-->
+<xsl:stylesheet
+ version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:pz="http://www.indexdata.com/pazpar2/1.0"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:dcterms="http://purl.org/dc/terms/">
+
+ <xsl:output indent="yes"
+ method="xml"
+ version="1.0"
+ encoding="UTF-8"/>
+
+ <xsl:param name="medium" />
+
+ <xsl:template match="/*">
+ <pz:record>
+
+ <pz:metadata type="id">
+ <xsl:value-of select="dc:identifier"/>
+ </pz:metadata>
+
+ <xsl:for-each select="dc:title">
+ <pz:metadata type="title">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="dc:date">
+ <pz:metadata type="date">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="dc:subject">
+ <pz:metadata type="subject">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="dc:creator">
+ <pz:metadata type="author">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="dc:description">
+ <pz:metadata type="description">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="dc:identifier">
+ <pz:metadata type="electronic-url">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="dc:type">
+ <pz:metadata type="medium">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <xsl:for-each select="dcterms:bibliographicCitation">
+ <pz:metadata type="citation">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:for-each>
+
+ <pz:metadata type="medium">
+ <xsl:value-of select="$medium" />
+ </pz:metadata>
+
+ </pz:record>
+ </xsl:template>
+
+ <xsl:template match="text()"/>
+
+</xsl:stylesheet></literalTransform>
+ <zurl>dfr.jstor.org/sru</zurl>
+ </record>
+
+ <!-- jstor2 -->
+ <record>
+ <piggyback>1</piggyback>
+ <queryEncoding>UTF-8</queryEncoding>
+ <udb>jstor2</udb>
+ <cclmap_term>s=al</cclmap_term>
+ <cclmap_ti>1=title s=pw t=l,r</cclmap_ti>
+ <elementSet>info:srw/schema/srw_jstor</elementSet>
+ <sru>get</sru>
+ <transform>jstor-pz2.xsl</transform>
+ <zurl>dfr.jstor.org/sru</zurl>
+ </record>
+
+
+ <!-- cf connector -->
+ <record>
+ <piggyback>1</piggyback>
+ <queryEncoding>UTF-8</queryEncoding>
+ <udb>cf-local</udb>
+ <cclmap_term>1=1016 s=al</cclmap_term>
+ <cclmap_ti>1=4 s=pw t=l,r</cclmap_ti>
+ <requestSyntax>xml</requestSyntax>
+ <transform>cf.xsl</transform>
<zurl>localhost:9999/db01</zurl>
+ <cfAuth>cfuser/cfpassword</cfAuth>
+ <cfProxy>localhost:3128</cfProxy>
+ <cfSubDB>mysub</cfSubDB>
</record>
</records>
</torus>
<fieldmap cql="dc.creator" ccl="au"/>
<fieldmap cql="dc.title" ccl="ti"/>
<fieldmap cql="dc.subject" ccl="su"/>
- <fieldmap cql="bash.isbn" ccl="isbn"/>
- <fieldmap cql="bash.issn" ccl="issn"/>
+ <fieldmap cql="bath.isbn" ccl="isbn"/>
+ <fieldmap cql="bath.issn" ccl="issn"/>
<fieldmap cql="dc.date" ccl="date"/>
- <!--
- I got some of the following CCL qualifier names from
- http://catalog.pburglib.org/polaris/Help/PWbasicsearch6.html
- These are marked with the comment POLARIS.
- The others, I just made up.
- (Mike, Wed Jun 15 22:50:18 BST 2011)
- -->
- <fieldmap cql="rec.identifier" ccl="ocn"/><!-- POLARIS -->
- <fieldmap cql="net.path" ccl="db"/>
- <fieldmap cql="dc.language" ccl="la"/><!-- POLARIS -->
- <fieldmap cql="dc.format" ccl="tom"/><!-- POLARIS -->
- <fieldmap cql="id.fullText" ccl="fullText"/>
- <fieldmap cql="id.peerReviewed" ccl="peerReviewed"/>
- <fieldmap cql="dc.description" ccl="desc"/>
- <fieldmap cql="dc.source" ccl="src"/>
- <fieldmap cql="dc.publisher" ccl="pub"/><!-- POLARIS -->
- <fieldmap cql="id.seriesTitle" ccl="series-ti"/>
-
<cclmap>
<qual name="ocn">
<attr type="1" value="12"/>
</qual>
</cclmap>
+ <contentProxy
+ server="hpxy.indexdata.com"
+ tmp_file="/tmp/cf.XXXXXX.p"
+ />
+ <log apdu="true"/>
</filter>
</filters>
<routes>
<message>F</message>
</filter>
<filter type="sru_z3950"/>
- <filter type="record_transform">
- <retrievalinfo xmlns="http://indexdata.com/yaz" version="1.0">
- <retrieval syntax="xml" name="usi">
- <backend syntax="xml" name="pz2">
- <xslt stylesheet="../xml/xslt/pz22usi.xsl"/>
- </backend>
- </retrieval>
- <retrieval syntax="xml"/>
- <retrieval syntax="json"/>
- <retrieval syntax="usmarc"/>
- </retrievalinfo>
- </filter>
<filter type="session_shared"/>
<filter type="log">
<message>B</message>