[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Antwort: Intermittent altmetric box?

Hi Meghan,

yes, a DOI is required.

We had problems with the box, too, and just implemented Altmetrics in our
eprint_render.pl without using it. Example record:

In cfg.d/z_altmetric, we disable the box:

$c->{plugins}->{"Screen::EPrint::Box::Altmetric"}->{params}->{disable} = 1;

In eprint_render.pl, we use the following code (it adds a column to the
Citations/Altmetrics/Downloads table):

        if ( $eprint->is_set( "doi" ) )
                $td = $session->make_element( "td",
                        valign=>"top" );
                my $altmetrics_title = $session->make_element( "h2" );
                        $session->html_phrase( "page:altmetrics_title" )
                $td->appendChild( $altmetrics_title );

                my $altmetrics_div = $session->make_element( "div",
                        id => "altmetric_summary_page",
                        "data-doi" => $eprint->value( "doi" )

                $altmetrics_div->appendChild( $session->make_javascript
( <<EOJ ) );
new EP_Altmetric_Badge( 'altmetric_summary_page' );
                $td->appendChild( $altmetrics_div );
                $tr->appendChild( $td );

We store the DOI in a field called doi, your implementation may be

Best regards,


Dr. Martin Br?ndle
Zentrale Informatik
Universit?t Z?rich
Stampfenbachstr. 73
CH-8006 Z?rich

Von:	Meghan Jones <M.Jones3 at brighton.ac.uk>
An:	"eprints-tech at ecs.soton.ac.uk" <eprints-tech at ecs.soton.ac.uk>
Datum:	22/09/2015 12:16
Betreff:	[EP-tech]  Intermittent altmetric box?
Gesendet von:	eprints-tech-bounces at ecs.soton.ac.uk

Hello everyone,

Long-time lurker, first time caller here. ;)

We?re adding the altmetrics plugin to our repository but I?m finding a few
odd things that I would appreciate if anyone could shed some light on for
me before we move it to our live service.

The altmetrics box doesn?t always seem to appear on item records that I
think it ought to. I know it needs a DOI to be on the page for it to appear
(assumption here ? would appreciate confirmation) and run a look-up and
where it can?t find any discussion/linkage etc. for a DOI, it normally
displays the ?No Altmetrics are currently available for this publication?
message but for example, this record:
http://eprintsdev.brighton.ac.uk/11748/ does not even have the altmetrics
box (it normally appears underneath the IRStats graph ? we do plan to
relocate it but that?s a whole new kettle of horror)  but has a DOI and if
I check it with the bookmarklet, I can see it has almetrics attached.
(screenshot below)

Could anyone shed any light on this for me? Is it just not parsing our
eprint records correctly? Are we putting something in the wrong place?
Advanced warning, although eprints falls under my remit, I am still very
new to it as a back-end service! Also, we do not do direct deposit, our
records come in via Converis so I?m really hoping this doesn?t involve the
mapping between the two.

Many thanks,


Meghan Jones, Assistant Librarian: Systems

Information Services
Cockcroft Building
University of Brighton
Lewes Road
Brighton BN2 4GJ
T: 01273 642766
E: m.jones3 at brighton.ac.uk

This email has been scanned by MessageLabs' Email Security
System on behalf of the University of Brighton.
For more information see http://www.brighton.ac.uk/is/spam/
___________________________________________________________*** Options:
*** 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/20150929/3a23812b/attachment-0001.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/20150929/3a23812b/attachment-0001.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 36105803.jpg
Type: image/jpeg
Size: 21644 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150929/3a23812b/attachment-0001.jpg