Catman...arcxml(3pm)
π Catmandu::Importer::SRU::Parser::marcxml π
okay bestie, so this is a Perl module from the User Contributed Perl Documentation crowd, and its whole job is glow-up energy for SRU responses β it takes them and turns them into Catmandu MARC. no cap.
β¨ NAME β¨
Catmandu::Importer::SRU::Parser::marcxml β the package that transforms SRU responses into Catmandu MARC. literally its entire personality. π¦
πΈ SYNOPSIS πΈ
here's the vibe, copy-paste it and go off:
my $importer = Catmandu::Importer::SRU->new(
base => 'http://www.unicat.be/sru',
query => '(isbn=0855275103 or isbn=3110035170 or isbn=9010017362 or isbn=9014026188)',
recordSchema => 'marcxml',
parser => 'marcxml',
);
look at that query β four ISBNs doing a little or chain like it's a group chat roll call π
isbn=0855275103? present. isbn=3110035170? present. isbn=9010017362? present. isbn=9014026188? present. iconic behavior honestly.
and notice the tag team: recordSchema => 'marcxml' and parser => 'marcxml' β they match, as they should, because that's what makes this whole thing work. π₯
π DESCRIPTION π
every single MARCXML response gets transformed into a format as defined by Catmandu::Importer::MARC. that's it, that's the tea. π«Ά
it's giving "middleware but make it cute" β SRU in, Catmandu MARC out, no drama. π
π AUTHOR π
Patrick Hochstenbach, <patrick.hochstenbach at ugent.be>
put some respect on the name, this person wrote the whole thing. π
and that's a wrap, bestie β this page was living in perl v5.38.2, dated 2021-09-02, and it's still serving. periodt. π β¨
π¦ where this page comes from
- ubuntu noble: libcatmandu-sru-perl 0.43.0-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcatmandu-sru-perl 0.43.0-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-sru-perl 0.43.0-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms