EPrints Technical Mailing List Archive

Message: #06681


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

[EP-tech] Antwort: Re: Citation on raw db-field value?!


Thank you Christopher and Gilles. :-)

--
Jens Vieler
Zentrale Informatik
Universität Zürich
Stampfenbachstrasse 73
CH-8006 Zürich

mail:  jens.vieler@id.uzh.ch
phone: +41 44 63 56777
http://www.id.uzh.ch


Inactive hide details for Christopher Gutteridge ---04.07.2017 11:01:20---The as_string(<value>) method will output the raw valChristopher Gutteridge ---04.07.2017 11:01:20---The as_string(<value>) method will output the raw value of a field  rather than the rendered version

Von: Christopher Gutteridge <cjg@ecs.soton.ac.uk>
An: eprints-tech@ecs.soton.ac.uk, jens.vieler@id.uzh.ch
Datum: 04.07.2017 11:01
Betreff: Re: [EP-tech] Citation on raw db-field value?!





The as_string(<value>) method will output the raw value of a field rather than the rendered version.

There's also a substr(<value>,<offset>,<length>) which may prove useful here.

Not all the methods got documented on <https://wiki.eprints.org/w/EPScript> but you can find the full list of method names, at least, as the run_METHOD subs in
<https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Script/Compiled.pm>



On 03/07/2017 15:06, jens.vieler@id.uzh.ch wrote:


--
Christopher Gutteridge --
http://users.ecs.soton.ac.uk/cjg

University of Southampton Open Data Service:
http://data.southampton.ac.uk/
You should read our Web & Data Innovation blog:
http://blogs.ecs.soton.ac.uk/webteam/