WIP Ap 835 add alma provider - #104
Draft
jason-raitz wants to merge 6 commits into
Draft
jason-raitz wants to merge 6 commits into
jason-raitz wants to merge 6 commits into
Conversation
- also fixes a couple of typos/bugs - rough sketch of marc_utils (will probably rolled into other util
anarchivist
reviewed
Aug 28, 2026
anarchivist
left a comment
Member
There was a problem hiding this comment.
good start. should this PR be against AP-814-pdf-creation-bag if @steve-sullivan is still working on that branch?
Member
There was a problem hiding this comment.
Could we change the name of this module to mokelumne.util.marc and incorporate the methods mokelumne.util.parse_marc_xml into it?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This will add an Alma provider (https://github.com/BerkeleyLibrary/mokelumne-providers-alma) to mokelumne.
To start out, the Alma provider only allows an unauthenticated user to query alma with an mms_id and get a single
<record>marcxml string returned.Util methods have been added to parse the item's record for languages according to Berkeley's historical use of marc fields. (This will match the legacy perl script's parsing)
A marc_tesseract_map.json has been added along with a util for using it in the marc util.
TODO: