Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 681 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 681 Bytes

doi_url_updater

This tool can update a set of DOI-URLs.

Example:

Your site moved and you want to update ALL your DataCite DOI's. If so: This tool is for you!

It uses DataCite API to update DOI's like this:

From: http://mysite/view/1234 To: http://myNEWsite/view/1234

How to use this tool?

  1. Copy the script to an server with PHP (tested: PHP 5.5/5.6)
  2. edit updateDOIs.php to your needs ($USER/$PASS are the DataCite account data, set $PROXY if you are behind a proxy)
  3. Run it: php updateDOIs.php
  4. If you are sure that everything works (verify output!) then set $prod = false to $prod = true!
  5. That's it!

If you have any questions: Create an issue.