From 838ff8b5a5d9fc8e482fef6c3d3d55130a3f452d Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Thu, 8 Mar 2012 11:33:20 -0500 Subject: [PATCH] Remove Z39.50 server definitions from opensrf.xml.example Point to the Release Notes for a description of how to map old entries to the database tables. Maybe later someone enterprising will write up a script that parses the XML and generates reasonable default entries in the database tables. Signed-off-by: Dan Scott Signed-off-by: Ben Shum --- Open-ILS/examples/opensrf.xml.example | 88 ++--------------------------------- docs/RELEASE_NOTES_2_2.txt | 35 ++++++++++++++ 2 files changed, 40 insertions(+), 83 deletions(-) diff --git a/Open-ILS/examples/opensrf.xml.example b/Open-ILS/examples/opensrf.xml.example index eabd6fcd5a..325b4c2c70 100644 --- a/Open-ILS/examples/opensrf.xml.example +++ b/Open-ILS/examples/opensrf.xml.example @@ -195,89 +195,11 @@ vim:et:ts=4:sw=4: - - - biblios - - - - ‡biblios.net - z3950.biblios.net - 210 - bibliographic - - FI - - - - usmarc - - - 121 - 76 - 91 - 10036 - <code>4</code><format>6</format> - 81 - 10186 - 311 - 10011 - - - - - - loc - z3950.loc.gov - 7090 - Voyager - - FI - - - - usmarc - - - 121 - 76 - 91 - 10036 - <code>4</code><format>6</format> - 81 - 10186 - 311 - 10011 - - - - - - zcat.oclc.org - 210 - OLUCWorldCat - - - 121 - 76 - 91 - 10036 - <code>4</code><format>6</format> - 81 - 10186 - 311 - 10011 - - - - - - + diff --git a/docs/RELEASE_NOTES_2_2.txt b/docs/RELEASE_NOTES_2_2.txt index 3ad4ace29c..036eef9173 100644 --- a/docs/RELEASE_NOTES_2_2.txt +++ b/docs/RELEASE_NOTES_2_2.txt @@ -35,6 +35,41 @@ UPDATE biblio.record_entry ; ------------------------------------------------------------------------------ +Z39.50 server definitions +~~~~~~~~~~~~~~~~~~~~~~~~~ +Z39.50 server target definitions have been removed from the sample +`opensrf.xml.example` file. To migrate existing settings from your +`opensrf.xml` configuration file to the database, peform the +following steps: + + 1. First, set up your custom Z39.50 sources in the database. For + each entry in `z3950/services`, map the following XML paths to the + corresponding `config.z3950_source` table column as follows: ++ + ** `z3950/services/` = name + ** `///name` = label + ** `///host` = host + ** `///port` = port + ** `///db` = db + ** `///record_format` = record_format + ** `///transmission_format` = transmission_format ++ + 2. Then, for each attribute defined in the `` element for + a given service, map the following XML paths to the corresponding + `config.z3950_attr` table column as follows: ++ + ** `z3950/services/` = source + ** `///attrs/` = name + ** `///attrs//code` = code + ** `///attrs//format` = format ++ + 3. After adding the new Z39.50 sources and corresponding attributes, + you will need to log out of the staff client and log back into the + staff client to retrieve the new entry values. If a given Z39.50 + server does not work for a given attribute, pay attention to the + `truncation` column for the attribute. + + New features ------------ -- 2.11.0