|
|
|
|
@ -6,6 +6,8 @@ comments: true
|
|
|
|
|
categories:
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
# Manual MARC21 import
|
|
|
|
|
|
|
|
|
|
Wanted to import the [Library of Congress record](https://lccn.loc.gov/83020232) for my Webster's dictionary.
|
|
|
|
|
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`:
|
|
|
|
|
@ -61,3 +63,37 @@ Conversion process: `Tools > UNIMARC Tools > MARC21=>UNIMARC`
|
|
|
|
|
802 $a zz
|
|
|
|
|
```
|
|
|
|
|
{:title="UNIMARC record"}
|
|
|
|
|
|
|
|
|
|
# Automated import through Z39.50
|
|
|
|
|
|
|
|
|
|
_Added 2026-09-29_
|
|
|
|
|
|
|
|
|
|
PMB can query the Library Of Congress Z39.50 server. However the built-in configuration references an old server than no longer exists:
|
|
|
|
|
|
|
|
|
|
* Nom : `Library Of Congress`
|
|
|
|
|
* Utilisation : `CATALOG`
|
|
|
|
|
* Base : `Voyager`
|
|
|
|
|
* URL : `z3950.loc.gov`
|
|
|
|
|
* Numéro de port : `7090`
|
|
|
|
|
* Format : `USMARC`
|
|
|
|
|
|
|
|
|
|
Instead the following configuration can be used:
|
|
|
|
|
|
|
|
|
|
* Nom : `Library Of Congress (new)`
|
|
|
|
|
* Utilisation : `CATALOG`
|
|
|
|
|
* Base : `LCDB`
|
|
|
|
|
* URL : `lx2.loc.gov`
|
|
|
|
|
* Numéro de port : `210`
|
|
|
|
|
* Format : `USMARC`
|
|
|
|
|
|
|
|
|
|
and it works just fine.
|
|
|
|
|
|
|
|
|
|
The default attribute mapping can be left as-is:
|
|
|
|
|
|
|
|
|
|
|Libellé | Attributs serveur|
|
|
|
|
|
|--------|------------------|
|
|
|
|
|
|Auteur | 1003 |
|
|
|
|
|
|ISBN | 7 |
|
|
|
|
|
|Sujet | 21 |
|
|
|
|
|
|Titre | 4 |
|
|
|
|
|
|
|
|
|
|
|