Thread: HTML5 to ePub
View Single Post
Old 02-16-2017, 02:30 AM   #3
fbrzvnrnd
Fanatic
fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.
 
Posts: 559
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
Quote:
Originally Posted by Jerry_Lodriguss View Post
Hi,

1. Looking at some on-line tutorials, it seems that most normal books, which are mostly text, are all xhtml. But when I take one of these xhtml files from an ePub book to just look at it and try to learn what the parts are, the first thing I did was to use an xhtml validator, and none of them validated correctly.
This is quite strange: if an ePub is not validated it can not be sold, usually.

Quote:
Originally Posted by Jerry_Lodriguss View Post
2. Do these xhtml files need a doctype declaration.
In EPUB3 we use the XHTML5, I usually use the doctype declaration.

Quote:
Originally Posted by Jerry_Lodriguss View Post
3. Where can I find some simple explanations for what is required for these fles?
See the good answer of Turtle91.
Quote:
Originally Posted by Jerry_Lodriguss View Post
4. What directory structures are permissible in ePub? Do all of the images have to be in one single images directory, and all of the content in one text directory, both in the OEPBS directory?
Except the mimetipe file and META-INF folder and contents, you are free.

Quote:
Originally Posted by Jerry_Lodriguss View Post
5. Am I asking these questions in the right forum?
I hope!

f.
fbrzvnrnd is offline   Reply With Quote