Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jorol/catmandu-exl
Tools for ALEPHXML and PNX records
https://github.com/jorol/catmandu-exl
Last synced: 9 days ago
JSON representation
Tools for ALEPHXML and PNX records
- Host: GitHub
- URL: https://github.com/jorol/catmandu-exl
- Owner: jorol
- License: other
- Created: 2015-01-14T16:48:38.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-18T11:55:54.000Z (almost 10 years ago)
- Last Synced: 2024-10-15T13:19:48.620Z (24 days ago)
- Language: Perl
- Size: 137 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
# NAME
Catmandu::EXL - Tools for ALEPHXML and PNX records
# SYNOPSIS
# On the command line
catmandu convert MARC --type ALEPHXML to YAML < ./t/aleph.xml
catmandu convert MARC --type ALEPHXML --fix ./t/pnx.fix to PNX < ./t/aleph.xml# In Perl
use EXL::Parser::ALEPHXML;
my $parser = EXL::Parser::ALEPHXML->new( './t/aleph.xml' );
my $record = $parser->next();# In Perl with Catmandu
use Catmandu;
use Catmandu::Importer::MARC;my $importer = Catmandu::Importer::MARC->new(file => "./t/aleph.xml", type => "ALEPHXML");
my $records = $importer->to_array();# DESCRIPTION
_Experimental release_
Catmandu::EXL provides methods, classes, and functions to process ALEPHXML and PNX records in Perl.
ALEPHXML is an export data format of Aleph library systems used in Germany. It is a mix of the Machine Readable Cataloging format (MARC) and the Maschinelles Austauschformat fuer Bibliotheken (MAB), see [https://wiki1.hbz-nrw.de/pages/viewpage.action?pageId=13238276](https://wiki1.hbz-nrw.de/pages/viewpage.action?pageId=13238276) for a more detailed description.
Primo Normalized XML (PNX) is a data format for the Primo discovery system.
Records in Catmandu::EXL are encoded either as as array of arrays, the inner arrays representing record fields, or as an object with two fields, \_id and record, the latter holding the record as array of arrays, and the former holding the record identifier, stored in field 001.
# AUTHOR
Johann Rolschewski
# COPYRIGHT
Copyright 2015- Johann Rolschewski
# LICENSE
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.# SEE ALSO
[Catmandu](https://metacpan.org/pod/Catmandu).