GitbookIO / gitbook

The open source frontend for GitBook doc sites
https://www.gitbook.com
GNU General Public License v3.0
26.97k stars 3.86k forks source link

EPUB Validation Errors #441

Closed nayanseth closed 9 years ago

nayanseth commented 10 years ago

Every time, I export the book as an EPUB file, the EPUB validator displays large number of errors. Why is this so? Because of this, I am not able to upload these EPUB files to iBooks and Google Play. Please help!

screen shot 2014-09-17 at 10 42 38 pm

nayanseth commented 9 years ago

I have rectified the errors myself. Here is what I did:

  1. Change article tag to div tag
  2. Remove the attribute sizes in link tag.
  3. Remove the attribute target in tag
  4. Remove uninitialized id in different tags. Thats it. I would suggest @SamyPesse to make minor modifications to the html part of the program.

Thanks for the software @SamyPesse. Its brilliant. Keep it up.

SamyPesse commented 9 years ago

I keep this issue open since you should not have to do it yourself.

SamyPesse commented 9 years ago

With the coming release, the only remaining validation errors I have are form the content itself, for example links to some images: hyperlink to non-standard resource 'preview.png' of type 'image/png'.