View Single Post
Old 01-12-2012, 05:32 PM   #1
bwana
Member
bwana began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Mar 2010
Device: none
adding an html doc to calibre

I have a document as html but when i add it to calibre, it appears as a zip file. I try to 'open' it within calibre and all i get is a finder window showing the zip file. I thought maybe calibre didnt know what the character encoding was so I went to Advanced->Plugins->HTML to zip plugin and added utf-8

I tried to convert to epub and and all the links to the pictures and diagrams are missing. I know the html is correct because the pictures show up when i open the raw html file in safari.

Can someone help me with html import? or point me to some examples where these issues are solved? Thanks.

sigil gives me these errors:
line 3 The <language> element is missing.
line 3 The <title> element is missing.
line 236 attribute 'page' is not declared for element 'image'
line 236 no declaration found for element 'image'
line 295 element 'image' is not allowed for content model
'(p|h1|h2|h3|h4|h5|h6|div|ul|ol|dl|pre|hr|blockquo te|address|fieldset|table|switch|form|noscript|ins |del|script)'

line 236 is blank and line 295 is just some text-no image references or any html code. i guess sigil counts lines differently than text editors.

Last edited by bwana; 01-12-2012 at 05:52 PM.
bwana is offline   Reply With Quote