Opened 9 years ago
Closed 9 years ago
#922 closed defect (fixed)
modify "Library Catalog (Aleph)" translator to work with McGill
| Reported by: | erazlogo | Owned by: | mikowitz |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0.4 |
| Component: | translators | Version: | 1.0 |
| Keywords: | Cc: |
Description
McGill Library Catalogue uses Aleph but the XPath to the MARC fields is different. The original one is:
//*[tr[td/text()="LDR"]]/tr
The one that works with McGill is:
//table[@id="full"]/tbody/tr[td[1][@class="field"]]
Dan thought that the Aleph translator could be modified to work with McGill also, which would be better (but the two strings are so different that I'm not sure it's possible). If that doesn't work, could you add a new translator for McGill (or let me know and I'll do it)?
Change History (5)
comment:1 Changed 9 years ago by dstillman
comment:2 Changed 9 years ago by erazlogo
never mind, i figured out how to do it with one if statement.
comment:3 Changed 9 years ago by erazlogo
- Resolution set to fixed
- Status changed from new to closed
comment:4 Changed 9 years ago by erazlogo
- Resolution fixed deleted
- Status changed from closed to reopened
- Type changed from enhancement to defect
michael--whatever you changed recently broke the translator again. please fix--i fixed this once already. i'm teaching zotero this semester and having the translator break in the middle of the semester is somewhat disruptive to the teaching process. thanks!
comment:5 Changed 9 years ago by mikowitz
- Resolution set to fixed
- Status changed from reopened to closed
We can probably at least put it in a conditional if the first one doesn't work. I can't imagine we'd need a whole new translator...