</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>
<requestSyntax>usmarc</requestSyntax>
<transform>tmarc.xsl</transform>
<urlRecipe>http://sever.com?title=${md-title[\s+/+/g]}</urlRecipe>
- <zurl>localhost:9999/db01</zurl>
- <contentConnector>connectorfile</contentConnector>
+ <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>
<udb>sru-local</udb>
<cclmap_ti>1=title s=pw t=l,r</cclmap_ti>
<sru>get</sru>
<transform>tmarc.xsl</transform>
- <zurl>localhost:9999/db01</zurl>
+ <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>jstor-local</udb>
+ <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>
<zurl>localhost:9999/db01</zurl>
<cfAuth>cfuser/cfpassword</cfAuth>
<cfProxy>localhost:3128</cfProxy>
- <cfSubDb>mysub</cfSubDb>
+ <cfSubDB>mysub</cfSubDB>
</record>
</records>
</torus>
<attr type="1" value="12"/>
</qual>
</cclmap>
- <contentProxy server="proxy.indexdata.com"/>
+ <contentProxy
+ server="hpxy.indexdata.com"
+ tmp_file="/tmp/cf.XXXXXX.p"
+ />
+ <log apdu="true"/>
</filter>
</filters>
<routes>