Add chapter files to Book TOC package for NCBI wholebook PDF build
Context
As discussed last Wed, we are blocked to complete development of our wholebook PDFs based on the new BCMS chapter-processed workflow because when we "put the book back together" we don't have access to all of the images and suppl files. We also know that we planned in the future to have a bulk download of all chapter-processed book files functionality.
Proposal
For the the BCMS to dump all chapter-processed book files and make them available to NCBI by FTP when the BCMS passes a TOC.XML file to NCBI, and to do this in a way that can be reused in the future as a bulk download of all chapter-processed book files that BCMS users can use.
Scoping outcome
Miro ref: scoping session 5
User story 19: BCMS systems require book images and supplementary file at time of TOC ingest so that they can generate one PDF for the complete book from all of its components
This image summarises the discussion we had during the Scoping session
Design
No update relevant to the frontend
Agreed Implementation
- Add the following files types to Book TOC package and send the package in same process as currently done:
- images
- suppl
- converted chapter
- Build this type of TOC package only when a a chapter-processed book has the setting ON for "display book-level PDF"
Note for the files types: only include files corresponding to the Published chapter (or the latest published version chapter number if there are multiple published versions). This is the <?version ?>
specified in the TOC.xml
Time estimate: 3 days
Alternative approaches (if applicable)
Additionally the BMCS could check if any filenames are the same when creating TOC package, if yes, the report this as a Publishing error (this adds 1 day to time estimate)
Open issues (if applicable)
[Links to and a discussion of related issues, if applicable.]
Acceptance Criteria
-
Users can select create wholebook PDF and display book-level PDF for chapter-processed books and when they do so load their contents successfully -
NCBI generated wholebook PDFs will be accurate and of the the same quality as those generated from Silverlight CMS BXML