Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate Primo Normalized XML.js #1951
Conversation
This comment has been minimized.
This comment has been minimized.
I can look into the linter errors/warnings later, but I would prefer to first know that these changes are fine. |
This comment has been minimized.
This comment has been minimized.
(
instead of
) |
This comment has been minimized.
This comment has been minimized.
@retorquere -- I think you built that part of CI? Seems to struggle with filenames with spaces in it (see zuphilip's post above and travis details) |
adam3smith
reviewed
Jun 9, 2019
I'm mostly fine with this. One question about the new test you added inline. |
"items": [ | ||
{ | ||
"itemType": "book", | ||
"title": "Zur Medienöffentlichkeit der Dritten Gewalt rechtliche Aspekte des Zugangs der Medien zur Rechtsprechung im Verfassungsstaat des Grundgesetzes", |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
zuphilip
Jun 9, 2019
Author
Collaborator
It is not in the PNX data, which is a little strange, because it is in the underlying data. However, I don't see anything we can do in the translator for this case.
This comment has been minimized.
This comment has been minimized.
@adam3smith I'm looking into it |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Currently, we add for example tags for all name forms of Germany which are part of the search section, e.g. https://primo-49man.hosted.exlibrisgroup.com/permalink/f/19ojnqi/MAN_ALMA21126560510002561 . It makes sense to have several name forms saved in the search section, because then all of them can be search in primo, but the normalized form is what you see in the display section.
Do you mean the "Schlagwortketten" like |
This comment has been minimized.
This comment has been minimized.
@retorquere thanks! @zuphilip Thanks for the explanation; makes sense on search vs. display and OK on the missing subtitle delimiter. Yes, I think splitting up the Schlagwortkette makes a lot of sense (and then fix any remaining linting issues) |
zuphilip
force-pushed the
zuphilip:pnx-update
branch
from
d749951
to
27b8daa
Jun 10, 2019
zuphilip
reviewed
Jun 10, 2019
item.itemType = "thesis"; | ||
break; | ||
} | ||
case 'book': |
This comment has been minimized.
This comment has been minimized.
zuphilip
Jun 10, 2019
Author
Collaborator
This indenting looks strange for me, but it was suggested by the linter...
This comment has been minimized.
This comment has been minimized.
dstillman
Jun 12, 2019
Member
I've just changed this in the latest version of the config. The previous style is common in many languages, but there's now a compelling reason to indent switch cases in JavaScript, and the prevailing wisdom seems to have shifted.
This comment has been minimized.
This comment has been minimized.
Okay, I did split up the tags as you suggested. Please have a look. Linting is also done. I can squash later on. |
This comment has been minimized.
This comment has been minimized.
Yes, I think that works better -- thanks! You can squash the PNX and Primo linting into one or leave them as two commits -- I don't have a preference on that either way (the two non-linting PNX ones need to get squashed for sure, though) |
zuphilip
added some commits
Jun 3, 2019
zuphilip
force-pushed the
zuphilip:pnx-update
branch
from
af46105
to
dc34eb6
Jun 10, 2019
This comment has been minimized.
This comment has been minimized.
Squashed the firsts two commits together. |
adam3smith
merged commit dee6f73
into
zotero:master
Jun 10, 2019
1 check passed
This comment has been minimized.
This comment has been minimized.
Thanks! |
zuphilip commentedJun 3, 2019
search sections