def __init__(self):
"""Initialize the Institution object"""
self.algoma = { \
- "code": "OSTMA", \
+ "code": "ALGOMASYS", \
"ebrary_code": "algomauca", \
"proxy": "http://libproxy.auc.ca/login?url=", \
"link_text": "Available online", \
}
self.boreal = { \
- "code": "OSBO", \
- "ebrary_code": "boreal", \
+ "code": "BOREALSYS", \
+ "ebrary_code": "ocls", \
"proxy": "http://ra.ocls.ca/ra/login.aspx?url=", \
"link_text": "Disponible en ligne", \
"access_note": u"Accès réservé aux utilisateurs avec un ID valide Collège Boréal ;" \
}
self.laurentian = { \
- "code": "OSUL", \
+ "code": "LUSYS", \
"ebrary_code": "jndlu", \
"proxy": "https://librweb.laurentian.ca/login?url=", \
"link_text": "Available online / disponible en ligne", \
}
self.windsor = { \
- "code": "OWA", \
+ "code": "WINDSYS", \
"ebrary_code": "oculwindsor", \
"proxy": "http://ezproxy.uwindsor.ca/login?url=", \
"link_text": "Available online", \
url = ebrary_url.group(1) + data['ebrary_code'] + ebrary_url.group(2)
# Only Boreal still wants proxied ebrary links
- if ebrary and data['ebrary_code'] != 'boreal':
+ if ebrary and data['ebrary_code'] != 'ocls':
subs.extend(['u', url])
else:
- if data['ebrary_code'] == 'boreal' and re.search(r'ra.ocls.ca', field['u']):
+ if data['ebrary_code'] == 'ocls' and re.search(r'ra.ocls.ca', field['u']):
subs.extend(['u', field['u']])
else:
subs.extend(['u', data['proxy'] + field['u']])