EPrints Technical Mailing List Archive
Message: #02595
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Creating new citation formats....
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Creating new citation formats....
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- Date: Tue, 04 Feb 2014 14:32:36 +0000
On 04/02/14 12:09, John Salter wrote:
[On our install] If you stick a new line in the citation, it comes out as a new line in the output.
If I have an XML file thus:<cite:citation xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns="http://eprints.org/ep3/control" xmlns:cite="http://eprints.org/ep3/citation" >
<print expr="$item.citation('default')" /> <print expr="$item.url()"/> </cite:citation> and export the data as a text file, this is all one line
If you look in ~/perl_lib/EPrints/Script/Compiled.pm it will show you what you can do in EPScript - I don’t think there's a magic 'export' function in there - so you could: - make one by writing into that package ('run_render_export_link' maybe) - do it manually in the citation - something else that someone cleverer than I will no doubt suggest in a minute :o)
I'm suspecting #2 is the way forward I'm also suspecting #3 is more challenging that you appreciate :) -- Ian Stuart. Developer: ORI, RJ-Broker, and OpenDepot.org Bibliographics and Multimedia Service Delivery team, EDINA, The University of Edinburgh. http://edina.ac.uk/ This email was sent via the University of Edinburgh. The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
- References:
- [EP-tech] Creating new citation formats....
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Re: Creating new citation formats....
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Creating new citation formats....
- Prev by Date: [EP-tech] Re: Plugins 101
- Next by Date: [EP-tech] Re: Plugins 101
- Previous by thread: [EP-tech] Re: Creating new citation formats....
- Next by thread: [EP-tech] Re: Creating new citation formats....
- Index(es):