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

[EP-tech] Altmetrics



Hi John and Mary,


Based on their being no response for HTTPS and not even being redirected 
to HTTPS when I clicked in the login button, I assumed that HTTPS is not 
enabled at all.? The reason it takes a while to timeout I suspect is due 
to the University of Bolton's firewall dropping packets on port 443 
rather than rejecting them, so it takes longer to work out there is not 
a service on this port.


Mary: I would strongly recommend enabling HTTPS on your repository.? I 
would have advised this sooner but I thought it best to deal with one 
issue at a time.


The reason the Altmetric plugin has the get_secure check is, as far as I 
understand, a really hacky old way to exclude box plugins from appearing 
in the preview tab.? This it was expected would be delivered over HTTPS 
as you would have to be logged in to access this.? However, since many 
repositories have switched to HTTPS everywhere, this check is now 
unsuitable.? I personally do not see a problem with including box 
plugins in the preview tab.? I think previously the was a concern that 
decreased space in the preview tab relative to what there would be for 
the reallabstract/summary page would mean including box plugins could 
lead to messy and unrepresentative previews of this page.? However, 
screen resolutions are much better these days and EPrints is somewhat 
better at support variable width pages, so this reasoning is somewhat 
defunct for most repositories.


Regards


David Newman


On 27/05/2020 10:30, John Salter wrote:
> Hi Mary,
> It looks like your server is struggling to server pages over HTTPS:
> This works:
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fubir.bolton.ac.uk%2F1009%2F&data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=xt2rd5Kx6ojIHRCVxqz%2F4dMshDpgWhT7pezdkhbn%2B4U%3D&reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fubir.bolton.ac.uk%2F1009%2F&amp;data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=Rwx%2BTLT9U8nY4A1UbgYPDvrBE%2B4jvAuZFz2SB0rl%2Fa8%3D&amp;reserved=0>
> this fails (for me at least):
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fubir.bolton.ac.uk%2F1009%2F&amp;data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=Rwx%2BTLT9U8nY4A1UbgYPDvrBE%2B4jvAuZFz2SB0rl%2Fa8%3D&amp;reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fubir.bolton.ac.uk%2F1009%2F&amp;data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=Rwx%2BTLT9U8nY4A1UbgYPDvrBE%2B4jvAuZFz2SB0rl%2Fa8%3D&amp;reserved=0>
>
> There is a line in the code that checks whether the page is 'secure'.
> On the server, this is 
> [EPRINTS_ROOT]/lib/plugins/EPrints/Plugin/Screen/EPrint/Box/Altmetric.pm
> - or
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprintsug%2Faltmetric%2Fblob%2Fmaster%2Flib%2Fplugins%2FEPrints%2FPlugin%2FScreen%2FEPrint%2FBox%2FAltmetric.pm%23L11&amp;data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=QuxM3ZeTlSvWA%2FhGhWCPgDC4AVWmUfZDE9IVccJjXkI%3D&amp;reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprintsug%2Faltmetric%2Fblob%2Fmaster%2Flib%2Fplugins%2FEPrints%2FPlugin%2FScreen%2FEPrint%2FBox%2FAltmetric.pm%23L11&amp;data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=QuxM3ZeTlSvWA%2FhGhWCPgDC4AVWmUfZDE9IVccJjXkI%3D&amp;reserved=0>
>
> If you comment-out this line (put a '#' at the start of the line), and 
> try to regenerate an abstract (for an item with a DOI), it might work.
>
>
> I'm not sure what the intention of the 'get_secure' check is - it was 
> there before I made the last edits to the Altmetric plugin - maybe we 
> should remove it?
>
> Cheers,
> John
> ------------------------------------------------------------------------
> *From:* eprints-tech-bounces at ecs.soton.ac.uk 
> <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of David R Newman via 
> Eprints-tech <eprints-tech at ecs.soton.ac.uk>
> *Sent:* 26 May 2020 14:47
> *To:* eprints-tech at ecs.soton.ac.uk <eprints-tech at ecs.soton.ac.uk>; 
> Barden-McEachern, Mary <M.E.Barden at bolton.ac.uk>
> *Subject:* Re: [EP-tech] Altmetrics
>
> Hi Mary,
>
> Looking at your repository (assuming it is ubir.bolton.ac.uk) I can 
> see that you have the lastest (v1.2.0) version of the Altmetric plugin 
> installed.? This uses a different URL (to lookup DOIs or ISSNs to get 
> Altmetric data) to older versions.? Although looking round the 
> JavaScript you have installed on your repository this URL being used 
> looks to be using the local /cgi/altmetric lookup script in the 
> correct way/
>
> The first thing I would try is going to a publication that has the 
> id_number field set (Identification Number is the default label for 
> this field but you may have changed this) and the value set is a DOI, 
> (values like 10.1006/jmbi.1998.2354, doi:10.1006/jmbi.1998.2354, 
> DOI:10.1006/jmbi.1998.2354, etc. should work) and regenerate the 
> summary page.? The easiest way to do this is to make a small change to 
> the record.? If you then look at the summary page (e.g. 
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fubir.bolton.ac.uk%2F1009%2F&amp;data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=xt2rd5Kx6ojIHRCVxqz%2F4dMshDpgWhT7pezdkhbn%2B4U%3D&amp;reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fubir.bolton.ac.uk%2F1009%2F&amp;data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=xt2rd5Kx6ojIHRCVxqz%2F4dMshDpgWhT7pezdkhbn%2B4U%3D&amp;reserved=0> 
> ) to see if an Altmetric plugin box is displayed.? If not, if you 
> could point me at the page you tested and also provide the value you 
> set in the id_number field, I can take a look to see what is wrong.? 
> It is possible the Altmetric box plugin got disabled somehow but this 
> is difficult to evaluate without access to the configuration for your 
> repository.
>
> I can see that you also have the CORE recommender plugin installed.? 
> This can cause problems mainly with the CSS but in some cases with the 
> JavaScript as well.? Did you add this fairly recently and/or have you 
> been able to see publication summary pages that include both the CORE 
> and Altmetric plugin boxes?
>
> Regards
>
> David Newman
>
> On 26/05/2020 13:57, Barden-McEachern, Mary via Eprints-tech wrote:
>>
>> Hi all
>>
>> I have the Altmetrics plugin installed from the Eprints Bazaar, but 
>> it?s no longer displaying on any of the repository pages. I have 
>> tried uninstalling and reinstalling, but this didn?t help.
>>
>> Can anyone suggest a solution?
>>
>> Thanks
>>
>> Mary
>>
>> Mary Barden
>>
>> MA, PGCE, SFHEA
>>
>> Electronic Resources Librarian
>>
>> The Library
>>
>> The University of Bolton
>>
>> BL3 5AB
>>
>> m.e.barden at bolton.ac.uk <mailto:m.e.barden at bolton.ac.uk>
>>
>> 01204 903547
>>
>> TEN Logo (web)LEAP dLA eMail Signature
>>
>> University of Bolton 
>> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.bolton.ac.uk%2F&amp;data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=b%2FOh75GWJ7RM%2BOGUSZakjNpsAQd%2Br9uFlphSMxxD9u4%3D&amp;reserved=0> 
>>
>>
>> This email (and any attachments) is confidential and may contain 
>> personal views which are not the views of the University of Bolton 
>> unless specifically stated. If you have received it in error, please 
>> delete it from your system. Do not use, copy or disclose information 
>> in any way nor act in reliance on it and notify the sender 
>> immediately. Please note the University of Bolton monitors emails 
>> sent or received. Further communication will signify your consent to 
>> this.
>>
>>
>> *** Options:http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>> *** Archive:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=YiOEGKDmysx0v%2BIBc6lhA1%2Fh15l7Ofni2f4KB7u8AY0%3D&amp;reserved=0  <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=YiOEGKDmysx0v%2BIBc6lhA1%2Fh15l7Ofni2f4KB7u8AY0%3D&amp;reserved=0>
>> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=E6u1UGl80eF91rxzNqxIjQ2pmYUrVskTmav3SNwD2VE%3D&amp;reserved=0  <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=E6u1UGl80eF91rxzNqxIjQ2pmYUrVskTmav3SNwD2VE%3D&amp;reserved=0>
>
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=76Pa%2FHks3YZ3RKeIDOV%2FGBaGQa%2FDvoLV9E8KheE6ZEA%3D&amp;reserved=0> 
> 	Virus-free. https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2F&amp;data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=xSGd5kx7LkQwP8EgBRuOv8bY5gj5ZJq0P9lg1Uq8rB8%3D&amp;reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=76Pa%2FHks3YZ3RKeIDOV%2FGBaGQa%2FDvoLV9E8KheE6ZEA%3D&amp;reserved=0> 
>
>


-- 
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&amp;data=01%7C01%7C%7Cde2c3410ad0341371b3908d8022d06f5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=%2FhCG6SpN1v%2F4ejY1U1%2B8w3E2Q5kfbPlZiwi%2BlHy%2Fa4o%3D&amp;reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200527/42bd9f0a/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 13390 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200527/42bd9f0a/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 18108 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200527/42bd9f0a/attachment-0003.png