EPrints Technical Mailing List Archive

Message: #03276


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

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


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