Catmandu::FedoraCommons::Model::describeRepository - Perl model for the Fedora 'describe' method call
use Catmandu::FedoraCommons; my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin'); my $obj = $fedora->describeRepository()->parse_content; { "sampleOAI-URL" : "http://localhost:8080/fedora/oai?verb=Identify", "repositoryName" : "Fedora Repository", "repositoryOAI-identifier" : { "OAI-delimiter" : ":", "OAI-namespaceIdentifier" : "localhost", "OAI-sample" : "oai:localhost:islandora:100" }, "repositoryBaseURL" : "http://localhost:8080/fedora", "sampleAccess-URL" : "http://localhost:8080/fedora/objects/demo:5", "adminEmail" : "libservice@ugent.be", "repositoryVersion" : "3.7.1", "repositoryPID" : { "PID-sample" : "islandora:100", "PID-delimiter" : ":", "PID-namespaceIdentifier" : "islandora", "retainPID" : "*" }, "sampleSearch-URL" : "http://localhost:8080/fedora/objects" }
Catmandu::FedoraCommons
To install Catmandu::FedoraCommons, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::FedoraCommons
CPAN shell
perl -MCPAN -e shell install Catmandu::FedoraCommons
For more information on module installation, please visit the detailed CPAN module installation guide.