Hastily put together vanilla JS + HTML UI for converting MARC XML records to line MARC format using the @biblioteksentralen/marc package together with @biblioteksentralen/xml-utils.
URL: https://biblioteksentralen.github.io/marc-converter/
- Paste your MARC XML record into the input textarea
- The line MARC output will appear automatically below if luck is on your side
- Toggle between plain text and highlighted subfield display using the radio buttons
- Single MARC record: Direct
<record>element - OAI-PMH or SRU envelope: One or more records wrapped in
<records>,<ListRecords>or<GetRecord>.
No build process is required. Simply open index.html in a web browser to run the application locally.
The application is deployed to GitHub Pages using GitHub Actions (see .github/workflows/deploy.yml).