thoth-pub / thoth

Metadata management and dissemination system for Open Access books
https://thoth.pub
Apache License 2.0
45 stars 9 forks source link

Automatically create Location entry in Thoth when a Dissemination workflow succeeds #545

Closed rhigman closed 1 month ago

rhigman commented 8 months ago

On successful dissemination, add a new Location entry to the relevant Publication in Thoth, recording the URL(s) of the newly-created directory entry and/or copy of the content.

To be added to the existing Internet Archive/Figshare workflows (Crossref is not relevant as DOIs are already present in Thoth at time of submission). For Internet Archive, the Platform type INTERNET_ARCHIVE is now available; for institutional repositories such as Figshare, OTHER will need to be used.

There would then be potential for replacing the current logic for checking whether or not a Work already exists in the target platform, instead looking at whether a Location with the relevant Platform exists.

This can then be extended to new dissemination platforms when they are implemented. Ease of implementation may depend on individual platforms' workflows; Internet Archive returns the relevant URL to the dissemination script immediately on creation, but e.g. FTP-based workflows are unlikely to be as neat.

rhigman commented 8 months ago

As part of this work, add something like PUBLISHER_WEBSITE to the set of location platform types.

ja573 commented 7 months ago

As part of this work, add something like PUBLISHER_WEBSITE to the set of location platform types.

Tracked separately now under #561

rhigman commented 5 months ago