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 🫢


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