|
|
#1 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,827
Karma: 2831780
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS 650, Kindle3, iPad2, Sony PRS T1, Sony PRS T2
|
Does it have to be XHTML 1.1 Strict?
I have a template in HTML 4.01 strict, and was able to convert a test book to adequate Mobipocket. But the same document was a disaster when converted to ePub and read with ADE. Might this be because it is HTML 4.01 Strict and not XHTML 1.1 Strict? Regards, Alex |
|
|
|
|
|
#2 |
|
zeldinha zippy zeldissima
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,828
Karma: 908606
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
short answer : yes.
there are a few differences between html 4.01 and xhtml 1.1 and epub is based on xhtml, so reverting to html *will* work (more or less) but will not give as good results. on the other hand, when you say it was a "disaster" that surprises me a bit, how bad was it ?
__________________
blog.ex-elibris.fr : les liseuses, les ebooks, nos lectures, la technologie… I don't want none of that mischief on my eels! - pdurrant since i would never want to disappoint wde and vr, we are thrilled to present the next exciting avatar in zelda's wardrobe, by vivaldirules himself. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 393
Karma: 546196
Join Date: Mar 2009
Location: UK canal boat
Device: sony prs505, prs650 liseuses
|
Blimey! I logged in today intending to ask an almost identical question about html v. xhtml and I find the psychic serendipity of mr has given the answer before I have even formulated the question!
Thanks |
|
|
|
|
|
#4 |
|
zeldinha zippy zeldissima
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,828
Karma: 908606
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
hm, perhaps people sharing the first 3 letters of their names have some sort of psychic link ??
:
__________________
blog.ex-elibris.fr : les liseuses, les ebooks, nos lectures, la technologie… I don't want none of that mischief on my eels! - pdurrant since i would never want to disappoint wde and vr, we are thrilled to present the next exciting avatar in zelda's wardrobe, by vivaldirules himself. |
|
|
|
|
|
#5 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 393
Karma: 546196
Join Date: Mar 2009
Location: UK canal boat
Device: sony prs505, prs650 liseuses
|
Or down to the influence of ale? I note that 'ale' appears slightly mangled in 'Zelda' as well.
|
|
|
|
|
|
#6 | |
|
zeldinha zippy zeldissima
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,828
Karma: 908606
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
Quote:
__________________
blog.ex-elibris.fr : les liseuses, les ebooks, nos lectures, la technologie… I don't want none of that mischief on my eels! - pdurrant since i would never want to disappoint wde and vr, we are thrilled to present the next exciting avatar in zelda's wardrobe, by vivaldirules himself. |
|
|
|
|
|
|
#7 |
|
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,955
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
But calibre will convert your HTML 4.01 internally to XHTML 1.1 Strict and use that for the .epub creation.
You should open the resulting .epub (with zip, winzip or winrar) and see exactly what changes calibre applied. Then you can try to "fix" your HTML to find a better work-around. I too like using a single HTML source file to then produce many different ebooks formats from. See Creating multiple ebook formats from same source files! or the Perl code used with GuteBook - the Project Gutenberg eBook Maker/Front-end for my efforts thus far.
__________________
-Nick ‹The REB1200 Guy› |
|
|
|
|
|
#8 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,827
Karma: 2831780
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS 650, Kindle3, iPad2, Sony PRS T1, Sony PRS T2
|
Quote:
It's even more puzzling that my first check, where the output was very poor, was with ADE on my desktop - I don't yet have an epub reader - but when I checked the same ePub document on Calibre's built in viewer it looked fine. In fact it looked far better than the Mobipocket version. So I still don't know what's going on - unless of course Calibre changed my file to XHTML 1.1 and ADE can't or won't. On a slightly divergent topic, I haven't yet caught up with XHTML 1.1, and none of the books I have mention it. Can you point me to a source please where I can read up on it? And on another divergent topic, I was Alec until adolescence (a long time ago) when I met a friend who was also called Alec. So we tossed a coin and I became Alex and have remained that way since. Regards, Alex |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| xhtml file name change | bobcdy | Sigil | 11 | 10-23-2010 12:05 AM |
| KindleGen and XHTML/CSS2 | pdurrant | Amazon Kindle | 33 | 09-12-2010 01:50 PM |
| xhtml from epub | georger | ePub | 8 | 10-13-2009 07:14 AM |
| xhtml document | deadite66 | iRex | 1 | 08-02-2006 03:15 PM |