Bugzilla – Attachment 3530 Details for
Bug 5667
koha-conf.xml missing entry for z39.50 publicserver
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
new koha-conf.xml default entries
0001-Bug-5667-Add-entries-so-Z39.50-public-server-works.patch (text/plain), 4.58 KB, created by
Tomás Cohen Arazi
on 2011-03-30 14:44:25 UTC
(
hide
)
Description:
new koha-conf.xml default entries
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2011-03-30 14:44:25 UTC
Size:
4.58 KB
patch
obsolete
>From 1fb61f3f2682a6b1afd592523ddc4b1961466820 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Wed, 30 Mar 2011 11:38:42 -0300 >Subject: [PATCH] [Bug 5667] Add entries so Z39.50 public server works >Content-Type: text/plain; charset="utf-8" > >I added a comment on the file so the user uncomments the appropriate koha-conf.xml sections. > >To+ >--- > etc/koha-conf.xml | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++- > 1 files changed, 81 insertions(+), 2 deletions(-) > >diff --git a/etc/koha-conf.xml b/etc/koha-conf.xml >index 819cc55..686a15b 100644 >--- a/etc/koha-conf.xml >+++ b/etc/koha-conf.xml >@@ -11,8 +11,13 @@ > <listen id="biblioserver" >tcp:localhost:9998/bibliosocket</listen> > <listen id="authorityserver" >tcp:localhost:9999/authoritysocket</listen> > --> >-<!-- public server runs on tcp --> >-<!-- <listen id="publicserver" >tcp:@:9999</listen> --> >+ >+<!-- Uncomment the following entry if you want to run the public Z39.50 server. >+ Also uncomment the <server> and <serverinfo> sections for id 'publicserver' >+ under PUBLICSERVER'S BIBLIOGRAPHIC RECORDS title--> >+<!-- >+<listen id="publicserver" >tcp:@:__ZEBRA_SRU_BIBLIOS_PORT__</listen> >+--> > > <!-- Settings for special biblio server instance for PazPar2. > Because PazPar2 only connects to a Z39.50 server using TCP/IP, >@@ -173,6 +178,80 @@ __PAZPAR2_TOGGLE_XML_POST__ > <password>__ZEBRA_PASS__</password> > </serverinfo> > >+<!-- PUBLICSERVER'S BIBLIOGRAPHIC RECORDS --> >+<!-- >+<server id="publicserver" listenref="publicserver"> >+ <directory>__ZEBRA_DATA_DIR__/biblios</directory> >+ <config>__ZEBRA_CONF_DIR__/zebra-biblios.cfg</config> >+ <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn> >+ <retrievalinfo> >+ <retrieval syntax="usmarc" name="F"/> >+ <retrieval syntax="usmarc" name="B"/> >+ <retrieval syntax="xml" name="F"/> >+ <retrieval syntax="xml" name="B"/> >+ <retrieval syntax="xml" name="marcxml" >+ identifier="info:srw/schema/1/marcxml-v1.1"> >+ <backend syntax="usmarc" name="F"> >+ <marc inputformat="marc" outputformat="marcxml" >+ inputcharset="utf-8"/> >+ </backend> >+ </retrieval> >+ <retrieval syntax="xml" name="dc"> >+ <backend syntax="usmarc" name="F"> >+ <marc inputformat="marc" outputformat="marcxml" >+ inputcharset="utf-8"/> >+ <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/> >+ </backend> >+ </retrieval> >+ <retrieval syntax="xml" name="mods"> >+ <backend syntax="usmarc" name="F"> >+ <marc inputformat="marc" outputformat="marcxml" >+ inputcharset="utf-8"/> >+ <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2MODS.xsl"/> >+ </backend> >+ </retrieval> >+ <retrieval syntax="xml" name="rdfdc"> >+ <backend syntax="usmarc" name="F"> >+ <marc inputformat="marc" outputformat="marcxml" >+ inputcharset="utf-8"/> >+ <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RDFDC.xsl"/> >+ </backend> >+ </retrieval> >+ <retrieval syntax="xml" name="rss2"> >+ <backend syntax="usmarc" name="F"> >+ <marc inputformat="marc" outputformat="marcxml" >+ inputcharset="utf-8"/> >+ <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RSS2.xsl"/> >+ </backend> >+ </retrieval> >+ <retrieval syntax="xml" name="utils"> >+ <backend syntax="usmarc" name="F"> >+ <marc inputformat="marc" outputformat="marcxml" >+ inputcharset="utf-8"/> >+ <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slimUtils.xsl"/> >+ </backend> >+ </retrieval> >+ </retrievalinfo> >+ <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-biblios.xml" >+ xmlns:xi="http://www.w3.org/2001/XInclude"> >+ <xi:fallback> >+ <explain xmlns="http://explain.z3950.org/dtd/2.0/"> >+ <serverInfo> >+ <host>__ZEBRA_SRU_HOST__</host> >+ <port>__ZEBRA_SRU_BIBLIOS_PORT__</port> >+ <database>biblios</database> >+ </serverInfo> >+ </explain> >+ </xi:fallback> >+ </xi:include> >+</server> >+<serverinfo id="publicserver"> >+ <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn> >+ <user>__ZEBRA_USER__</user> >+ <password>__ZEBRA_PASS__</password> >+</serverinfo> >+--> >+ > <!-- ADDITIONAL KOHA CONFIGURATION DIRECTIVE --> > <!-- db_scheme should follow the DBD driver name --> > <!-- port info: mysql:3306 Pg:5432 (5433 on Debian) --> >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5667
: 3530 |
4029