Comments (5)
@lise-henry any idea on the topic ?
from epub-builder.
From what I see, the HTML files only contain the body part and is missing the beginning and end for a full XHTML that is required to be understood as valid, e.g.
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<body>
...
</body>
</html>
from epub-builder.
Ok. @Michael-F-Bryan, I guess this is mdBook epub plugin missing a little something maybe, mind checking ? My level in rust is ~ null.
from epub-builder.
It seems that, although not forbidden in the EPUB spec, some readers cannot open EPUB files whose zip central directory have a comment set. You might want to add writer.set_comment("");
after zip_library.rs line 43. On my Kobo Aura 2 this seems to fix the problem, but please test it yourself first.
from epub-builder.
Oh, thank you!
from epub-builder.
Related Issues (17)
- Bump zip-rs dependency HOT 2
- Library doesn't allow metadata with multiple values
- HTML entities (and tags) in chapter titles HOT 3
- Troubles figuring out how to load dummy_image in a real-world scenario HOT 2
- Replace error-chain with other error handling library HOT 3
- Invalid XML
- No compression when use Zip library
- Is it possible to provide a command-line version
- epub_builder::Error no longer available for use in next release. HOT 4
- Release 0.6
- Zip file uses wrong slashes on Windows HOT 1
- EPUB version
- Add async read + write
- publishing epub-builder/0.7.4 on crates.io HOT 1
- Cover image metadata HOT 1
- "This book can't be opened" for example book HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epub-builder.