How do I convert html pages into a single .chm file using PHP?
Is there a lib开发者_Go百科rary for this task?
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.
Check out phpdoc, it can make CHMs
There is no any direct method for PHP reading/writing CHM file.
This may help. :) http://savannah.nongnu.org/projects/hhm
精彩评论