View Single Post
Old 05-31-2011, 12:00 PM   #5
adampatch
Junior Member
adampatch began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2011
Device: kindle
Hi,

I too have tried this for this website:

file:///home/adam/websites/thailand/www.roughguides.com/travel/asia/thailand.html

I downloaded the site using httrack (i use ubuntu 11.04). First of all i tried dragging and dropping into calibre and then when that didn't work i tried using ebbok convert (ebook-convert thailand.html thailand.epub). In both cases, after several hours of processing i finish up with a 1.4mb ebook, with the correct toc (i hadn't really expected that part to work) but each page is blank except for the text

Quote:
<style type=text/css>.tabber{display:none;}</style>
I have tried this with the full version of the website (identical to the link) and with a stripped down version with all the extraneous material removed.

Among the masses of output from ebook-convert we find:
Quote:
Initial parse failed:
Parsing file 'courses-in-chiang-mai.html' as HTML
Forcing courses-in-chiang-mai.html into XHTML namespace
Property: Unknown Property name. [3:2: -moz-border-radius]
Property: Unknown Property name. [4:5: -webkit-border-radius]
Property: Unknown Property name. [5:5: border-radius]
Property: Unknown Property name. [12:2: -moz-border-radius]
Property: Unknown Property name. [13:5: -webkit-border-radius]
Property: Unknown Property name. [14:5: -khtml-border-radius]
Property: Unknown Property name. [15:5: border-radius]
Initial parse failed:
Parsing file u'shadow-right-top-corner.html' as HTML
Forcing shadow-right-top-corner.html into XHTML namespace
Initial parse failed:
Parsing file u'shadow-right.html' as HTML
Forcing shadow-right.html into XHTML namespace
and also

Quote:
Transformed CSS selector #NewContentPages #container #header #main_pic to #newcontentpages #container #header #main_pic
Transformed CSS selector #NewContentPages #container #header #top_nav to #newcontentpages #container #header #top_nav
Property: Invalid value for "CSS Level 2.1" property: hand [1:36: cursor]
I'm afraid i'm a complete novice with html, calibre, ebooks and pretty much everything else so it could be that i'm doing something incredibly stupid but for all my google searching i don't get any closer to success.

Thanks for any help
adampatch is offline   Reply With Quote