[EP-tech] Adding items to EP-XML template
adam at adamfield.net
Tue Nov 21 14:33:56 GMT 2017
The XML export just exports all the fields on an object. I wouldn’t modify it if I were you. The simplest way would be to add a new field to your item.
I’m not sure if virtual fields come out in the XML export, but if they do, adding a virtual field to your object may be the easiest way to do this. Alternatively, use an automatic field and write the citation to it. See
https://wiki.eprints.org/w/Training_Video:Virtual_Fields and https://wiki.eprints.org/w/Training_Video:Automatic_Fields
From: <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of Andrew Beeken <anbeeken at lincoln.ac.uk>
Reply-To: <eprints-tech at ecs.soton.ac.uk>
Date: Tuesday, 21 November 2017 14:24
To: "eprints-tech at ecs.soton.ac.uk" <eprints-tech at ecs.soton.ac.uk>
Subject: [EP-tech] Adding items to EP-XML template
Just took a dive into the EPrints XML export template (perl_lib/EPrints/Plugin/Export/XML.pm) to try and add a node for the records citation to it and I can’t see where you would do this? Is there somewhere separate that defines what data it pulls through?
Cheers in advance!
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/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Eprints-tech