Skip to content
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

Error on open the ePub file #18

Open
silviocandido opened this issue Apr 8, 2020 · 14 comments
Open

Error on open the ePub file #18

silviocandido opened this issue Apr 8, 2020 · 14 comments

Comments

@silviocandido
Copy link

When i try to open the http://www.feedbooks.com/book/6896.epub

This error is showing:
This page contains the following errors:
error on line 7 at column 54: attributes construct error
Below is a rendering of the page up to the first error.

This error occur with all files of this website.

@451518849
Copy link
Owner

What's device showed the error, ios or android ?

@silviocandido
Copy link
Author

silviocandido commented Apr 9, 2020

I only trying on iOS.
I has able to open the file 'https://github.com/451518849/epub_kitty/blob/master/example/3.epub', using the example code, but i cant change the features (Fonts, Text Size, Text Highlighting, ...) and once opened i cant back to my app.
I wanna my screen look like this:
'https://github.com/451518849/epub_kitty/blob/master/1.jpeg'
'https://github.com/451518849/epub_kitty/blob/master/2.jpeg'
Could you help me?

@451518849
Copy link
Owner

The navigation bar which contains close button will show when you click content .

@silviocandido
Copy link
Author

No it not showed. And the other features?
I wanna my screen look like this:
'https://github.com/451518849/epub_kitty/blob/master/1.jpeg'
'https://github.com/451518849/epub_kitty/blob/master/2.jpeg'
Could you help me?

@451518849
Copy link
Owner

Can you show the screenshots?

@silviocandido
Copy link
Author

silviocandido commented Apr 9, 2020

'Text Highlighting' don't work >
6BF5C4E5-D8E0-4F7F-81FF-163E65A373AC
F13F28ED-0AF5-4796-979E-BF7E4E0D39BB
'Navigation bar' is not shown >
F8FE7D71-E0BF-4101-9BA9-235721496232

@451518849
Copy link
Owner

This maybe you your device dont support Chinese.

@silviocandido
Copy link
Author

silviocandido commented Apr 9, 2020

I imported the those two folders (zh-Hans.lproj and en.lproj) to my project, and the problema continue >
78337A7E-CD91-4195-8B79-10D28764E664
Any idea?

@451518849
Copy link
Owner

Now, you can see Chinese in book. Any other questions ?

@silviocandido
Copy link
Author

silviocandido commented Apr 10, 2020

Yes, the "epub_kitty" is not working to me.
Like I said before, I wanna my screen look like this:
'https://github.com/451518849/epub_kitty/blob/master/1.jpeg'
'https://github.com/451518849/epub_kitty/blob/master/2.jpeg'
I have all this problems:

  • Once the epub is open I can back to my app
  • "The navigation bar which contains close button will show when you click content" - is not shown
  • All the features (Fonts, Text Size, Text Highlighting, ...) is not working, its is shown on click but nothing occur after that.

I really wanna use your package but I need your help!

@silviocandido
Copy link
Author

After a few days, I could to understand the real problem:

  • The navigation bar and all other features only work with some certain type of epub file.

Failure

Success

Is anyone able to tell me exactly what type of epub file can be used?

@silviocandido
Copy link
Author

silviocandido commented May 3, 2020

After a few days again, a new discovery:

  • if the pages inside the epub file are .html the reader works
  • if the pages inside the epub file are .xhtml or .xml the reader does not work
  • if you open the epub file and rename the pages .xhtml or .xml to .html the reader works

Is there any way to solve this?

@451518849
Copy link
Owner

451518849 commented May 4, 2020 via email

@marcqtan
Copy link

marcqtan commented Jul 7, 2020

any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants