EPrints

From FezWiki

Jump to: navigation, search

ePrints has an export command line tool “export_xml” perl script which will generate an XML file for an ePrints “archive”. This XML file contains metadata for each record in ePrints but does not contain the file attachments or URLs to the files (eg PDFs). However these file links are available in the ePrints OAI-PMH service provider.


When Fez finds an ePrints XML export file during batch import of a selected directory it will create a Fez Fedora object for each ePrints record and do an OAI-PMH getRecord lookup to the ePrints server to get the URL links for each file attachment, download them and add them to the new Fez object. Fez will also read the document type of each ePrints record and match those against Fez document types automatically. If no document type match is found it is created as the “Generic Document” type.

More detail on setting up the Fez config.inc.php for ePrints batch import will go here soon. One thing to note is that ePrints OAI url locations are different in differing versions of ePrints. These details will be available here in the near future.

For ePrints version 2.3.x (tested on 2.3.13) the config.inc.php variable EPRINTS_OAI should be like:

http://eprints.yourinst.edu.au/perl/oai2?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3AGenericEPrints.OAI2

For ePrints version 2.2.x (tested on 2.2.1) the config.inc.php variable EPRINTS_OAI should be like:

http://eprint.yourinst.edu.au/perl/oai2?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aeprint.yourinst.edu.au%3A

Fez 1.3 will be able to do basic authentication to get the secured ePrints records as well.

Documentation on migrating an eprints.org repository into Fez has been written and deposited in UQ eSpace. The direct link is Migrating eprints.org data to a Fez repository

SourceForge

University of Queensland