<html><body bgcolor="#FFFFFF">
<p><font size="2" face="sans-serif">Dear Adam</font><br>
<br>
<font size="2" face="sans-serif">Thanks for your hint. Very interesting, but unfortunately (and after a short test i'm shure) advertise property is blocking both: List and Single View... of course! ;-)</font><br>
<br>
<font size="2" face="sans-serif">We want to differentiate the behaviour between single and list view. List view should offer the Export Plugin, single view should not. So we need to use accept list/dataobj to control our interest.</font><br>
<br>
<font size="2" face="sans-serif">Jens</font><br>
<br>
<font size="2" face="sans-serif">-- <br>
Jens Vieler<br>
Zentrale Informatik<br>
Universität Zürich<br>
Stampfenbachstrasse 73<br>
CH-8006 Zürich<br>
<br>
mail: &nbsp;jens.vieler@id.uzh.ch<br>
phone: +41 44 63 56777<br>
<a href="http://www.id.uzh.ch">http://www.id.uzh.ch</a></font><br>
<br>
<img width="16" height="16" src="cid:1__=4EBB0A46DFC476D98f9e8a93df9@lotus.uzh.ch" border="0" alt="Inactive hide details for Adam Field ---16.02.2017 11:38:37---If it’s just about tidying the interface, I’d suggest using the"><font size="2" color="#424282" face="sans-serif">Adam Field ---16.02.2017 11:38:37---If it’s just about tidying the interface, I’d suggest using the ‘advertise’ property of a plugin. &nbsp;Y</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">Von:        </font><font size="1" face="sans-serif">Adam Field &lt;Adam.Field@jisc.ac.uk&gt;</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">An:        </font><font size="1" face="sans-serif">&quot;eprints-tech@ecs.soton.ac.uk&quot; &lt;eprints-tech@ecs.soton.ac.uk&gt;</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Datum:        </font><font size="1" face="sans-serif">16.02.2017 11:38</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Betreff:        </font><font size="1" face="sans-serif">Re: [EP-tech] Export Plugin: Simple Metadata - What is it good for?</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Gesendet von:        </font><font size="1" face="sans-serif">eprints-tech-bounces@ecs.soton.ac.uk</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="2" face="Calibri">If it’s just about tidying the interface, I’d suggest using the ‘advertise’ property of a plugin. &nbsp;You can configure this in the cfg.d directory:</font><br>
<font size="2" face="Calibri">&nbsp;</font><br>
<font size="2" face="Calibri"><a href="https://github.com/eprints/eprints/blob/3.3/lib/defaultcfg/cfg.d/plugins.pl#L43">https://github.com/eprints/eprints/blob/3.3/lib/defaultcfg/cfg.d/plugins.pl#L43</a></font><br>
<font size="2" face="Calibri">&nbsp;</font><br>
<font size="2" face="Times New Roman">&nbsp;</font>
<p>
<table class="MsoNormalTable" border="1">
<tr valign="top"><td width="235"><a href="http://www.jisc.ac.uk/"><img src="cid:2__=4EBB0A46DFC476D98f9e8a93df9@lotus.uzh.ch" width="60" height="35" alt="isc" align="bottom" border="0"></a></td></tr>

<tr valign="top"><td width="235"><font size="3" color="#2C3841" face="Corbel"><b>Adam Field</b></font><font size="3" color="#2C3841" face="Corbel"><br>
SHERPA services analyst developer</font></td></tr>
</table>
<font size="2" face="Calibri">&nbsp;</font><br>
<font size="2" face="Calibri">&nbsp;</font>
<ul style="padding-left: 36pt"><font size="3" face="Calibri"><b>From: </b></font><font size="3" face="Calibri">&lt;eprints-tech-bounces@ecs.soton.ac.uk&gt; on behalf of &quot;jens.vieler@id.uzh.ch&quot; &lt;jens.vieler@id.uzh.ch&gt;</font><font size="3" face="Calibri"><b><br>
Reply-To: </b></font><font size="3" face="Calibri">&quot;eprints-tech@ecs.soton.ac.uk&quot; &lt;eprints-tech@ecs.soton.ac.uk&gt;</font><font size="3" face="Calibri"><b><br>
Date: </b></font><font size="3" face="Calibri">Wednesday, 15 February 2017 09:31</font><font size="3" face="Calibri"><b><br>
To: </b></font><font size="3" face="Calibri">&quot;eprints-tech@ecs.soton.ac.uk&quot; &lt;eprints-tech@ecs.soton.ac.uk&gt;</font><font size="3" face="Calibri"><b><br>
Subject: </b></font><font size="3" face="Calibri">[EP-tech] Export Plugin: Simple Metadata - What is it good for?</font><br>
<font size="3" face="Times New Roman">&nbsp;</font>
<p><font size="2" face="sans-serif">Hey List</font><font size="3" face="Times New Roman"><br>
</font><font size="2" face="sans-serif"><br>
while tidy up the single EPrint view for our customers, we want to throw away all unneded export plugins. Therefor i'll change the accept conditions from single dataobj and list</font><font size="3" face="Times New Roman"><br>
</font><font size="2" face="sans-serif"><br>
$self-&gt;{accept} = [ 'list/*', 'dataobj/*' ];</font><font size="3" face="Times New Roman"><br>
</font><font size="2" face="sans-serif"><br>
to list only</font><font size="3" face="Times New Roman"><br>
</font><font size="2" face="sans-serif"><br>
$self-&gt;{accept} = [ 'list/*' ];</font><font size="3" face="Times New Roman"><br>
</font><font size="2" face="sans-serif"><br>
However: ~/perl_lib/EPrints/Plugin/Export/Simple.pm is just for single use ($self-&gt;{accept} = [ 'dataobj/eprint' ];) and if i delete this, i could also deactivate the plugin from the system.</font><font size="3" face="Times New Roman"><br>
</font><font size="2" face="sans-serif"><br>
So here is my question: Does anybody know what &quot;Simple Metadata&quot; it good for? Does any routine needs it or is it just a &quot;Show me all&quot;-Toy?! Recursive grep doesn't show any other used case.</font><font size="3" face="Times New Roman"><br>
</font><font size="2" face="sans-serif"><br>
Cheers<br>
 Jens</font><font size="3" face="Times New Roman"><br>
</font><font size="2" face="sans-serif"><br>
-- <br>
Jens Vieler<br>
Zentrale Informatik<br>
Universität Zürich<br>
Stampfenbachstrasse 73<br>
CH-8006 Zürich</font><font size="2" face="PMingLiU"><br>
</font><font size="2" face="sans-serif"><br>
mail: &nbsp;jens.vieler@id.uzh.ch<br>
phone: +41 44 63 56777</font><font size="2" color="#0000FF" face="sans-serif"><u><br>
</u></font><a href="http://www.id.uzh.ch/"><font size="2" color="#0000FF" face="sans-serif"><u>http://www.id.uzh.ch</u></font></a><font size="3" face="Times New Roman">&nbsp;</font></ul>
<br>
<font size="1" face="Corbel"><br>
Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.<br>
<br>
Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800. </font><tt><font size="2">*** Options: </font></tt><tt><font size="2"><a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a></font></tt><tt><font size="2"><br>
*** Archive: </font></tt><tt><font size="2"><a href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a></font></tt><tt><font size="2"><br>
*** EPrints community wiki: </font></tt><tt><font size="2"><a href="http://wiki.eprints.org/">http://wiki.eprints.org/</a></font></tt><tt><font size="2"><br>
*** EPrints developers Forum: </font></tt><tt><font size="2"><a href="http://forum.eprints.org/">http://forum.eprints.org/</a></font></tt><tt><font size="2"><br>
</font></tt>
<p></body></html>