Compare commits

...

2 Commits

Author SHA1 Message Date
Thomas Quinot 449005e850 Add serve script for local tests
continuous-integration/drone/push Build is passing Details
1 year ago
Thomas Quinot d128e71b81 Fix markup syntax for code block titles 1 year ago

@ -10,7 +10,7 @@ Wanted to import the [Library of Congress record](https://lccn.loc.gov/83020232)
It failed with an obscure message (*notices invalides*). Looking at the code, this could be caused by a missing title statement (UNIMARC tag `$200a`).
And indeed upon inspection the title is in MARC zone `$245`:
``` MARC21 record
```marc
00953cam a2200253 a 4500
001 4715262
005 20140505111109.0
@ -32,13 +32,14 @@ And indeed upon inspection the title is in MARC zone `$245`:
991 $b c-GenColl $h PE1625 $i .W34 1984b $t Copy 1 $w BOOKS
991 $b c-GenColl $h PE1625 $i .W34 1984b $p 00017698631 $t Copy 2 $w CCF
```
{:title="MARC21 record"}
Turns out that the LoC notice is in MARC21 format, whereas PMB expects UNIMARC.
So I used [MarcEdit](https://marcedit.reeset.net/) to convert MARC21 to UNIMARC and was able to import.
Conversion process: `Tools > UNIMARC Tools > MARC21=>UNIMARC`
``` UNIMARC record
```marc
00812 22a22002415 450
001 4715262
005 20140505111109.0
@ -59,3 +60,4 @@ Conversion process: `Tools > UNIMARC Tools > MARC21=>UNIMARC`
721 $a Guralnik, David B. $f 1920-2000.
802 $a zz
```
{:title="UNIMARC record"}

@ -0,0 +1,3 @@
#! /bin/sh
bundle exec jekyll serve
Loading…
Cancel
Save