Provide access to an oai identify response
use HTTP::OAI::Identify;
my $i = new HTTP::OAI::Identify(
adminEmail=>'[email protected]',
baseURL=>'http://www.myarchives.org/oai',
repositoryName=>'www.myarchives.org'
);
for( $i->adminEmail ) {
print $_, "\n";
}
This constructor method returns a new instance of the OAI::Identify module. Return the original version of the \s-1OAI\s0 response, according to the given \s-1XML\s0 namespace. Returns an HTTP::OAI::Headers object. Use $headers->header('headername') to retrive field values. Returns and optionally sets the relevent header. \s-1NOTE:\s0 protocolVersion will always be '2.0'. Use $i->version to find out the protocol version used by the repository. Returns and optionally adds to the multi-value headers. Returns the description list and optionally appends a new description $d. Returns an array ref of HTTP::OAI::Descriptions, or an empty ref if there are no description. Returns the next description or undef if no more description left. Returns a \s-1XML::DOM\s0 object representing the Identify response.