HTTP::OAI::RepositoryHTTP::OAI::Repository is a documentation for building an OAI compliant repository using OAI-PERL. | |
Download |
HTTP::OAI::Repository Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- HTTP::OAI::Repository Team
- Publisher web site:
- http://search.cpan.org/~timbrody/HTTP-OAI-3.18/lib/HTTP/OAI/Repository.pm
HTTP::OAI::Repository Tags
HTTP::OAI::Repository Description
HTTP::OAI::Repository is a documentation for building an OAI compliant repository using OAI-PERL. HTTP::OAI::Repository is a documentation for building an OAI compliant repository using OAI-PERL.Using the OAI-PERL library in a repository context requires the user to build the OAI responses to be sent to OAI harvesters.SYNOPSIS use HTTP::OAI::Harvester; use HTTP::OAI::Metadata::OAI_DC; use XML::SAX::Writer; use XML::LibXML; # (all of these options _must_ be supplied to comply with the OAI protocol) # (protocolVersion and responseDate both have sensible defaults) my $r = new HTTP::OAI::Identify( baseURL=>'http://yourhost/cgi/oai', adminEmail=>'youremail@yourhost', repositoryName=>'agoodname', requestURL=>self_url() ); # Include a description (an XML::LibXML Dom object) $r->description(new HTTP::OAI::Metadata(dom=>$dom)); my $r = HTTP::OAI::GetRecord->new( header=>HTTP::OAI::Header->new( identifier=>'oai:myrepo:10', datestamp=>'2004-10-01' ), metadata=>HTTP::OAI::Metadata::OAI_DC->new( dc=>{title=>,description=>} ) ); $r->about(HTTP::OAI::Metadata->new(dom=>$dom)); my $writer = XML::SAX::Writer->new(); $r->set_handler($writer); $r->generate;Requirements:· Perl
HTTP::OAI::Repository Related Software