++ed by:
ZMUGHAL

1 PAUSE user
2 non-PAUSE users.

Thomas Berger
and 2 contributors

Changes for version 1.20

  • additional recordHandler:
    • a metadataHandler will see only the (single) subelement of the OAI metadata element (so for an deleted record it might never be invoced at all)
    • a recordHandler will see the OAI record element and its subelements
  • Therefore a metadataHandler will now be confined to the metadata fragment(s) of the response, and the new recordHandler approximates the old behavior of ListRecords, however OAI-PMH:identifier and OAI-PMH:datestamp will now be properly encapsulated within their OAI-PMH:header element.
  • Additionally, two new methods responseDate() and request() allow access to the corresponding top-level OAI-PMH elements in all response types. A SAX filter of class Net::OAI::Record::DocumentHelper may be used to inject start_document and end_document events into the chain if they are needed.
  • As a temporary measure, you may set $Net::OAI::Harvester::OLDmetadataHandler =1 to change the behavior of handlers passed as "metadataHandler" into that of a recordHandler.
Show More

Documentation

Modules