HTML5 to ePub
Hi,
Newbie here hoping for help.
I have written a book in HTML5. I have validated it on two different validation sites, so it's validated HTML5.
It is a fairly complicated book with lots of images and videos and javascript for image switches with mouse clicks, as well as a built-in search engine in javascript, and it goes down into three for four sub-directories for each chapter. I have all of the image files for each chapter in an image directory for that chapter.
I want to turn it into an ePub book.
So, here are my initial questions:
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.
2. Do these xhtml files need a doctype declaration?
3. Where can I find some simple explanations for what is required for these fles?
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?
5. Am I asking these questions in the right forum?
Thanks in advance!
Jerry
|