[open-ils-commits] r1100 - conifer/branches/rel_1_6_1/tools/ebooks (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Dec 7 13:36:14 EST 2010


Author: dbs
Date: 2010-12-07 13:36:10 -0500 (Tue, 07 Dec 2010)
New Revision: 1100

Modified:
   conifer/branches/rel_1_6_1/tools/ebooks/prep_ebook_records.py
Log:
Add Algoma's ebrary code

Also, clean up references to MARCXML - we only do MARC21


Modified: conifer/branches/rel_1_6_1/tools/ebooks/prep_ebook_records.py
===================================================================
--- conifer/branches/rel_1_6_1/tools/ebooks/prep_ebook_records.py	2010-12-03 15:08:13 UTC (rev 1099)
+++ conifer/branches/rel_1_6_1/tools/ebooks/prep_ebook_records.py	2010-12-07 18:36:10 UTC (rev 1100)
@@ -22,7 +22,7 @@
         """Initialize the Institution object"""
         self.algoma = { \
             "code": "OSTMA", \
-            "ebrary_code": "XXX", \
+            "ebrary_code": "algomauca", \
             "proxy": "http://libproxy.auc.ca/login?url=", \
             "link_text": "Available online" \
         }
@@ -48,11 +48,11 @@
 
 def do_help():
     '''
-    Print help for the Conifer ebook MARCXML processor
+    Print help for the Conifer ebook MARC processor
     '''
 
     print '''
-Conifer ebook MARCXML processor
+Conifer ebook MARC processor
 
 This script takes a set of MARC records and processes them to generate a set
 of MARC records ready for loading into the Conifer consortial library
@@ -95,7 +95,7 @@
     -h / --help : Prints help message
 
 Examples:
-    %s --algoma --windsor -i crkn.xml -o /tmp/crkn_out.xml -p "eBrary Inc."
+    %s --algoma --windsor -i crkn.mrc -o /tmp/crkn_out.mrc -p "eBrary Inc."
     ''' % sys.argv[0]
     sys.exit(0)
 



More information about the open-ils-commits mailing list