disable 'get_better_copy_of_marc' for now, it lacks the <volume> and <link> stuff...
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Mon, 10 Jan 2011 15:57:09 +0000 (15:57 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Mon, 10 Jan 2011 15:57:09 +0000 (15:57 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1183 6d9bc8c9-1ec2-4278-b937-99fde70a366f

conifer/integration/uwindsor.py
conifer/libsystems/evergreen/item_status.py

index 57493c7..b9d0622 100644 (file)
@@ -200,7 +200,7 @@ def bib_id_to_url(bib_id):
         return ('http://windsor.concat.ca/opac/en-CA'
                 '/skin/uwin/xml/rdetail.xml?r=%s&l=1&d=0' % bib_id)
 
-if USE_Z3950:
+if False: # if USE_Z3950:
     # only if we are using Z39.50 for catalogue search. Results including
     # accented characters are often seriously messed up. (Try searching for
     # "montreal").
index c184022..1433a51 100644 (file)
@@ -25,8 +25,9 @@ def url_to_marcxml(url):
             m = re.match(r'.*r=(\d+).*', url)
             item_id = m and m.group(1) or None
             if item_id:
-                marc_url = ("%s/opac/extras/supercat/"
-                            "retrieve/marcxml/record/%s" % (support.BASE, item_id))
+                marc_url = ("%s/opac/extras/unapi?"
+                            "id=tag:concat.ca,9999:biblio-record_entry/"
+                            "%s/-&format=marcxml-full" % (support.BASE, item_id))
             xml = unicode(urllib2.urlopen(marc_url).read(), 'utf-8')
         return xml