Catman...Breaker(3pm)
β¨ NAME β¨
okay bestie, listen up π this page is all about Catman...Breaker(3pm) β the manual page for Catmandu::Exporter::Breaker, a package that exports OAI-PMH DC in a Breaker format. yep that's the whole vibe. slay. π
πΈ SYNOPSIS πΈ
like, here's the receipts, fr fr β every single one of these works exactly as written:
# Using the default breaker
$ catmandu convert JSON to Breaker < data.json
# Using a OAI_DC breaker
$ catmandu convert OAI --url http://biblio.ugent.be/oai to Breaker
# Using a MARCXML breaker
$ catmandu convert MARC to Breaker --handler marc
# Using an XML breaker
$ catmandu convert XML --path book to Breaker --handler xml < t/book.xml > data.breaker
# Write a fields file containing all unique fields
$ catmandu convert XML --path book to Breaker --handler xml --fields data.fields < t/book.xml > data.breaker
# Find the usage statistics of fields in the XML file above
$ catmandu breaker data.breaker
# Convert the Breaker format by line into JSON
$ catmandu convert Breaker < data.breaker
# Convert the Breaker format by line into JSON using the fields file
$ catmandu convert Breaker --fields data.fields < data.breaker
no cap, just copy-paste and go π«Ά
π DESCRIPTION π
so the lore is: this whole thing was inspired by the article "Metadata Analysis at the Command-Line" by Mark Phillips, which lives at http://journal.code4lib.org/articles/7818. iconic behaviour honestly.
what this exporter does is take a metadata record and literally break it π β into the Breaker format β so that command line tools can analyze it further. it's giving "deconstructed, but make it useful." main character energy for your metadata. β¨
π BREAKER FORMAT π
the format is lowkey simple and that's the whole point:
<record-identifier><tab><metadata-field><tab><metadata-value>
three things, separated by tabs, in that exact order. periodt. π
π¦ SEE ALSO π¦
Catmandu::Importer::Breakerβ the other half of this situationship π
and that's the tea, bestie π this was the Catman...Breaker(3pm) page β User Contributed Perl Documentation, from perl v5.36.0, dated 2023-02-08. ily, go break some metadata πβ¨
π¦ where this page comes from
- debian bookworm: libcatmandu-breaker-perl 0.141-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcatmandu-breaker-perl 0.141-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcatmandu-breaker-perl 0.141-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcatmandu-breaker-perl 0.141-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-breaker-perl 0.141-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