View Single Post
Old 08-26-2009, 07:55 AM   #1
Hein
Junior Member
Hein began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2009
Device: prs-505
CHM to sony prs-505

Hi,

I'm looking for a solution for this problem for a couple of day's now. I probably am missing somthing.

I'm trying to convert a chm file to any filetype for the prs-505 (no pdf). I allready decompiled the file using hh -decompile. So now I have a file called toc.html, backcover.html and DDU0001.html through DDU0110.html and a folder with images gif an jpeg and to css files ie.content.books24x7.css, xpolecat.css.

From here I don't know how to proceed. Everything I could find on the web say I should use html2lrf or html2epub but as far as I understand these doesn't excist in the current version of caliber and I should use ebook-convert.

When I try this on either the toc.html file alone or on a zip file of al the files I get an error:

File "parser.pxi", line 568, in lxml.etree._raiseParseError (src/lxml/lxml.etr
ee.c:56902)
lxml.etree.XMLSyntaxError: XML declaration allowed only at the start of the docu
ment, line 33, column 10

What am I doing wrong or is there a better way to convert chm books?

Gr Hein
Hein is offline   Reply With Quote