<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Morning All,<br></div><div><br></div><div>In case anybody else faces the same challenge, I managed to do this eventually. I&#39;m not certain it&#39;s the best way, but it does work well so far.</div><div><br></div><div> My task was to change the creators field in the EPrint metadata from:</div><div><img src="cid:ii_jt8h66gz3" alt="screen_before.png" width="562" height="96"><br></div><div><br></div><div>To (or something similar):</div><div><div><img src="cid:ii_jt8hm0z95" alt="screen_after.png" width="562" height="86"><br></div></div><div><br></div><div>I had a few false starts looking at altering (in my cfg.d!) EPrints::Repository::render_name and in EPrints::MetaField::Name::render_single_value as well as Compile.pm. I took some inspiration from <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fz_orcid_support.pl&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cff9f709395bd449ea90d08d6a86b5592%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=MU4%2F7WzWTpLbT%2BthcQ5PNTcLZASN1IErL%2FZVmluKt2k%3D&amp;reserved=0" originalSrc="http://z_orcid_support.pl" shash="n57fmPBND8CmBGa5p75MRy7Ues6y7Wgw+s8SgFZV7oxOzvyJprVj5hBqs76Way1UFokPpHvs9pbRUbGO5IUn7mKvuJmAhKM23qKP7GEB5iGEW888J4MmumaHl3v/FG3oIcbI5YTKCyIFPuDF4V0hnzbBU5JozzJkFDuDwLWBxjc=">z_orcid_support.pl</a>. I copied and altered this (<a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fz_render_citation_name.pl&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cff9f709395bd449ea90d08d6a86b5592%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=2V6NM7D2rJUhYp36AFFWkaC21X0eojAE4wDiity4GiU%3D&amp;reserved=0" originalSrc="http://z_render_citation_name.pl" shash="dmnW1UAzKzWIMDQsgobUcDHEnqcVCWKM83o5nSSuBRPutr9pwGe71SJ8dNSbQfxzZchapVa7a+juI4U1RaFgHXxwTYXt5S5C5KiPEBF6HemLPxR/VXcZkUuX1LWraWtsfjyn48uYjtirMyq3qNTaUwuFy8c8WIbtIkIhqTJCaHo=">z_render_citation_name.pl</a>) and then in summary_page.xml (recollect_summary_page.xml in this case) called my new function:</div><div><br></div><div>Where I previously had:</div><div><br></div><div>&lt;epc:print expr=&quot;$item.property($fieldname)&quot; /&gt;<br></div><div><br></div><div>I now have:</div><div><br></div><div><div>&lt;epc:if test=&quot;$fieldname != &#39;creators_name&#39;&quot;&gt;</div><div>    <b>&lt;epc:print expr=&quot;$item.property($fieldname)&quot; /&gt;</b></div><div>&lt;/epc:if&gt;</div></div><div><br></div><div><div>&lt;epc:if test=&quot;$fieldname = &#39;creators_name&#39;&quot;&gt;</div><div><b>    &lt;print expr=&quot;citation_namesmeta(creators, eprintid)&quot; /&gt;</b></div><div>&lt;/epc:if&gt;</div></div><div><br></div><div>In my new function I can pretty much alter the display to be anything I like, which is helpful! I can&#39;t say if this is the ideal approach, but it suits my needs.</div><div><br></div><div>Thanks,</div><div>James</div><div><br></div><div><br></div><div><br></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 12, 2019 at 9:51 AM James Kerwin via Eprints-tech &lt;<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi All,<br><div><br></div><div>I&#39;m back on the &quot;Hedonic Treadmill&quot; of EPrints and need some advice.</div><div><br></div><div>I can&#39;t work out how the metadata in an EPrint abstract is rendered, which I need to know in order to change how names of authors/creators are shown. At the moment they are listed side by side, separated by commas. There are too many commas and it&#39;s difficult to read.</div><div><br></div><div>Could anybody point me in the right direction? I&#39;m with it as far as:</div><div><br></div><div>&lt;epc:print expr=&quot;$item.property($fieldname)&quot; /&gt;<br></div><div><br></div><div>in my &quot;summary_page.xml&quot; file. The &quot;name&quot; field in question is a compound field called &quot;creators&quot; (&quot;name&quot; and &quot;id&quot;) and in the summary_page_metadata config I&#39;ve passed the name as &quot;creators_name&quot; so as to not display the related &quot;id&quot; on the abstract pages.</div><div><br></div><div>I spent hours trying to work this out yesterday and didn&#39;t get far.</div><div><br></div><div>Thanks,</div><div>James</div></div></div>
*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cff9f709395bd449ea90d08d6a86b5592%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=uCOQaDZih2W7t2Z2UU%2B%2FjywR%2FQHFFDRzpus70YYCrDg%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="cy7L2D0Ptd2/7+uwEfd1HRrYNEEEHVxJuRNTl8J1CPQ2hcfLdBxzAP3nnKWTzgirWEMEkPOJBaADPis9scI0GBnf8kvoxa6ybbbgxJlXp38nQLjEv5Wql+p4z/dZiOoY5gqx++KAqJ9bxrpmcrmdezXP5IPETukpe2DlCr/oQYA=" rel="noreferrer" target="_blank">http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cff9f709395bd449ea90d08d6a86b5592%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=hHIT6tshxbkNBlYALLeOg7IwClfSCsYful5palOknSk%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="UKsAy8QjROO1psEuT6mRPpcIKcejHY15IoKGrk1VhOAyEk2dYBvCkkQyIzu2BnilAVsUBGYV58LxwaB1RRtHMU2NLY9WJ9jQOMWItdDe3sDpZ+ibcZBwSG+8EAy3Vcy8hrF2kIsHQ7Oi1kOl4ZaXeYgV7Bgw5rHZJdt5+EXrF5I=" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cff9f709395bd449ea90d08d6a86b5592%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=oz%2By7hSL3n5ShcZdodxv9EqW3CRdof%2BJdMjIo4w45Fs%3D&amp;reserved=0" originalSrc="http://forum.eprints.org/" shash="Q3vyLqkpuRa1CxfIG4M3cKKbDU7qAb+ryeSLeNiNa6RMuPECeyphIYOU/RkmhUNwgM77iebKBtE8uLpGPyo0ScKd70CWy5sUaBlHhlprF/xePPkLCNuPQa0l503NCzpdyE2+cLnWVe2/X15jULOvT1oK1bbNAW+vbMrRushuAz0=" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
</blockquote></div>