EPrints Technical Mailing List Archive
Message: #04295
< 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: Sebastian Nozzi <sen@ist.ac.at>
- Date: Tue, 09 Jun 2015 09:46:13 +0200
Hi Gilles, thanks for the info. Will try it out. Cheers, Seb. On 2015-06-08 12:41, Gilles Fournié wrote:
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*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/
- References:
- [EP-tech] Eprints info for custom summary page
- From: Sebastian Nozzi <sen@ist.ac.at>
- [EP-tech] Re: Eprints info for custom summary page
- From: Gilles Fournié <gilles.fournie@cirad.fr>
- [EP-tech] Eprints info for custom summary page
- Prev by Date: [EP-tech] Normalize characters for correct sorting
- Next by Date: [EP-tech] Re: Normalize characters for correct sorting
- Previous by thread: [EP-tech] Re: Eprints info for custom summary page
- Next by thread: [EP-tech] Eprints like a harvester?
- Index(es):