Get extension working consistently on PubMed
Closed this issue · 3 comments
brandonStell commented
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)
brandonStell commented
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
XavRsl commented
Sure. But how do you detect pubmed IDs on the client side? Pubmed IDs are
hard to identify...
Le jeu. 3 oct. 2019 à 12:42, Brandon Stell <notifications@github.com> a
écrit :
… 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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#14?email_source=notifications&email_token=AAJBQMFVFTBPGR6PD46IFKDQMXEC5A5CNFSM4IYUUQ32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAHZBEQ#issuecomment-537890962>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJBQMFJ3ADMVDT6YQWSWPLQMXEC5ANCNFSM4IYUUQ3Q>
.
brandonStell commented
This change would only apply on the pubmed website. It's possible to identify PMIDs on PubMed because they use the "PMID:" prefix.