[open-ils-commits] r1183 - in servres/trunk/conifer: integration libsystems/evergreen (gfawcett)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Jan 10 10:57:12 EST 2011
Author: gfawcett
Date: 2011-01-10 10:57:09 -0500 (Mon, 10 Jan 2011)
New Revision: 1183
Modified:
servres/trunk/conifer/integration/uwindsor.py
servres/trunk/conifer/libsystems/evergreen/item_status.py
Log:
disable 'get_better_copy_of_marc' for now, it lacks the <volume> and <link> stuff we need
Modified: servres/trunk/conifer/integration/uwindsor.py
===================================================================
--- servres/trunk/conifer/integration/uwindsor.py 2011-01-10 15:15:39 UTC (rev 1182)
+++ servres/trunk/conifer/integration/uwindsor.py 2011-01-10 15:57:09 UTC (rev 1183)
@@ -200,7 +200,7 @@
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").
Modified: servres/trunk/conifer/libsystems/evergreen/item_status.py
===================================================================
--- servres/trunk/conifer/libsystems/evergreen/item_status.py 2011-01-10 15:15:39 UTC (rev 1182)
+++ servres/trunk/conifer/libsystems/evergreen/item_status.py 2011-01-10 15:57:09 UTC (rev 1183)
@@ -25,8 +25,9 @@
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
More information about the open-ils-commits
mailing list