EPrints Technical Mailing List Archive
Message: #01496
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Importing files and metadata with /bin/import
- To: <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Importing files and metadata with /bin/import
- From: "Nault, Pierre" <nault.pierre@uqam.ca>
- Date: Fri, 25 Jan 2013 13:34:30 -0500
Hi John, It's in the url : <!-- snip grant = {INRIA grant}, timestamp = {2012.11.09}, url = {http://sofa.uqam.ca/users/naouel-moha/paper/2010/Sen10-SoSyM.pdf} } snip--> Incidentally, files would be retrieved from http. The file that you refer to is for import from cgi and it is for just one file. We want to use /bin/import because it permit us to do bulk import (10-20 documents in one shot); it also allow us to attribute documents to a certain user (respectively to teachers that gave use BibTex files) and to put them directly in the archive (instead of the buffer user). In /bin/import help we see : "=item B<--enable-web-imports> Allow the imported data to import files from the Web. This can obviously be seen as a security hole if you don't trust the data you are importing. This sets the "enable_web_imports" configuration option for this session only." This works for imported file format EP3XML but not for BibTex format. How can we change this ? Regards, Pierre -----Message d'origine----- De : eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] De la part de John Salter Envoyé : 25 janvier 2013 12:37 À : 'eprints-tech@ecs.soton.ac.uk' Objet : [EP-tech] Re: Importing files and metadata with /bin/import Hi Pierre, 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: http://files.eprints.org/226/ It might help - although it's for EPrints 2 so will probably need some tweaking to get it working. Cheers, John -----Original Message----- From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Nault, Pierre Sent: 25 January 2013 15:59 To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] Importing files and metadata with /bin/import Hi, 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, pierre #---------------------------------------------# Pierre Nault Bibliothécaire systèmes 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/ *** 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/
- Prev by Date: [EP-tech] Re: Importing files and metadata with /bin/import
- Next by Date: [EP-tech] Re: SWORD and Eprints 3.2 - **SOLVED**
- Previous by thread: [EP-tech] Importing files and metadata with /bin/import
- Next by thread: [EP-tech] Documentation error in RepositoryConfig.pm
- Index(es):