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

ePub reader #1414

Closed
tuomas2 opened this issue Jul 25, 2021 · 16 comments · Fixed by #2700
Closed

ePub reader #1414

tuomas2 opened this issue Jul 25, 2021 · 16 comments · Fixed by #2700

Comments

@tuomas2
Copy link
Contributor

tuomas2 commented Jul 25, 2021

Make it possible to read user-provided ePub files as generic books.

@cmahte
Copy link

cmahte commented Jul 25, 2021

If you go that far, How including epubs as a type in the sword repository. that is, include support for the epub + the conf file in the same directory structure as other sword works. Noteably, scripture text and commentary wouldn't work. but for Genbooks it is possible.

@tuomas2
Copy link
Contributor Author

tuomas2 commented Jul 25, 2021

Possible

@tuomas2
Copy link
Contributor Author

tuomas2 commented Jul 25, 2021

I'm not sure which one is easier: to support ePubs natively, or to have converter from ePub to genbook.

@cmahte
Copy link

cmahte commented Jul 25, 2021 via email

@tuomas2
Copy link
Contributor Author

tuomas2 commented Jul 25, 2021

I'm planning to support Android e-ink devices in the future (like Onyx Boox devices) #1126

@agrogers
Copy link
Contributor

Are we talking about making AB a general eBook reader? If so, I like the idea. We already have a 'books' module. It would be great to allow more books. What I would also like is the ability to speak those books.

@tuomas2
Copy link
Contributor Author

tuomas2 commented Jul 26, 2021

Are we talking about making AB a general eBook reader? If so, I like the idea. We already have a 'books' module. It would be great to allow more books. What I would also like is the ability to speak those books.

AB is "general eBook reader" supporting only SWORD eBooks :-) We are talking about supporting ePub files in some level.

For now, I think you can use fbreader (free and open source, btw) app to read aloud epubs.

@cmahte
Copy link

cmahte commented Jul 26, 2021 via email

@tuomas2
Copy link
Contributor Author

tuomas2 commented Jul 26, 2021

Ereader prestigio has more voices.

Has its own TTS engine? Fbreader uses standard Anrdoid's TTS, like And Bible.

@cmahte
Copy link

cmahte commented Jul 26, 2021 via email

@cmahte
Copy link

cmahte commented Jul 26, 2021 via email

@tuomas2 tuomas2 moved this to Better ideas in Wishing Well Sep 10, 2022
@tuomas2 tuomas2 removed this from Wishing Well Jul 17, 2023
@tuomas2 tuomas2 moved this from Needs triage to Features I really want to do in Tuomas' project board Jul 17, 2023
@tuomas2
Copy link
Contributor Author

tuomas2 commented Jul 17, 2023

should at least add relevant strings before 5.0 release. Easy to implement and feeling motivated.

@cmahte
Copy link

cmahte commented Aug 4, 2023

The andbible alpha-715 crashes when I try to open it. Simple calculator does open and I am able to install epub files.

Notes. The epub module lists the file name or something else to it as the chapter files. It works, but expected the table of contents text, not the file names.

Also, I was hoping the epub file type would be associated with andbible. It might be and it's just because I'm using calculator, but if not.... That is when tapping on a downloaded epub, Android only lists play books and ereader prestigio as associated programs for this file type.

I'm using moto g 5g on Android 13.

@tuomas2
Copy link
Contributor Author

tuomas2 commented Aug 5, 2023

The andbible alpha-715 crashes when I try to open it. Simple calculator does open and I am able to install epub files.

I'll take crash reports when we pass alpha stage (-> beta) with this.

Notes. The epub module lists the file name or something else to it as the chapter files. It works, but expected the table of contents text, not the file names.

I might try to dig the real title from the HTML files. EPUB manifest file alone unfortunately does not give better outline.

Also, I was hoping the epub file type would be associated with andbible. It might be and it's just because I'm using calculator, but if not.... That is when tapping on a downloaded epub, Android only lists play books and ereader prestigio as associated programs for this file type.

You guessed it correctly. Calculator does not associate but AndBible does.

@cmahte
Copy link

cmahte commented Jan 5, 2024

If I were to build an Epub to read in Andbible (when actually...) is there a way to form links in the Epub which AndBible will recognize as a link to scripture and pop or navigate to the related scripture using Andbible default? a specific sword module?

Is this documented somewhere?

@tuomas2
Copy link
Contributor Author

tuomas2 commented Jan 5, 2024

If I were to build an Epub to read in Andbible (when actually...) is there a way to form links in the Epub which AndBible will recognize as a link to scripture and pop or navigate to the related scripture using Andbible default? a specific sword module?

Is this documented somewhere?

EPub format does not support links. I have implemented automatic parsing of bible links from AndBible so that properly formatted bible links should be intepreted as bible links, as long as they are contained within a single html tag. (for example, <b>Matt</b> 1:1 would not be intepreted but Matt 1:1 would be).

If you want to format links yourself, you better make normal Sword genbooks.

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

Successfully merging a pull request may close this issue.

3 participants