https://github.com/jaideraf/getpergamummarcrecords
A tool to get MARC records from Pergamum API in many formats (MARC ISO 2709, MARCXML, JSON). Demonstration: https://getpergamum.bu.ufsc.br/acervo/339742?url=https://pergamum.ufsc.br&media_type=application/xml
https://github.com/jaideraf/getpergamummarcrecords
library-catalog marc21 marcxml pergamum
Last synced: 7 months ago
JSON representation
A tool to get MARC records from Pergamum API in many formats (MARC ISO 2709, MARCXML, JSON). Demonstration: https://getpergamum.bu.ufsc.br/acervo/339742?url=https://pergamum.ufsc.br&media_type=application/xml
- Host: GitHub
- URL: https://github.com/jaideraf/getpergamummarcrecords
- Owner: jaideraf
- License: gpl-3.0
- Created: 2023-06-06T19:41:04.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-15T17:38:01.000Z (over 1 year ago)
- Last Synced: 2025-02-17T03:34:40.682Z (over 1 year ago)
- Topics: library-catalog, marc21, marcxml, pergamum
- Language: JavaScript
- Homepage:
- Size: 1.36 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# getPergamumMarcRecords
A tool to get [MARC (Machine-Readable Cataloging)](https://en.wikipedia.org/wiki/MARC_standards) bibliographic records from Pergamum API in many formats (MARC ISO 2709, MARCXML, JSON).
If you use an instance of Pergamum version 9 or you want to use a Python tool that uses Pergamum Web Service, see the [Library API](https://github.com/vitorsilverio/libraryapi) tool.
## Running
### Using Docker
- Get the source code: `git clone https://github.com/jaideraf/getPergamumMarcRecords && cd getPergamumMarcRecords`
- `docker build . -t jaideraf/getpergamummarcrecords`
- `docker run -p 8080:8080 -d jaideraf/getpergamummarcrecords`
or
- `docker-compose up -d`
### Locally
- Make sure you have [Node.js](https://nodejs.org/) 18.16.0+ installed.
- Get the source code: `git clone https://github.com/jaideraf/getPergamumMarcRecords && cd getPergamumMarcRecords`
- Install dependencies: `npm install`
- Start the application: `npm start`
Check it out: https://getpergamum.bu.ufsc.br/acervo/339742?url=https://pergamum.ufsc.br&media_type=application/xml
## Developping
- `npm run dev`
## Demo
### Examples
- A MARC ISO 2709 record from Pergamum:
- A MARCXML record from Pergamum:
- A MARC text record (YAZ style) from Pergamum:
- A JSON MARC record from Pergamum:
- A JSON MARC record ([MIJ style](https://github.com/marc4j/marc4j/wiki/MARC-in-JSON-Description)) from Pergamum (default, if no "media_type" is specified):