elifesciences / elife-crossref-xml-generation

Crossref deposit of journal articles
MIT License
4 stars 3 forks source link

Add pending_publication output type as an option. #110

Closed gnott closed 3 years ago

gnott commented 3 years ago

Re issue https://github.com/elifesciences/issues/issues/6569

Adding the ability to specify the submission_type value of pending_publication to produce a minimal Crossref deposit file to pre-register a DOI as a pending publication.

A little refactoring to existing modules to reuse the logic to add the issn value.

When parsing a JATS XML article file, also include the history dates, so the accept date can be used in the pending_publication deposit file.

Planning to release this enhancement in version 0.6.0 of the library.