[open-ils-commits] r12393 - in trunk/Open-ILS: examples src/sql/Pg (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Mar 3 22:00:36 EST 2009
Author: dbs
Date: 2009-03-03 22:00:35 -0500 (Tue, 03 Mar 2009)
New Revision: 12393
Modified:
trunk/Open-ILS/examples/opensrf.xml.example
trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
Add ?\226?\128?\161biblios.net as one of the default Z39.50 targets
Modified: trunk/Open-ILS/examples/opensrf.xml.example
===================================================================
--- trunk/Open-ILS/examples/opensrf.xml.example 2009-03-04 02:16:38 UTC (rev 12392)
+++ trunk/Open-ILS/examples/opensrf.xml.example 2009-03-04 03:00:35 UTC (rev 12393)
@@ -136,9 +136,34 @@
<z3950>
- <default>oclc</default>
+ <default>biblios</default>
<services>
+ <biblios>
+ <!-- biblios does not require username/password -->
+ <name>‡biblios.net</name>
+ <host>z3950.biblios.net</host>
+ <port>210</port>
+ <db>bibliographic</db>
+ <!-- fetch the full record with no holdings. FI is the most common choice -->
+ <record_format>FI</record_format>
+ <!-- Record transmission format from the server. Supported -->
+ <!-- formats include usmarc and xml (for marcxml). -->
+ <transmission_format>usmarc</transmission_format>
+
+ <attrs>
+ <tcn><code>12</code><format>1</format></tcn>
+ <isbn><code>7</code><format>6</format></isbn>
+ <lccn><code>9</code><format>1</format></lccn>
+ <author><code>1003</code><format>6</format></author>
+ <title><code>4</code><format>6</format></title>
+ <issn><code>8</code><format>1</format></issn>
+ <publisher><code>1018</code><format>6</format></publisher>
+ <pubdate><code>31</code><format>1</format></pubdate>
+ <item_type><code>1001</code><format>1</format></item_type>
+ </attrs>
+ </biblios>
+
<loc>
<!-- LoC does not require username/password -->
<name>loc</name>
Modified: trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2009-03-04 02:16:38 UTC (rev 12392)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2009-03-04 03:00:35 UTC (rev 12393)
@@ -744,7 +744,9 @@
INSERT INTO config.z3950_source (name, label, host, port, db, auth)
VALUES ('loc', oils_i18n_gettext('loc', 'Library of Congress', 'czs', 'label'), 'z3950.loc.gov', 7090, 'Voyager', FALSE);
INSERT INTO config.z3950_source (name, label, host, port, db, auth)
- VALUES ('oclc', oils_i18n_gettext('loc', 'OCLC', 'czs', 'label'), 'zcat.oclc.org', 210, 'OLUCWorldCat', TRUE);
+ VALUES ('oclc', oils_i18n_gettext('oclc', 'OCLC', 'czs', 'label'), 'zcat.oclc.org', 210, 'OLUCWorldCat', TRUE);
+INSERT INTO config.z3950_source (name, label, host, port, db, auth)
+ VALUES ('biblios', oils_i18n_gettext('‡biblios.net', 'czs', 'label'), 'z3950.biblios.net', 210, 'bibliographic', FALSE);
INSERT INTO config.z3950_attr (id, source, name, label, code, format)
VALUES (1, 'loc','tcn', oils_i18n_gettext(1, 'Title Control Number', 'cza', 'label'), 12, 1);
More information about the open-ils-commits
mailing list