EPrints Technical Mailing List Archive
Message: #06950
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Adding items to EP-XML template
- To: <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Adding items to EP-XML template
- From: Adam Field <adam@adamfield.net>
- Date: Tue, 21 Nov 2017 14:33:56 +0000
Hi Andrew 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 -- Adam From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Andrew Beeken <anbeeken@lincoln.ac.uk> Hi all, 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! Andrew
*** 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/ |
- Prev by Date: [EP-tech] Adding items to EP-XML template
- Next by Date: Re: [EP-tech] Adding items to EP-XML template
- Previous by thread: [EP-tech] Adding items to EP-XML template
- Next by thread: Re: [EP-tech] Adding items to EP-XML template
- Index(es):