Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Windows help is really just a collection of HTML pages. It shouldn't be too hard to get the book.module to write an HTML file for every page in the book, and then write Table of Contents file ... After that is complete, you can generate a Windows Help (.chm) file via the command line.
The benefit is that users can get an easy offline copy of the book which is indexed and searchable. For some people, this is preferable to the current 'one long page' which the book.module currently exports.
Comments
Comment #1
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedI would welcome such an addition. I looked at the Drupal handbook in its
html-version last night and it is not very usefull in its current state.
We should split it into node and add an index as you suggested. Then we
should tar and gz it and send it to the user.
Cheers,
Gerhard
Comment #2
cel4145 CreditAttribution: cel4145 commentedInstead of using Windows help which is platform specific, why not export the book as a pdf? Would be more accessible to Linux and Mac users.
Comment #3
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedPDF generation is possible. Look at my pdfview module
in contrib.
Cheers,
Gerhard
Comment #4
puregin CreditAttribution: puregin commentedSee also http://drupal.org/node/1482. This provides XML export of books, from which it easy to burst the book into a directory tree with one content file per node, and thence generate the CHM file. Alternatively, it should be relatively easy to do this by writing proper 'visitor' callbacks for book_recurse().
Comment #5
puregin CreditAttribution: puregin commentedThis really should be done as a contributed module (but all of this could piggyback on existing book module functionality, see for example the printer friendly output, or export_opml modules for examples). It shouldn't be difficult to do.
Marking the priority as minor.
Comment #6
LAsan CreditAttribution: LAsan commentedStill a feature request?
Comment #7
moshe weitzman CreditAttribution: moshe weitzman commented