-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse MARC 21 records? #2
Comments
Hi, There isn't a parser in marc4js for this format by default. But it's very similar to the format that marc4js can parse. See this one for example. https://github.com/jiaola/marc4js/blob/master/test/data/PGA_2records.txt At glimpse, the differences I notice are "LEADER" vs "LDR", and "|" vs "$" for subfields. I think with small tweak of the TextParser https://github.com/jiaola/marc4js/blob/master/lib/parse/text_parser.js, marc4js would be able to parse your format. |
Thanks very much for your speedy response! This makes sense, I'll create a new parser based on your I think the format is MARC21 or UNIMARC http://www.loc.gov/marc/bibliographic/ Example: |
In the end it made more sense to transform the source data into the format required by TextParser. I'll close this issue. Thanks again! |
Hi there, most MARC records I come across look like this:
Do you have a parser that can handle this format? Thanks!
The text was updated successfully, but these errors were encountered: