About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
indexing:eprints

This is an old revision of the document!


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>
indexing/eprints.1336480588.txt.gz · Last modified: 2014/06/13 13:13 (external edit)