Closed (won't fix)
Project:
Drupal core
Version:
7.x-dev
Component:
book.module
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2003 at 15:34 UTC
Updated:
16 May 2009 at 03:15 UTC
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 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 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 commentedPDF generation is possible. Look at my pdfview module
in contrib.
Cheers,
Gerhard
Comment #4
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 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 commentedStill a feature request?
Comment #7
moshe weitzman commented