EPrints Technical Mailing List Archive
Message: #03264
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Importing several items from an XML file
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Importing several items from an XML file
- From: Lizz Jennings <e.jennings@bath.ac.uk>
- Date: Tue, 15 Jul 2014 17:00:33 +0100
Hello all,I'm writing an import plugin - I've managed to get it to match the right fields and single records will import fine (this is through command line at present). However, although it'll iterate through each of the records, it just overwrites the second over the first. So if I put the return statement inside the foreach, I get the first record, and if I put it at the end, I get the second record.
How can I make it make a list of items to import? Lizz -- Lizz Jennings BA MSc ACLIP MCLIP (Revalidated 2013) Technical Data Officer The Library 4.10, University of Bath, Bath, BA2 7AY UK Ext. 3570 (External 01225 383570) E.Jennings@bath.ac.uk
- Follow-Ups:
- [EP-tech] Re: Importing several items from an XML file
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Importing several items from an XML file
- Prev by Date: [EP-tech] Re: IRstat2
- Next by Date: [EP-tech] Re: html is shown when user hovers on preview links
- Previous by thread: [EP-tech] IRstat2
- Next by thread: [EP-tech] Re: Importing several items from an XML file
- Index(es):