[open-ils-commits] r1156 - in servres/trunk/conifer: integration libsystems/evergreen (gfawcett)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Jan 4 23:06:24 EST 2011
Author: gfawcett
Date: 2011-01-04 23:06:21 -0500 (Tue, 04 Jan 2011)
New Revision: 1156
Modified:
servres/trunk/conifer/integration/uwindsor.py
servres/trunk/conifer/libsystems/evergreen/item_status.py
Log:
a few more uwindsorisms
Modified: servres/trunk/conifer/integration/uwindsor.py
===================================================================
--- servres/trunk/conifer/integration/uwindsor.py 2010-12-30 16:48:25 UTC (rev 1155)
+++ servres/trunk/conifer/integration/uwindsor.py 2011-01-05 04:06:21 UTC (rev 1156)
@@ -154,8 +154,8 @@
Given a bib ID, return either a URL for examining the bib record, or None.
"""
if bib_id:
- return ('http://windsor.concat.ca/opac/en-US'
- '/skin/default/xml/rdetail.xml?r=%s&l=1&d=0' % 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:
# only if we are using Z39.50 for catalogue search. Results including
@@ -309,6 +309,6 @@
return ("I warrant that I am a student of the University of Windsor "
"enrolled in a course of instruction. By pressing the "
"'Request' button below, I am requesting a digital copy of a "
- "reserve reading research, private study, review or criticism "
+ "reserve reading for research, private study, review or criticism "
"and that I will not use the copy for any other purpose, nor "
"will I transmit the copy to any third party.")
Modified: servres/trunk/conifer/libsystems/evergreen/item_status.py
===================================================================
--- servres/trunk/conifer/libsystems/evergreen/item_status.py 2010-12-30 16:48:25 UTC (rev 1155)
+++ servres/trunk/conifer/libsystems/evergreen/item_status.py 2011-01-05 04:06:21 UTC (rev 1156)
@@ -31,9 +31,9 @@
return xml
if __name__ == '__main__':
- support.initialize('http://www.concat.ca/')
- #print url_to_marcxml('http://www.concat.ca/opac/en-US/skin/default/xml/rdetail.xml?r=1082665&t=dylan%20thomas%20ralph&tp=keyword&d=0&hc=14&rt=keyword')
- from xml.etree import ElementTree as ET
- for t in ET.fromstring(bib_id_to_marcxml('2081089')).getiterator():
- print t.text
+ support.initialize('http://windsor.concat.ca/')
+ print url_to_marcxml('http://windsor.concat.ca/opac/en-CA/skin/uwin/xml/rdetail.xml?r=1971331&t=evergreen&tp=keyword&l=106&d=1&hc=210&rt=keyword')
+ # from xml.etree import ElementTree as ET
+ # for t in ET.fromstring(bib_id_to_marcxml('2081089')).getiterator():
+ # print t.text
More information about the open-ils-commits
mailing list