X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=etc%2Fconfig-zoom.xml;h=09a261213ae4b26909445f0c5f3e8a15bd2c67c1;hb=586d78659d671683f33ec55f4a7d32b28e345ccd;hp=978eefc9397994a0d56db3d2c9e3425010716439;hpb=d0f81dec2d80f97fdef5b4a30ec631ea677b2385;p=metaproxy-moved-to-github.git diff --git a/etc/config-zoom.xml b/etc/config-zoom.xml index 978eefc..09a2612 100644 --- a/etc/config-zoom.xml +++ b/etc/config-zoom.xml @@ -1,72 +1,242 @@ - 10 @:9000 + FN + + + + + + + + + + 1 + UTF-8 + z-local + 1=1016 s=al + 1=4 s=pw t=l,r + usmarc + tmarc.xsl + http://sever.com?title=${md-title[\s+/+/g]}&parm=1 + localhost:9998/Default + 0 + + + heikki/content1 + localhost:9999/heikki/content1 + cfuser/cfpassword + + + + + a/b + url + 1 + UTF-8 + sru-local + s=al + 1=title s=pw t=l,r + get + 1.1 + tmarc.xsl + localhost:9998/db01 + embed + dc.title + pqf.properties + + + + 1 + UTF-8 + solr-local + s=al + 1=title s=pw t=l,r + solr + tmarc.xsl + lui.indexdata.com/solr/#5002 + embed + dc.title + pqf.properties + + + + + 1 + UTF-8 + jstor1 + s=al + 1=title s=pw t=l,r + get + dc.xsl + <?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> + dfr.jstor.org/sru + + + + + 1 + UTF-8 + jstor2 + s=al + 1=title s=pw t=l,r + info:srw/schema/srw_jstor + get + jstor-pz2.xsl + dfr.jstor.org/sru + + + + + + 1 + UTF-8 + cf-local + 1=1016 s=al + 1=4 s=pw t=l,r + xml + cf.xsl + localhost:9999/db01 + cfuser/cfpassword + localhost:3128 + mysub + + + + + + + + + + + + + + + + + - - - - z-local - localhost:9999/db01 - iso-8859-1 - F - MARC21 - MARC-8 - tmarc.xsl - a/b - u=1016 2=3 3=3 s=al s=pw t=l,r 6=1 - u=1003 2=3 s=al s=pw t=l,r 6=1 - u=4 2=3 3=3 s=al s=pw t=l,r 6=1 - u=21 2=3 3=3 s=al s=pw t=l,r 6=1 - - - - - sru-local - localhost:9999/db02 - get - iso-8859-1 - - - - - cf-local - localhost:9999/db03 - a/b - mycfuser/mycfpassword - mycfsub - u=1016 2=3 3=3 s=al s=pw t=l,r 6=1 - u=1003 2=3 s=al s=pw t=l,r 6=1 - u=4 2=3 3=3 s=al s=pw t=l,r 6=1 - u=21 2=3 3=3 s=al s=pw t=l,r 6=1 - - - - - z-unknown - localhost:9999/unknown - iso-8859-1 - - - + + - + + + - log + B +