Provided by: libhttp-oai-perl_4.13-1_all
NAME
HTTP::OAI::Metadata::OAI_DC - Easy access to OAI Dublin Core
DESCRIPTION
HTTP::OAI::Metadata::OAI_DC provides a simple interface to parsing and generating OAI Dublin Core ("oai_dc").
SYNOPSIS
use HTTP::OAI::Metadata::OAI_DC; my $md = new HTTP::OAI::Metadata( dc=>{title=>['Hello, World!','Hi, World!']}, ); # Prints "Hello, World!" print $md->dc->{title}->[0], "\n"; my $xml = $md->metadata(); $md->metadata($xml);
NOTE
HTTP::OAI::Metadata::OAI_DC will automatically (and silently) convert OAI version 1.x oai_dc records into OAI version 2.0 oai_dc records.