during testing daps-1.1.5 by creating an example file (daps-init -d
PATH_TO_DOC_DIR) I tried to validate the resulting EPUB file against
epub check 3.0 (Online: http://validator.idpf.org/ )
Besides a bunch of warnings (which I still have to investigate) I get an
error stating
"Mimetype file should contain only the string "application/epub+zip"
IMHO this is due to the fact that the 'mimetype' file inside the EPUB
contains a trailing linefeed (0x0A). This probably can be omitted by
changing make/common.mk from
IMHO this is due to the fact that the 'mimetype' file inside the EPUB contains a trailing linefeed (0x0A). This probably can be omitted by changing make/common.mk
That's correct. I've fixed that in revision 2826. Many thanks! :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
during testing daps-1.1.5 by creating an example file (daps-init -d
PATH_TO_DOC_DIR) I tried to validate the resulting EPUB file against
epub check 3.0 (Online: http://validator.idpf.org/ )
Besides a bunch of warnings (which I still have to investigate) I get an
error stating
"Mimetype file should contain only the string "application/epub+zip"
IMHO this is due to the fact that the 'mimetype' file inside the EPUB
contains a trailing linefeed (0x0A). This probably can be omitted by
changing make/common.mk from
$(EPUB_TMPDIR)/mimetype: | $(EPUB_TMPDIR)
@echo "application/epub+zip" > $@
to
$(EPUB_TMPDIR)/mimetype: | $(EPUB_TMPDIR)
@echo -n "application/epub+zip" > $@
Michael
That's correct. I've fixed that in revision 2826. Many thanks! :-)
I have also uploaded a new 1.1.5 tarball containing that fix (did not raise the version number since 1.1.5 was not officially announced).