Do away with the 856 $z subfield as it currently simply duplicates link text
authordbs <dbs@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Thu, 2 Dec 2010 22:38:54 +0000 (22:38 +0000)
committerdbs <dbs@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Thu, 2 Dec 2010 22:38:54 +0000 (22:38 +0000)
If we end up with a situation where we want a public note, then we can
easily reconstitute this. Until then, less code == mo better.

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

tools/ebooks/prep_ebook_records.py

index 71b53b9..d459957 100644 (file)
@@ -24,7 +24,6 @@ class Institution():
             "code": "OSTMA", \
             "ebrary_code": "XXX", \
             "proxy": "http://libproxy.auc.ca/login?url=", \
-            "public_note": "Available online", \
             "link_text": "Available online" \
         }
         
@@ -32,7 +31,6 @@ class Institution():
             "code": "OSUL", \
             "ebrary_code": "jndlu", \
             "proxy": "https://librweb.laurentian.ca/login?url=", \
-            "public_note": "Available online / disponible en ligne", \
             "link_text": "Available online / disponible en ligne" \
         }
 
@@ -40,7 +38,6 @@ class Institution():
             "code": "OWA", \
             "ebrary_code": "oculwindsor", \
             "proxy": "http://ezproxy.uwindsor.ca/login?url=", \
-            "public_note": "To view Windsor's electronic resource click here.",\
             "link_text": "To view Windsor's electronic resource click here." \
         }
 
@@ -330,7 +327,6 @@ def get_subfields(field, data):
 
     subs.extend([
             'y', data['link_text'],
-            'z', data['public_note'],
             '9', data['code']
     ])