-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgfs.xml
More file actions
36 lines (32 loc) · 1.12 KB
/
gfs.xml
File metadata and controls
36 lines (32 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0"?>
<!-- generic frontend server configuration
https://software.indexdata.com/yaz/doc/server.vhosts.html
this configuration is passed to simpleserver with option -f, eg
./ztest.pl -f gfs.xml
The retrievalInfo sections makes YAZ responsible for converting
from XML to MARC / OPAC
The Perl code just need to consider comp/element-set-name "marcxml" / "OP"
to distinguish between the two cases.
-->
<yazgfs>
<listen id="public1">tcp:@:9999</listen>
<server id="server1" listenref="public1">
<retrievalinfo>
<retrieval syntax="xml"/>
<retrieval syntax="usmarc">
<backend syntax="xml" name="marcxml">
<marc inputformat="xml" outputformat="marc" outputcharset="utf-8"/>
</backend>
</retrieval>
<!--
Provide conversion from OPACXML to plain opac in Z39.50
Make sure the server script can return xml/OP, then this
entry triggers the conversion to "opac" if requested
-->
<retrieval syntax="opac">
<backend syntax="xml" name="OP">
</backend>
</retrieval>
</retrievalinfo>
</server>
</yazgfs>