Closed philgooch closed 8 years ago
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 text_parser.js
as you suggest.
I think the format is MARC21 or UNIMARC
http://www.loc.gov/marc/bibliographic/ http://www.ifla.org/publications/unimarc-formats-and-related-documentation
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!