KewBridge / specimens2illustrations

1 stars 1 forks source link

Find out how to translate a PhytoKeys DOI to the XML representation of the article #4

Closed nickynicolson closed 1 year ago

nickynicolson commented 1 year ago
  1. Get effective URL from DOI:
    $ curl -Ls -o /dev/null -w %{url_effective} https://doi.org/10.3897/phytokeys.22.4041
    https://phytokeys.pensoft.net/articles.php?id=1465
  2. Get the article ID from the URL (the id parameter, ie 1465)
  3. Use the article ID to build a URL of the form: https://phytokeys.pensoft.net/article/ARTICLE_ID/download/xml/