[EP-tech] Antwort: Re: Export Plugin: Simple Metadata - What is it good for?
jens.vieler at id.uzh.ch
jens.vieler at id.uzh.ch
Tue Feb 28 16:12:02 GMT 2017
Dear Adam
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! ;-)
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.
Jens
--
Jens Vieler
Zentrale Informatik
Universität Zürich
Stampfenbachstrasse 73
CH-8006 Zürich
mail: jens.vieler at id.uzh.ch
phone: +41 44 63 56777
http://www.id.uzh.ch
Von: Adam Field <Adam.Field at jisc.ac.uk>
An: "eprints-tech at ecs.soton.ac.uk" <eprints-tech at ecs.soton.ac.uk>
Datum: 16.02.2017 11:38
Betreff: Re: [EP-tech] Export Plugin: Simple Metadata - What is it good
for?
Gesendet von: eprints-tech-bounces at ecs.soton.ac.uk
If it’s just about tidying the interface, I’d suggest using the ‘advertise’
property of a plugin. You can configure this in the cfg.d directory:
https://github.com/eprints/eprints/blob/3.3/lib/defaultcfg/cfg.d/plugins.pl#L43
-----------------------------
isc
Adam Field
SHERPA services analyst
developer
From: <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of
"jens.vieler at id.uzh.ch" <jens.vieler at id.uzh.ch>
Reply-To: "eprints-tech at ecs.soton.ac.uk"
<eprints-tech at ecs.soton.ac.uk>
Date: Wednesday, 15 February 2017 09:31
To: "eprints-tech at ecs.soton.ac.uk" <eprints-tech at ecs.soton.ac.uk>
Subject: [EP-tech] Export Plugin: Simple Metadata - What is it good
for?
Hey List
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
$self->{accept} = [ 'list/*', 'dataobj/*' ];
to list only
$self->{accept} = [ 'list/*' ];
However: ~/perl_lib/EPrints/Plugin/Export/Simple.pm is just for
single use ($self->{accept} = [ 'dataobj/eprint' ];) and if i delete
this, i could also deactivate the plugin from the system.
So here is my question: Does anybody know what "Simple Metadata" it
good for? Does any routine needs it or is it just a "Show me
all"-Toy?! Recursive grep doesn't show any other used case.
Cheers
Jens
--
Jens Vieler
Zentrale Informatik
Universität Zürich
Stampfenbachstrasse 73
CH-8006 Zürich
mail: jens.vieler at id.uzh.ch
phone: +41 44 63 56777
http://www.id.uzh.ch
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.
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. *** 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170228/a12391d3/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170228/a12391d3/attachment.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 42284191.gif
Type: image/gif
Size: 1264 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170228/a12391d3/attachment-0001.gif
More information about the Eprints-tech
mailing list