-
Notifications
You must be signed in to change notification settings - Fork 19
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
assets/index.html file is missing #17
Comments
Have you compiled the app yourself? |
After adding index.html from web folder to assets folder. I am no longer
facing the index.html missing issue but I am unable to open any of the
.epub files in the app on the android emulator.
Some shows "Incorrect EPUB manifest" error with some of the .xhtml file
missing.
While other gets added to the app but does not open.
Does your epub reader supports all of the 3 available formats (OCF, OPF,
OPS) of epub files?
Which version of the epub files (2, 3, 3.2) your epub reader supports?
It is throwing error of some .xhtml file missing for epub3 file.
How can I use your product as a stand alone project? If you have any
documentation or video tutorial about the same please let me know.
Hoping to hear from you soon.
Thanks.
…On Thu, 22 Jun 2023 at 13:43, Flafy ***@***.***> wrote:
Have you compiled the app yourself?
If so, then look at the instructions in the README, "Running from source".
You probably didn't compile index.html.
—
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYQGMJAHOXUMJXLWQZ4M3VTXMP5D7ANCNFSM6AAAAAAZPWFCEA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The project is supposed to work with both ePub 2 and 3. But some ePub files may not work due to parsing errors. ePub files may fail either because the ePub file doesn't follow the specification correctly or the project doesn't handle the ePub file correctly. Try several ePub files and see if one of them works.
Are you asking where the ePub parser's code is located? It's https://github.com/FlafyDev/dart-epubz |
Thanks for the reply. Can you help me with few more things
Thanks again. |
To add the ePub parser as a dependency for a dart/flutter project, add the following to the dependencies:
epubz:
git:
url: https://github.com/FlafyDev/dart-epubz.git
ref: dev An example of how to parse an ePub file: https://github.com/flafydev/dart-epubz#example
The ePub reader has book specific configurations and global configurations. Styling of each book is not global.
Yeah, this ePub reader supports both dark and light modes |
Thanks, I'll check it out.
…On Thu, 22 Jun 2023 at 16:30, Flafy ***@***.***> wrote:
How can I integrate this ePub parser code into my project. By using epubz
as a pkg in pubspec.yaml file?
To add the ePub parser as a dependency for a dart/flutter project, add the
following to the pubspec.yaml file:
dependencies:
epubz:
git:
url: https://github.com/FlafyDev/dart-epubz.git
ref: dev
An example of how to parse an ePub file:
https://github.com/flafydev/dart-epubz#example
Do I have to set-up the configuration of the epub reader before opening a
file or does it have a predefined configuration by default?
The ePub reader has book specific configurations and global
configurations. Styling of each book is not global.
Does it support TTS, Day/Night mode?
Yeah, this ePub reader supports both dark and light modes
—
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYQGMJBFKAWCVCXFHC52RRTXMQQVHANCNFSM6AAAAAAZPWFCEA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I just downloaded some epub files from https://idpf.github.io/epub3-samples/30/samples.html none of these files are opening in the app, although few of them gets loaded into the app but none of them is opening. |
I just tried a random book (The Voyage of Life) from the list you provided and it loaded up just fine.. |
After downloading a file from the browser, loading it in the app using the file picker and then trying to open that file results in this error.
Unhandled Exception: Unable to load asset: "assets/index.html".
Below given is the screenshot of the error.
https://prnt.sc/R9RTNwvDFL97
Can somebody help me out with the error.
Thanks.
The text was updated successfully, but these errors were encountered: