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?!
- To: Christopher Gutteridge <cjg@ecs.soton.ac.uk>
- Subject: [EP-tech] Antwort: Re: Citation on raw db-field value?!
- From: jens.vieler@id.uzh.ch
- Date: Tue, 4 Jul 2017 13:54:31 +0200
Thank you Christopher and Gilles. :-) 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 Hi List read the wiki, tested a couple of combinations... can't figure it out: is there a way to get the raw db-field value of an single eprint inside a citation without getting the phrase? I want to use the language_mult field to flag out language changes within the latest tool, using my special citation (Probably i have to cut it from 3-char to 2-char... howto!?). Cheers Jens -- 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
-- 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/ |
- References:
- [EP-tech] Is EPrints 3.4 and beyond open source software?
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- Re: [EP-tech] Is EPrints 3.4 and beyond open source software?
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- Re: [EP-tech] Is EPrints 3.4 and beyond open source software?
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Is EPrints 3.4 and beyond open source software?
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Citation on raw db-field value?!
- From: jens.vieler@id.uzh.ch
- [EP-tech] Is EPrints 3.4 and beyond open source software?
- Prev by Date: Re: [EP-tech] help on configuring OAI-PMH harvester in eprints 3.3.14
- Next by Date: [EP-tech] Translation Spanish help me!!
- Previous by thread: Re: [EP-tech] Citation on raw db-field value?!
- Next by thread: Re: [EP-tech] Is EPrints 3.4 and beyond open source software?
- Index(es):