GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HTTP::OAI::ListIdentifiers(3) User Contributed Perl Documentation HTTP::OAI::ListIdentifiers(3)

HTTP::OAI::ListIdentifiers - Provide access to an OAI ListIdentifiers response

        my $r = $h->ListIdentifiers;
        while(my $rec = $r->next) {
                print "identifier => ", $rec->identifier, "\n",
                print "datestamp => ", $rec->datestamp, "\n" if $rec->datestamp;
                print "status => ", ($rec->status || 'undef'), "\n";
        }
        die $r->message if $r->is_error;

$li = new OAI::ListIdentifiers
This constructor method returns a new OAI::ListIdentifiers object.
$rec = $li->next
Returns either an HTTP::OAI::Header object, or undef, if there are no more records. Use $rec->is_error to test whether there was an error getting the next record (otherwise things will break).

If -resume was set to false in the Harvest Agent, next may return a string (the resumptionToken).

@il = $li->identifier([$idobj])
Returns the identifier list and optionally adds an identifier or resumptionToken, $idobj. Returns an array ref of HTTP::OAI::Headers.
$dom = $li->toDOM
Returns a XML::DOM object representing the ListIdentifiers response.
$token = $li->resumptionToken([$token])
Returns and optionally sets the HTTP::OAI::ResumptionToken.
2022-09-13 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.