user198729
user198729

Reputation: 63646

How do I convert html pages into a single .chm file using PHP?

Is there a library for this task?

Upvotes: 6

Views: 1736

Answers (3)

Victor Lam
Victor Lam

Reputation: 3710

There is no any direct method for PHP reading/writing CHM file.

This may help. :) http://savannah.nongnu.org/projects/hhm

Upvotes: 0

NeuroScr
NeuroScr

Reputation: 322

Check out phpdoc, it can make CHMs

Upvotes: 0

phimuemue
phimuemue

Reputation: 35993

Does it have to be PHP? If not, you might have a look at

http://en.wikipedia.org/wiki/Microsoft_Compiled_HTML_Help

Look for "Microsoft Help Workshop." ( http://www.microsoft.com/downloads/details.aspx?familyid=00535334-c8a6-452f-9aa0-d597d16580cc&displaylang=en )

A reverse engineering approach is done here: http://www.russotto.net/chm/chmformat.html

So you could look, if you find libraries for the several subproblems.

Upvotes: 3

Related Questions