Add Algoma's ebrary code
authordbs <dbs@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Tue, 7 Dec 2010 18:36:10 +0000 (18:36 +0000)
committerdbs <dbs@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Tue, 7 Dec 2010 18:36:10 +0000 (18:36 +0000)
Also, clean up references to MARCXML - we only do MARC21

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/branches/rel_1_6_1@1100 6d9bc8c9-1ec2-4278-b937-99fde70a366f

tools/ebooks/prep_ebook_records.py

index 2c542f6..a020755 100644 (file)
@@ -22,7 +22,7 @@ class Institution():
         """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 @@ class Institution():
 
 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 @@ Optional arguments:
     -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)