This is an old revision of the document!
Table of Contents
How to import EPrints with VuFind
Tips and configurations courtesy of Ranju Upadhyay, National University of Ireland Maynooth.
As our repo is EPrints, I have needed to do the configuration in VuFind for data harvest from EPrints. It is not whole lot different than DSpace.
On the EPrints side, the data is already exposed for harvesting in oai_dc, so there was no configuration needed there. On VuFind, I did the following:
1. Set up OAI Harvester
I created a section on oai.ini which looks something like this:
[NUIMEprints] url = http://oureprintshostname/cgi/oai2 metadataPrefix = oai_dc idSearch[] = "/^oai:generic.eprints.org:/" idReplace[] = "nuimeprn-" ;idSearch[] = "/\//" ;idReplace[] = "-" injectId = "identifier" ;injectDate = "datestamp"
The big thing that I discovered in this stage was that VuFind does not like full colon i.e. “:” so I had to use “-” as the delimeter between my namespace and eprints uuid i.e. nuimeprn- and not nuimeprn:
2. Set up import properties
I then copied the dspace.properities file and renamed it to eprints.properties.In this file I made the following changes:
institution = "National University of Ireland Maynooth " collection = "ePrints"
3. Set up import XSLT
I then copied dspace.xsl and renamed it eprints.xsl. Only change I made on this file is:
<!-- RECORDTYPE --> <field name="recordtype">eprints</field>