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

Lizz Jennings e.jennings at bath.ac.uk
Wed Jul 16 17:54:46 BST 2014


Solved it today.

I replaced the return $epdata; in the foreach loop with: 
$plugin->epdata_to_dataobj($dataset, $epdata);

The commented out return $epdata; outside the loop was replaced with return;

Lizz

On 16/07/2014 11:08, Sebastien Francois wrote:
> Well, that looks ok - what's the rough structure of the XML?
>
> Seb.
>
> On 15/07/14 22:50, Elizabeth Jennings wrote:
>> I've attached it.
>>
>> Lizz
>>
>> On 15/07/2014 18:42, Sebastien Francois wrote:
>>> Code? :-)
>>>
>>> Or: where does your import code reside (in which function/method)?
>>>
>>> Seb.
> *** 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/
> *** EPrints developers Forum: http://forum.eprints.org/

-- 
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 at bath.ac.uk



More information about the Eprints-tech mailing list