EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #04290
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Eprints info for custom summary page
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Eprints info for custom summary page
- From: Gilles Fournié <gilles.fournie@cirad.fr>
- Date: Mon, 08 Jun 2015 12:41:46 +0200
Hi,For displaying authors in our citations, we use this code (compacted, without spaces nor new lines between xml tags) :
<epc:foreach expr="creators_name" iterator="name"> <epc:if test="$index gt 0">, </epc:if> <epc:print expr="$name{family}" /> <epc:if test="$name{given}"> <epc:print expr="$name{given}" /></epc:if> </epc:foreach> May there are better ways to do it, but it works. Best regards, GF Le 08/06/2015 11:36, Sebastian Nozzi a écrit :
Dear Eprints experts, I'm using the Recollect plugin, and want to tweak the "recollect_summary_page.xml" to display this information: * Creators (last_name_1, first_name_1; last-name_2, first_name_2; etc.) * Year (of publication or last-modification) * Version I've seen that I have $item at my disposal and some other fields seem to be directly accessible. E.g.: <epc:print expr="abstract" /> <epc:print expr="$item.citation('default')" /> However, I have no clue how to get to the information I listed above. I tried several things but I either get a "script error" or a pre-formatted "creators" table, already as a HTML snippet. Any hints? Thanks in advance, Sebastian
- References:
- [EP-tech] Eprints info for custom summary page
- From: Sebastian Nozzi <sen@ist.ac.at>
- [EP-tech] Eprints info for custom summary page
- Prev by Date: [EP-tech] Eprints info for custom summary page
- Next by Date: [EP-tech] Eprints like a harvester?
- Previous by thread: [EP-tech] Eprints info for custom summary page
- Next by thread: [EP-tech] Re: Eprints info for custom summary page
- Index(es):