[EP-tech] Re: Importing several items from an XML file

Sebastien Francois sf2 at ecs.soton.ac.uk
Tue Jul 15 18:42:36 BST 2014


Code? :-)

Or: where does your import code reside (in which function/method)?

Seb.

On 15/07/14 17:00, Lizz Jennings wrote:
> 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
>



More information about the Eprints-tech mailing list