scriptotek / mc2skos

Command line script for converting Marc21 Classification and Authority records to SKOS/RDF
The Unlicense
21 stars 4 forks source link

Include MARC example records #3

Closed nichtich closed 8 years ago

nichtich commented 8 years ago

I converted official examples from https://www.loc.gov/marc/classification/examples.html to MARCXML. They are from the 21st edition and English, so the conversion assigns wrong language tags. Once this is fixed we could use the examples for automated testing. I checked that they at least result in no error:

for file in examples/ddc21en*; do mc2skos $file out.skos http://example.org/ --scheme http://example.org/; done
danmichaelo commented 8 years ago

Thx, merged in 38e992a7aab41d3e081656e5e1e54be2f7e417bb