Catmandu::VIAF(3pm)
π Catmandu::VIAF π
okay bestie, so this is Catmandu::VIAF β it's the module that goes and gets you stuff from the VIAF authority file. That's the Virtual International Authority File, the whole big-deal name-authority situation. You want items? It retrieves items. It's giving authority file fairy godmother. β¨
πΈ SYNOPSIS πΈ
First up, from the command line, no cap:
# From the command line
$ catmandu export VIAF --id 102333412 to YAML
---
dcterms:identifier: '102333412'
guid: http://viaf.org/viaf/102333412
schema:birthDate: 1775-12-16
schema:deathDate: 1817-07-18
schema:description: English novelist
skos:prefLabel: Jane Austen
...
look at that. Jane Austen herself, slaying in YAML format. iconic. π
Then from a Catmandu Fix, like:
# From a Catmandu Fix
lookup_in_store(authortName, VIAF, lang:'nl-NL', fallback_lang:'en-US')
(yeah it's spelled authortName in there, that's literally how it's written, don't come for me π«Ά)
Then if you wanna do a direct match between a name and a mainHeadingEl from VIAF:
# Perform a direct match between a name and a mainHeadingEl from VIAF
viaf_match(authorName, -lang:'nl-NL', -fallback_lang:'en-US')
And if you wanna search for a name in VIAF instead:
# Perform a search for a name in VIAF
viaf_search(authorName, -lang:'nl-NL', -fallback_lang:'en-US')
π MODULES π
the whole squad, fr fr:
Catmandu::Store::VIAFCatmandu::Fix::viaf_matchCatmandu::Fix::viaf_searchCatmandu::VIAF::API
π¦ AUTHORS π¦
the masterminds behind this masterpiece, give them their flowers π:
- Matthias Vandermaesen <matthias.vandermaesen@vlaamsekunstcollectie.be>
- Pieter De Praetere <pieter@packed.be>
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2017 by PACKED, vzw, Vlaamse Kunstcollectie, vzw.
This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, Version 3, June 2007. so yes, bestie, you can absolutely remix it, just respect the license. periodt. π
π SEE ALSO π
go read these too, they're all connected, iykyk:
CatmanduCatmandu::Store::VIAFCatmandu::Fix::viaf_searchCatmandu::Fix::viaf_match
and that's the whole thing! π this lil doc is perl v5.36.0, dated 2023-02-04, and it's filed under Catmandu::VIAF(3pm). mwah. go fetch some authority records. π§π
π¦ where this page comes from
- debian bookworm: libcatmandu-viaf-perl 0.05-2 Β· GPL-3.0-only
- debian trixie: libcatmandu-viaf-perl 0.05-2 Β· GPL-3.0-only
- ubuntu noble: libcatmandu-viaf-perl 0.05-2 Β· GPL-3.0-only
- ubuntu resolute: libcatmandu-viaf-perl 0.05-2 Β· GPL-3.0-only
- ubuntu stonking: libcatmandu-viaf-perl 0.05-2 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms