EPrints Technical Mailing List Archive
Message: #08760
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Antwort: Re: Export formats - v3.3.16+
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>, "martin.braendle@uzh.ch" <martin.braendle@uzh.ch>, Yuri <yurj@alfa.it>
- Subject: Re: [EP-tech] Antwort: Re: Export formats - v3.3.16+
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Fri, 8 Oct 2021 09:42:45 +0000
CAUTION: This e-mail originated outside the University of Southampton.
>
the price you pay is development and maintenance cost J so true! My suggestion for a 'hack' that might do something useful would be to look at the 'qs' parameter for Export plugins. Most don't set a qs, so it defaults to 1. For export plugins you want to appear on the simple search, keep these as qs =1. For export plugins you want to appear on advanced search too, set these to qs = 0.9. Then override the 'render export bar' code to use the above scores as a filter, depending on which search you are rendering. The scores are used to determine what order two plugins that can export the same format are used in, so this approach might not be appropriate, as it could change which plugin
is used to reply to certain export requests. See EPrints::Apache::Rewrite::content_negotiate_best_plugin for an example. Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Martin Braendle via Eprints-tech CAUTION: This
e-mail originated outside the University of Southampton. The following permissions in the export plugin control behavior:
For a project, I've added the export dropdown to the single abstract page. As John pointed out, the list is regulated by the plugin permissions, so it is not possible to change the list based on search.
Maybe if you have a use case to explain us, there could be another solution. Il 08/10/21 03:07, Matthew Brady via Eprints-tech ha scritto: CAUTION: This e-mail originated outside the University of Southampton.
__________________________________________________________________
|
- Follow-Ups:
- Re: [EP-tech] Antwort: Re: Export formats - v3.3.16+
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Antwort: Re: Export formats - v3.3.16+
- References:
- [EP-tech] Export formats - v3.3.16+
- From: Matthew Brady <Matthew.Brady@usq.edu.au>
- Re: [EP-tech] Export formats - v3.3.16+
- From: Yuri <yurj@alfa.it>
- [EP-tech] Antwort: Re: Export formats - v3.3.16+
- From: <martin.braendle@uzh.ch>
- Re: [EP-tech] Antwort: Re: Export formats - v3.3.16+
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Export formats - v3.3.16+
- Prev by Date: [EP-tech] Antwort: Re: Export formats - v3.3.16+
- Next by Date: [EP-tech] excalidraw eprints metadata library on github
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):