-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid epub - fix available #24
Comments
clach04
added a commit
to clach04/pypub
that referenced
this issue
Jul 28, 2023
Use own zip code to walk directory and place mimetype file first. Fix EPUBCheck v5.1.0 ERROR(PKG-006): Mimetype wrong location ERROR(PKG-006): My First Epub.epub//...../My%20First%20Epub.epub(-1,-1): Mimetype file entry is missing or is not the first file in the archive.
clach04
added a commit
to clach04/pypub
that referenced
this issue
Jul 28, 2023
Use own zip code to walk directory and place mimetype file first. Fix EPUBCheck v5.1.0 ERROR(PKG-006): Mimetype wrong location ERROR(PKG-006): My First Epub.epub//...../My%20First%20Epub.epub(-1,-1): Mimetype file entry is missing or is not the first file in the archive.
clach04
added a commit
to clach04/pypub
that referenced
this issue
Jul 28, 2023
Fix EPUBCheck v5.1.0 FATAL(RSC-016) had hr tag FATAL(RSC-016): ......epub/OEBPS/toc.html(15,5): Fatal Error while parsing file: The element type "hr" must be terminated by the matching end-tag "</hr>".
2 smaller tests: single chapterTest case
epub check output
multiple chapters
|
clach04
added a commit
to clach04/pypub
that referenced
this issue
Jul 29, 2023
* Clarify epub version support - specifically epub2 / version 2 * TODO notes in relation to title support * implement title per chapter to ensure epub is valid - epubcheck ERROR(RSC-005) * correct uuid support * ensure correct unique id is declared ERROR(OPF-048) and ERROR(RSC-005) * various missing html/xhml tag fixes ERROR(HTM-004 * ISO/ANSI dates (date only at the moment) ERROR(OPF-054) * TODO note for dates, include timestamp * use valid xml id/names for chapters ERROR(HTM-004) * use consistent filenames for chapter that matches id Allows EPUBCheck v5.1.0 to run clean with simple html chapter content.
Fixed by clach04@274a976 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current demo works with some ereaders. Fails with KoReader. Also fails EPUBCheck v5.1.0
NOTE this is with fix applied from #16
The text was updated successfully, but these errors were encountered: