Moodle appears to have an /mod/book/tool/print/ path, which could be used to fetch the contents of an entire book with one GET request. Using this method to load all chapters would significantly improve performance and reliability of the singlePageBooks module. The only complication would be stripping the metadata at the top and updating the table of contents.
Moodle appears to have an
/mod/book/tool/print/path, which could be used to fetch the contents of an entire book with one GET request. Using this method to load all chapters would significantly improve performance and reliability of the singlePageBooks module. The only complication would be stripping the metadata at the top and updating the table of contents.