projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow stylesheet to be given for sru_z3950 filter MP-510
[metaproxy-moved-to-github.git]
/
etc
/
config-sru-to-z3950.xml
diff --git
a/etc/config-sru-to-z3950.xml
b/etc/config-sru-to-z3950.xml
index
b56cf1d
..
d0d0755
100644
(file)
--- a/
etc/config-sru-to-z3950.xml
+++ b/
etc/config-sru-to-z3950.xml
@@
-1,7
+1,6
@@
<?xml version="1.0"?>
<?xml version="1.0"?>
-<!-- $Id: config-sru-to-z3950.xml,v 1.20 2007-03-07 22:17:51 adam Exp $ -->
-<metaproxy
- xmlns="http://indexdata.com/metaproxy"
+<metaproxy
+ xmlns="http://indexdata.com/metaproxy"
version="1.0">
<start route="start"/>
<filters>
version="1.0">
<start route="start"/>
<filters>
@@
-10,6
+9,7
@@
<port>@:9000</port>
</filter>
<filter id="sru" type="sru_z3950">
<port>@:9000</port>
</filter>
<filter id="sru" type="sru_z3950">
+ <stylesheet>/my.xsl</stylesheet>
<database name="Default">
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../etc/explain.xml"/>
<database name="Default">
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../etc/explain.xml"/>
@@
-32,6
+32,13
@@
<xslt stylesheet="../xml/xslt/MARC21slim2DC.xsl"/>
</backend>
</retrieval>
<xslt stylesheet="../xml/xslt/MARC21slim2DC.xsl"/>
</backend>
</retrieval>
+ <retrieval syntax="opac"/>
+ <retrieval syntax="xml" name="opac">
+ <backend syntax="opac" name="F">
+ <marc inputformat="marc" outputformat="marcxml"
+ inputcharset="marc-8"/>
+ </backend>
+ </retrieval>
<retrieval syntax="usmarc">
<backend syntax="usmarc" name="F">
</backend>
<retrieval syntax="usmarc">
<backend syntax="usmarc" name="F">
</backend>
@@
-39,7
+46,7
@@
</retrievalinfo>
</filter>
</filters>
</retrievalinfo>
</filter>
</filters>
- <routes>
+ <routes>
<!-- Z39.50 clients -->
<route id="remote">
<filter type="log">
<!-- Z39.50 clients -->
<route id="remote">
<filter type="log">
@@
-50,7
+57,7
@@
</filter>
<filter type="bounce"/>
</route>
</filter>
<filter type="bounce"/>
</route>
-
+
<!-- shared Z39.50 clients -->
<route id="shared">
<filter type="log">
<!-- shared Z39.50 clients -->
<route id="shared">
<filter type="log">
@@
-62,7
+69,7
@@
</filter>
<filter type="bounce"/>
</route>
</filter>
<filter type="bounce"/>
</route>
-
+
<!-- local built-in server -->
<route id="local">
<filter type="backend_test"/>
<!-- local built-in server -->
<route id="local">
<filter type="backend_test"/>
@@
-92,7
+99,10
@@
</virtual>
</filter>
</virtual>
</filter>
-
+ <filter type="session_shared"/>
+ <filter type="z3950_client">
+ <timeout>30</timeout>
+ </filter>
<filter type="bounce"/>
</route>
</routes>
<filter type="bounce"/>
</route>
</routes>