EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #02346


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Problem with installing bazaar plugin


Shame on me for forgetting the phrases file... I've uploaded an update with the missing file.

http://bazaar.eprints.org/337/

As John said, it uses the id_number field - which usually stores DOI's in EPrints. If there are no DOI's, the box won't display on the summary page. If Altmetrics doesn't know about that DOI, their site returns a 404 and EPrints displays " No Altmetrics are currently available for this publication."

Seb.

On 30/10/13 10:24, John Salter wrote:

…and it works via the value in the id_number field – which should be a DOI. If there’s nothing in there, it won’t render the box.

 

Cheers,

John

 

 

From: John Salter
Sent: 30 October 2013 10:21
To: 'eprints-tech@ecs.soton.ac.uk'
Subject: RE: Problem with installing bazaar plugin

 

It looks like there’s some phrases that are used in:

http://bazaar.eprints.org/336/1/epm/altmetric/cgi/altmetric

that aren’t defined:

lib/altmetric:not_found

lib/altmetric:unknown_error

 

If you look at your page using Firefox and Firebug, you can see the response from:

http://your.repository/cgi/altmetric - which may well be something like:

{ "error": "1", "message": "["lib/altmetric:not_found" not defined]" }

 

If the phrases were defined, your box would have a ‘No altmetrics found’ type message in it.

 

This also shows an interesting trait of the plugin: the request to altmetrics is proxied – and therefor will be rate-limited by Altmetrics UNLESS you register for an API key. (which can then be added to ~/archives/ARCHIVEID/cfg/cfg.d/z_altmetrics.pl)

 

I think a bit more install instruction for this might be good!

Cheers,

John

 

 

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Budden, Yvonne
Sent: 29 October 2013 18:25
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Problem with installing bazaar plugin

 

Dear All,

 

I wondered if anyone had any problems in installing the ‘Altmetric’ Bazaar plugin.

 

I’ve attempted this on my test environment so far and I get no problems with the install at all, green boxes and confident confirmation that the plugin has installed.  But if I look for the files in the configuration I can’t find all of them and the ‘altmetric’ buttons certainly aren’t appearing in the system.  Have I missed a step?  Or do I need to install some of the files manually?

 

Of the files below I should see installed I can see the ones in bold, but not the others:

·         epm/altmetric/cfg/cfg.d/z_altmetric.pl

·         epm/altmetric/cgi/altmetric

·         plugins/EPrints/Plugin/Screen/EPrint/Box/Altmetric.pm

·         static/images/epm/altmetric.png

·         static/_javascript_/auto/99_altmetric.js

·         static/style/auto/altmetric.css

 

Any ideas?

 

Many thanks,

Yvonne

 

Mrs Yvonne Budden,

Academic Support Manager (Research), University of Warwick

Chair: UK Council of Research Repositories (UKCoRR)

 

Email: y.c.budden@warwick.ac.uk | Tel: +44 2476 5 75793 / +44 2476 1 51275 | University of Warwick Library, Gibbet Hill Road, Coventry. CV4 7AL

 

Research Support: http://go.warwick.ac.uk/lib-researchers 

Open Access Support: http://go.warwick.ac.uk/lib-researchers/authors

Warwick Research Archive Portal (WRAP): http://wrap.warwick.ac.uk

Submit your paper to WRAP: http://go.warwick.ac.uk/irsubmit

 



*** 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/