EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #01023
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Import files from filesystem
- To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Import files from filesystem
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Tue, 4 Sep 2012 10:54:57 +0100
Thanks for that - I was sure someone somewhere was doing something - just couldn't find it! Any ideas as to why POST params aren't available via render function of an UploadMethod? -----Original Message----- From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Ian Stuart Sent: 03 September 2012 15:57 To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] Re: Import files from filesystem On 03/09/12 15:35, John Salter wrote: > Has anyone written anything that will do something along these lines: > 1. User specifies a folder that is visible to both the EPrints server and their PC > 2. EPrints lists contents of folder (don't really want to start at the top level and list all, there'll be *a lot* of files in there - so need to specify folder first) > 3. User select which items to attach to an eprint (all separate documents) > > I'm torn between doing this as an import plugin, and a upload method. > Sometimes we'll have the files before the metadata (an import method would be best), sometimes the metadata before the files (upload would be best), so I may have to do both. > > I started down the UploadMethod route, but got a bit stuck when the render method couldn't see the POST params (only the GET ones, as far as I could make out). Any hints as to why this is (is it expected behaviour)? Have a look at David T's DepositMo stuff. He did a SWORD-based transfer, but the concept should be similar... -- Ian Stuart. Developer: ORI, RJ-Broker, and OpenDepot.org Bibliographics and Multimedia Service Delivery team, EDINA, The University of Edinburgh. http://edina.ac.uk/ This email was sent via the University of Edinburgh. The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. *** 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/
- References:
- [EP-tech] Import files from filesystem
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Re: Import files from filesystem
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Import files from filesystem
- Prev by Date: [EP-tech] Re: How to customise Division listings
- Next by Date: [EP-tech] Re: backup
- Previous by thread: [EP-tech] Re: Import files from filesystem
- Next by thread: [EP-tech] backup
- Index(es):