config-zoom: content proxy connector added
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 1 Aug 2011 11:39:09 +0000 (11:39 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 1 Aug 2011 11:39:09 +0000 (11:39 +0000)
etc/config-zoom.xml

index f51b70e..04db0ec 100644 (file)
             element_transform="pz2"
             element_raw="raw"
            >   
+        <!-- these records are examples only -->
        <records>
+
+          <!-- local z-target and content connector -->
          <record>
-            <authentication>foouser/barpassword</authentication>
            <piggyback>1</piggyback>
            <queryEncoding>UTF-8</queryEncoding>
            <udb>z-local</udb>
            <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>
          </record>
+
+          <!-- jstor -->
          <record>
            <piggyback>1</piggyback>
            <queryEncoding>UTF-8</queryEncoding>
@@ -47,6 +58,8 @@
            <transform>dc.xsl</transform>
            <zurl>dfr.jstor.org/sru</zurl>
          </record>
+
+          <!-- cf connector -->
          <record>
            <piggyback>1</piggyback>
            <queryEncoding>UTF-8</queryEncoding>
@@ -76,8 +89,8 @@
         </qual>
       </cclmap>
       <contentProxy
-         server="proxy.indexdata.com"
-         tmp_file="/tmp/content_cf.XXXXXX.p"
+         server="hpxy.indexdata.com"
+         tmp_file="/tmp/cf.XXXXXX.p"
       />
       <log apdu="true"/>
     </filter>