The HTML2Book module allows you to create multi-page books by splitting the body text of a book page node into multiple nodes upon save. The split points are based upon HTML heading tags.

This makes it possible to create a book in a word processing program, export the result to HTML, and then use this HTML to create a multipage Drupal book.

Requirements

Recommended modules

Installation

  1. Install as you would normally install a contributed drupal module. See: Installing modules for further information.
  2. Enable the HTML2Body module on the Modules list page.
  3. Navigate to the Admin » People » Permissions page and give the roles you will grant access to create multi-page books by means of this module the permission “Use HTML2Book“.

Configuration

The module has no menu or modifiable settings. There is no global configuration. When enabled, the module will add the field group named “HTML2Book Splitter” below the book page “Body” field. To remove this field group, disable the module and clear caches.

The books pages created with this module are regular book pages that will stay around after the module has been disabled. On a production site, once you're done converting the HTML files you want to convert, you should disable the module.

Similar projects

I am aware of two other projects that are similar to this:

Maintainers

Any help with development (patches, reviews, comments) are welcome.