PubPeerFoundation/PubPeerBrowserExtensions

Get extension working consistently on PubMed

Closed this issue · 3 comments

Many alerts are missing on Pubmed searches:
https://www.ncbi.nlm.nih.gov/pubmed?term=sarkar+fh+2014&cmd=DetailsSearch

To fix this we should add something like:

if url is PubMed:
  search for PMIDs (not for DOIs)

This will require exposing PMIDs in the PubPeer API (if that is not already done)

image

This will require the API to be queried by PMID as well as by DOI.

Something like this for example:
curl -d '{"pmids":["25333034"]}' -H "Content-Type: application/json;charset=UTF-8" -X POST https://pubpeer.com/v3/publications?devkey=Rogier

This change would only apply on the pubmed website. It's possible to identify PMIDs on PubMed because they use the "PMID:" prefix.