[EP-tech] Re: Importing files and metadata with /bin/import
J.Salter at leeds.ac.uk
Fri Jan 25 17:36:31 GMT 2013
How are the file referenced in the BibTex files?
Is it in the URL field, or something else.
Do you have copies of the files stored locally, or would the files be retrieved over http?
You should be able to modify the BibTex import - if you look at the end of the file attached to this:
It might help - although it's for EPrints 2 so will probably need some tweaking to get it working.
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Nault, Pierre
Sent: 25 January 2013 15:59
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Importing files and metadata with /bin/import
We're trying to import metadata and files attach with /bin/import. So far we have been able to import metadata AND files with the XML plugin:
./import name-of-repository --enable-web-imports --user 1184 inbox XML /home/eprints/IMPORTation-en-lot/ep3xml1.xml --verbose
For that we have to make an xml file with the metadata containing à link to the physical document.
But the original metadata file is in BibTex format. We have to convert it into BibTexXML and then apply an xslt transformation to convert it into EP3XML format. That way eprints will digest it and import not only the metadata but also the files that are link. This process is complicated and depend on the quality of the metadata in the BibTeX file -xslt transformation as to be adapted from time to time.
We have tried to import metadata AND files with /bin/import from the BibTex file but this does not import any attach files :
./import name-of-repository --enable-web-imports --user 1184 inbox BibTeX /home/eprints/IMPORTation-en-lot/naouel-certifie.bib --verbose
I'm not a perl connoisseur, but is there a way we could modify the BibTeX plugin so that it would also import the files attach to a BibTeX file like the XML plugin do so nicely ?
We are on eprint 3.1.
Thanks for any advice,
Technologies de l’information
Université du Québec à Montréal
Tél : 514-987-300 #4554
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
More information about the Eprints-tech