OmnesRes / prepub

Production code for PrePubMed
http://www.prepubmed.org/
MIT License
17 stars 6 forks source link

Hyperlink DOIs to preferred resolver #13

Open katrinleinweber opened 6 years ago

katrinleinweber commented 6 years ago

Hello :-)

The DOI foundation recommends this new resolver. Yes, a bit ironic that they would change the URL of their service, but it's now encrypted. Because the old links with the dx subdomain continue to work, there is no urgent need to do anything.

However, I'd hereby like to suggest to follow the new recommendation and update all static DOI links and any code that generates new DOI links.

Cheers!

OmnesRes commented 6 years ago

Thanks, I didn't know about that, I'll look into it.

katrinleinweber commented 6 years ago

You're welcome :-) I hope it was OK to sed all those data files straight as well. If you want, I can revert that part, though, and reduce this PR down to the f.write function.