[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Retrieving arrays for export

Welcome to the world of dereferencing in perl :o)

For a slightly more helpful answer, the best thing is to look at other export plugins and see how they handle multiple fields - maybe looking for 'multiple in here: perl_lib/EPrints/Plugin/Export/Simple.pm might get you started!


-----Original Message-----
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: 19 May 2014 14:37
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Retrieving arrays for export


Okay, so I?m writing a new export template at the moment. Basic CSV output, but I want to extract some data that seems to be stored in arrays ? namely, ISBN. So, when I extract the ISBN in my export template I get the following: ARRAY(some_hex), where some_hex actually changes every time the output is regenerated. I?ve tried outputting the value with a join command to pipe delimit the data but it doesn?t do anything to the output ? any ides?


The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research.

The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.

Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.

The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal.

*** 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/