1HTTP::OAI::Metadata::OAUIs_eDrC(C3opnmt)ributed Perl DocHuTmTePn:t:aOtAiIo:n:Metadata::OAI_DC(3pm)
2
3
4
6 HTTP::OAI::Metadata::OAI_DC - Easy access to OAI Dublin Core
7
9 HTTP::OAI::Metadata::OAI_DC provides a simple interface to parsing and
10 generating OAI Dublin Core ("oai_dc").
11
13 use HTTP::OAI::Metadata::OAI_DC;
14
15 my $md = new HTTP::OAI::Metadata(
16 dc=>{title=>['Hello, World!','Hi, World!']},
17 );
18
19 # Prints "Hello, World!"
20 print $md->dc->{title}->[0], "\n";
21
22 my $xml = $md->metadata();
23
24 $md->metadata($xml);
25
27 HTTP::OAI::Metadata::OAI_DC will automatically (and silently) convert
28 OAI version 1.x oai_dc records into OAI version 2.0 oai_dc records.
29
30
31
32perl v5.34.0 2022-01-21 HTTP::OAI::Metadata::OAI_DC(3pm)