-
Notifications
You must be signed in to change notification settings - Fork 121
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
Errors in opf #50
Comments
Can confirm i had these issues even when opening Tests.html in firefox aurora. I had initially ignored them because it didn't seem like they cause any issues however you are right it could potentially cause issues in the more light weight readers. |
Priority changed due to affecting firefox review. |
@toshiya4, @belldandu, @typhoon71, @dreamer2908 Issues with namespaces should now be fixed in Sonako branch. |
@dteviot Currently, putting jszip.js or jszip.min.js in "plugin/jszip" gives error. I tried putting the entire thing from Stuck/jszip into that folder and it worked (and the resulting epub didn't have any bugs). I don't get it ;-; |
Oh, so that was it. It needed the whole thing. Works now. |
@toshiya44 @typhoon71 @dteviot The path is now This path is also specified in the edited popup.html and UnitTest.html files. |
D'oh! |
@dteviot you would think that when downloading the zip file it would include the submodule repo's. Not sure if bug or intentionally like that to prevent issues on githubs end. |
@dteviot We should probably shoot github an email asking whether this behavior is intentional or not. |
@belldandu |
Lovely |
So, now the solution is to download JSZip from Stuck/jszip, unzip it and copy-paste the |
Correct.
Thank you. |
As say in the git doc : https://git-scm.com/book/en/v2/Git-Tools-Submodules git clone --recursive URL_REPO Or if downloaded zip cd webToEpub_Directory
git submodule init
git submodule update Or as toshiya44 say just download JSZip and unzip |
@belldandu I've already updated the read me with instructions to download jszip if using source download. |
metadata, manifest, spine and guide sections in the opf has
xmlns=""
inserted in them.<metadata xmlns="" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
<manifest xmlns="">
<spine xmlns="" toc="ncx">
<guide xmlns="">
Again, calibre can still open the book, but I guess it might be an issue for other lightweight apps.
(using Firefox 49.0a2)
The text was updated successfully, but these errors were encountered: