PDA

View Full Version : .CHM to Html converter



syahdeini
26th February 2012, 08:03 AM
can anyone help me with this problem? :)

DBelton
26th February 2012, 03:46 PM
one way..



su -
(root password)

yum install chmlib


Then you can convert the chm file to html easily



extract_chmLib <chmfile> <output directory>

syahdeini
27th February 2012, 03:13 PM
thanks, I have installed this program, and try to run it
[root@Fedora EBOOK]# extract_chmLib 'My Ebook.chm' /Home/Desktop

and the output


My Ebook.chm:
--> /#IDXHDR
--> /#ITBITS
--> /#STRINGS
--> /#SYSTEM
--> /#TOPICS
--> /#URLSTR
--> /#URLTBL
--> /#WINDOWS
--> /$FIftiMain
--> /$OBJINST
--> /$WWAssociativeLinks/Property
--> /$WWKeywordLinks/Property
--> /0321202171.hhc
--> /0321202171/app01.html
--> /0321202171/app02.html
--> /0321202171/app03.html
--> /0321202171/app03lev2sec1.html
--> /0321202171/app03lev2sec2.html
--> /0321202171/app03lev2sec3.html
--> /0321202171/app04.html
--> /0321202171/app04lev1sec1.html
--> /0321202171/app04lev1sec2.html
--> /0321202171/app04lev1sec3.html
--> /0321202171/app04lev1sec4.html
--> /0321202171/app04lev1sec5.html
--> /0321202171/app05.html
--> /0321202171/app06.html
--> /0321202171/app06lev1sec1.html
--> /0321202171/app06lev1sec2.html
--> /0321202171/app07.html
--> /0321202171/app07lev1sec1.html
--> /0321202171/app07lev1sec2.html
--> /0321202171/app07lev1sec3.html
--> /0321202171/app07lev1sec4.html
--> /0321202171/app07lev1sec5.html
--> /0321202171/app07lev1sec6.html
--> /0321202171/app07lev1sec7.html
--> /0321202171/app07lev1sec8.html
--> /0321202171/app08.html
--> /0321202171/ch01.html
--> /0321202171/ch01lev1sec1.html
--> /0321202171/ch01lev1sec2.html
--> /0321202171/ch01lev1sec3.html
--> /0321202171/ch01lev1sec4.html
--> /0321202171/ch02.html
--> /0321202171/ch02lev1sec1.html
--> /0321202171/ch02lev1sec2.html
--> /0321202171/ch02lev1sec3.html
--> /0321202171/ch02lev1sec4.html
--> /0321202171/ch02lev1sec5.html
--> /0321202171/ch03.html
--> /0321202171/ch03lev1sec1.html
--> /0321202171/ch03lev1sec2.html
--> /0321202171/ch03lev1sec3.html
--> /0321202171/ch03lev1sec4.html
--> /0321202171/ch03lev1sec5.html
--> /0321202171/ch03lev1sec6.html
--> /0321202171/ch04.html
--> /0321202171/ch04lev1sec1.html
--> /0321202171/ch04lev1sec2.html
--> /0321202171/ch04lev1sec3.html
--> /0321202171/ch04lev1sec4.html
--> /0321202171/ch05.html
--> /0321202171/ch05lev1sec1.html
--> /0321202171/ch05lev1sec2.html
--> /0321202171/ch05lev1sec3.html
--> /0321202171/ch05lev1sec4.html
--> /0321202171/ch05lev1sec5.html
--> /0321202171/ch06.html
--> /0321202171/ch06lev1sec1.html
--> /0321202171/ch06lev1sec2.html
--> /0321202171/ch06lev1sec3.html
--> /0321202171/ch06lev1sec4.html
--> /0321202171/ch06lev1sec5.html
--> /0321202171/ch07.html
--> /0321202171/ch07lev1sec1.html
--> /0321202171/ch07lev1sec2.html
--> /0321202171/ch07lev1sec3.html
--> /0321202171/ch07lev1sec4.html
--> /0321202171/ch07lev1sec5.html
--> /0321202171/ch07lev1sec6.html
--> /0321202171/ch07lev1sec7.html
--> /0321202171/ch08.html
--> /0321202171/ch08lev1sec1.html
--> /0321202171/ch08lev1sec10.html
--> /0321202171/ch08lev1sec2.html
--> /0321202171/ch08lev1sec3.html
--> /0321202171/ch08lev1sec4.html
--> /0321202171/ch08lev1sec5.html
--> /0321202171/ch08lev1sec6.html
--> /0321202171/ch08lev1sec7.html
--> /0321202171/ch08lev1sec8.html
--> /0321202171/ch08lev1sec9.html
--> /0321202171/ch09.html
--> /0321202171/ch09lev1sec1.html
--> /0321202171/ch09lev1sec2.html
--> /0321202171/ch09lev1sec3.html
--> /0321202171/ch09lev1sec4.html
--> /0321202171/ch09lev1sec5.html
--> /0321202171/ch09lev1sec6.html
--> /0321202171/ch09lev1sec7.html
--> /0321202171/ch10.html
--> /0321202171/ch10lev1sec1.html
--> /0321202171/ch10lev1sec2.html
--> /0321202171/ch10lev1sec3.html
--> /0321202171/ch10lev1sec4.html
--> /0321202171/ch10lev1sec5.html
--> /0321202171/ch10lev1sec6.html
--> /0321202171/ch10lev1sec7.html
--> /0321202171/ch10lev1sec8.html
--> /0321202171/ch11.html
--> /0321202171/ch11lev1sec1.html
--> /0321202171/ch11lev1sec2.html
--> /0321202171/ch11lev1sec3.html
--> /0321202171/ch11lev1sec4.html
--> /0321202171/ch11lev1sec5.html
--> /0321202171/ch11lev1sec6.html
--> /0321202171/ch11lev1sec7.html
--> /0321202171/ch12.html
--> /0321202171/ch12lev1sec1.html
--> /0321202171/ch12lev1sec2.html
--> /0321202171/ch12lev1sec3.html
--> /0321202171/ch12lev1sec4.html
--> /0321202171/ch12lev1sec5.html
--> /0321202171/ch13.html
--> /0321202171/ch13lev1sec1.html
--> /0321202171/ch13lev1sec2.html
--> /0321202171/ch13lev1sec3.html
--> /0321202171/ch13lev1sec4.html
--> /0321202171/ch13lev1sec5.html
--> /0321202171/ch13lev1sec6.html
--> /0321202171/ch13lev1sec7.html
--> /0321202171/ch13lev1sec8.html
--> /0321202171/ch13lev1sec9.html
--> /0321202171/ch14.html
--> /0321202171/ch14lev1sec1.html
--> /0321202171/ch14lev1sec2.html
--> /0321202171/ch14lev1sec3.html
--> /0321202171/ch14lev1sec4.html
--> /0321202171/ch14lev1sec5.html
--> /0321202171/ch14lev1sec6.html
--> /0321202171/ch14lev1sec7.html
--> /0321202171/ch15.html
--> /0321202171/ch15lev1sec1.html
--> /0321202171/ch15lev1sec2.html
--> /0321202171/ch15lev1sec3.html
--> /0321202171/ch15lev1sec4.html
--> /0321202171/ch15lev1sec5.html
--> /0321202171/copyrightpg.html
--> /0321202171/fm01lev1sec1.html
--> /0321202171/fm01lev1sec2.html
--> /0321202171/fm01lev1sec3.html
--> /0321202171/gloss01.html
--> /0321202171/images/0321202171/0321202171_xs.jpg
--> /0321202171/images/0321202171/graphics/01fig01.gif
--> /0321202171/images/0321202171/graphics/01fig02.gif
--> /0321202171/images/0321202171/graphics/01fig03.gif
--> /0321202171/images/0321202171/graphics/01fig03_alt.gif
--> /0321202171/images/0321202171/graphics/03fig01.gif
--> /0321202171/images/0321202171/graphics/03fig01_alt.jpg
--> /0321202171/images/0321202171/graphics/04fig01.gif
--> /0321202171/images/0321202171/graphics/04fig01_alt.gif
--> /0321202171/images/0321202171/graphics/04fig02.gif
--> /0321202171/images/0321202171/graphics/04fig03.gif
--> /0321202171/images/0321202171/graphics/04fig04.gif
--> /0321202171/images/0321202171/graphics/04fig04_alt.gif
--> /0321202171/images/0321202171/graphics/04fig05.gif
--> /0321202171/images/0321202171/graphics/04fig06.gif
--> /0321202171/images/0321202171/graphics/04fig06_alt.gif
--> /0321202171/images/0321202171/graphics/04fig07.gif
--> /0321202171/images/0321202171/graphics/04fig08.gif
--> /0321202171/images/0321202171/graphics/05fig01.gif
--> /0321202171/images/0321202171/graphics/05fig01_alt.gif
--> /0321202171/images/0321202171/graphics/05fig02.jpg
--> /0321202171/images/0321202171/graphics/05fig02_alt.gif
--> /0321202171/images/0321202171/graphics/05fig03.jpg
--> /0321202171/images/0321202171/graphics/05fig04.gif
--> /0321202171/images/0321202171/graphics/05fig04_alt.jpg
--> /0321202171/images/0321202171/graphics/05fig05.jpg
--> /0321202171/images/0321202171/graphics/05fig05_alt.jpg
--> /0321202171/images/0321202171/graphics/05fig06.jpg
--> /0321202171/images/0321202171/graphics/05fig06_alt.gif
--> /0321202171/images/0321202171/graphics/05fig07.gif
--> /0321202171/images/0321202171/graphics/05fig07_alt.jpg
--> /0321202171/images/0321202171/graphics/05fig08.jpg
--> /0321202171/images/0321202171/graphics/05fig08_alt.jpg


but i still can't find the file in /home/Desktop? what supposed I do next?

anishjp
29th February 2012, 10:15 AM
Are u sure u looked under /home/Desktop? If u couldn't find it there then, u might have to re-run it again!

extract_chmLib My_Ebook.chm /home/user_name/Desktop/html_files/

syahdeini
27th March 2012, 01:09 PM
I got it, thanks