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").
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