Ebooks should be generated in CI
... and probably re-generated (not globally, but as needed) with every commit that touches a particular FRUS volume.
Something to sort out, now that we capture FRUS ebook metadata (URL size, date published) in the TEI header's <notesStmt>. An ebook's size and date will change each time the ebook is generated. So we'll need a way to prevent an endless loop of ebook regeneration.
The code for generating ebooks currently lives in https://github.com/HistoryAtState/release/blob/master/ebook-batch.xq.
Ebooks should be generated in CI
... and probably re-generated (not globally, but as needed) with every commit that touches a particular FRUS volume.
Something to sort out, now that we capture FRUS ebook metadata (URL size, date published) in the TEI header's
<notesStmt>. An ebook's size and date will change each time the ebook is generated. So we'll need a way to prevent an endless loop of ebook regeneration.The code for generating ebooks currently lives in https://github.com/HistoryAtState/release/blob/master/ebook-batch.xq.