Skip to content

singlePageBooks: Use the print format to load all chapters and inject them at once #5

@PhaserArray

Description

@PhaserArray

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions