vote up 3 vote down star
3

I'm trying to decide whether to buy a Kindle 2, now that it's available in Europe. One thing I would like to do with it is put several Windows help files on it (e. g. the Python documentation). Is there a good way to convert a CHM file to a Kindle-readable format?

Or is this something that other e-readers like Sony's do better since EPUB and CHM are both based on HTML?

flag

1  
yes, both EPUB and CHM are HTML containers, ZIP can extract EPUB. – Molly7244 Nov 22 at 2:29

2 Answers

vote up 3 vote down check

if you're using Windows:

1. extract the HTML files from the CHM container from the command prompt with HH.EXE

example:

HH.EXE -decompile C:\Temp\decompile-folder C:\Temp\yourCHM.chm

(Mac users can use Tubby to convert CHM to HTML)

2. merge the HTML files into a single file (e.g. with SoftSnow Merger)

3. use Calibre to convert it to EPUB.

all programs mentioned above are freeware, hh.exe is a Microsoft Windows Help utility.

there are commercial programs like ABC Amber CHM Converter that will perform steps 1 & 2 automatically. however, i don't know any software that will convert CHM directly to EPUB. other commercial applications (e.g. Universal Document Converter) can be used to convert CHM to PDF which the Kindle may or may not handle all that well.

link|flag
1  
+1 nice workaround. – DaveParillo Nov 21 at 23:41
Thanks, Molly. I have been using a similar approach (hhw.exe) with varying success. There are some help files out there that use a .hhc file as their "navigation center" instead of something like an "index.html", and iSilo (Palm HTML converter) couldn't handle that. An example is the PowerShell help file (PowerShell 1.0) - would your approach work for that too? – Tim Nov 22 at 9:12
vote up 2 vote down

Cool workaround by Molly, but you can also use eCub to create ePUB from html pages, this way you don't have a one page book, but books with chapters and various pages.

link|flag
1  
+1 very nice find indeed. – Molly7244 Dec 28 at 18:55

Your Answer

Get an OpenID
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.