Catman...klight(3pm)
β¨ NAME β¨
okay so bestie, welcome to Catmandu::Blacklight (that's a 3pm manual page, iykyk) β it's the Catmandu modules you need for working with Blacklight catalogs π
πΈ SYNOPSIS πΈ
two ways to do the thing, no cap. first up, from the command line:
# From the command line
$ catmandu convert Blacklight --url http://lib.ugent.be/catalog -q Schopenhauer
and then from Perl, because obviously π
# From Perl
use Catmandu;
my $importer = Catmandu->importer('Blacklight',
url => 'http://lib.ugent.be/catalog' ,
q => 'Schopenhauer');
$importer->each(sub {
my $item = shift;
print "%s %s\n", $item->{_id} , $item->{title}->[0];
});
like, you just hand it a url and a q and it goes π¦
π MODULES π
the squad is small but iconic:
Catmandu::Importer::Blacklightβ the whole crew, honestly
π AUTHOR π
Patrick Hochstenbach, <patrick.hochstenbach at ugent.be> β main character energy fr fr π«Ά
π LICENSE AND COPYRIGHT π
Copyright 2015 Patrick Hochstenbach
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
two licenses, pick your fighter β GPL or Artistic, both valid, no drama π
and that's the whole page bestie!! this was perl v5.36.0, dated 2023-02-02, from the Catmandu...klight(3pm) corner of the internet πβ¨ go forth and import those catalogs, you absolute icon ππ¦
π¦ where this page comes from
- debian bookworm: libcatmandu-blacklight-perl 0.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcatmandu-blacklight-perl 0.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcatmandu-blacklight-perl 0.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcatmandu-blacklight-perl 0.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-blacklight-perl 0.04-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