From: gfawcett Date: Mon, 10 Jan 2011 15:57:09 +0000 (+0000) Subject: disable 'get_better_copy_of_marc' for now, it lacks the and stuff... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6bcd81ad2dae84d8481972b75e50109075ee29b5;p=Syrup.git disable 'get_better_copy_of_marc' for now, it lacks the and stuff we need git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1183 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- diff --git a/conifer/integration/uwindsor.py b/conifer/integration/uwindsor.py index 57493c7..b9d0622 100644 --- a/conifer/integration/uwindsor.py +++ b/conifer/integration/uwindsor.py @@ -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"). diff --git a/conifer/libsystems/evergreen/item_status.py b/conifer/libsystems/evergreen/item_status.py index c184022..1433a51 100644 --- a/conifer/libsystems/evergreen/item_status.py +++ b/conifer/libsystems/evergreen/item_status.py @@ -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