EPrints Technical Mailing List Archive
Message: #07511
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Phrases, Pins and If
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>, "James Kerwin" <jkerwin2101@gmail.com>
- Subject: Re: [EP-tech] Phrases, Pins and If
- From: "Gutteridge C.J." <totl@soton.ac.uk>
- Date: Thu, 4 Oct 2018 11:04:19 +0000
Ah you're embedding XML inside XML. don't do that. Inside test attributes, use the epscript syntax https://wiki.eprints.org/w/EPScript#not_equals However you can't put <if> logic inside phrase files. Logic goes in citation files which use phrase files. The intention is that the phrase file is just the words (and gaps) that can be translated into other languages.
In this case you have two choices, either do it in perl, or make a citation file. If you're doing it as a package to share with others then absolutely make the mail a citation file, passing all relevant values in. However, if it's a local setup for just you, do it in Perl, it's less work. On 04/10/2018 10:18, James Kerwin via Eprints-tech wrote:
-- Christopher Gutteridge <totl@soton.ac.uk> You should read our team blog at http://blog.soton.ac.uk/webteam/ |
- Follow-Ups:
- Re: [EP-tech] Phrases, Pins and If
- From: "Gutteridge C.J." <totl@soton.ac.uk>
- Re: [EP-tech] Phrases, Pins and If
- References:
- [EP-tech] Phrases, Pins and If
- From: James Kerwin <jkerwin2101@gmail.com>
- Re: [EP-tech] Phrases, Pins and If
- From: "Gutteridge C.J." <totl@soton.ac.uk>
- [EP-tech] Phrases, Pins and If
- Prev by Date: [EP-tech] Origin of <pin>
- Next by Date: [EP-tech] REF2021 plugin
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):