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

Do not force the presence of HTML format for all books #161

Open
benoit74 opened this issue Jan 19, 2023 · 3 comments
Open

Do not force the presence of HTML format for all books #161

benoit74 opened this issue Jan 19, 2023 · 3 comments
Labels
Milestone

Comments

@benoit74
Copy link
Collaborator

Do not force the presence of HTML format for all books anymore (see here).

Especially once #95 has been solved, this makes little sense to always embed the HTML format, if someone only wants epub he should only get epub.

@rgaudin
Copy link
Member

rgaudin commented Jan 20, 2023

I think it was done on purpose for the following reasons:

  • html is the most comfortable format to read
  • html does not require an epub or pdf reader
  • android browsers don't include a pdf reader as desktop browsers do
  • android doesn't bundle a pdf reader
  • android doesn't bundle an epub reader
  • when this was done, pdf.js did not exist
  • to this day, I am not aware of a usable JS epub reader we could embed.
  • this scraper was built to support a large deployment of android 5 devices that are still running.

So we clearly shouldn't force HTML version(and thus remove this behavior) in the scraper and let user decide its formats but it's unlikely openZIM will create gutenberg ZIMs without html.

Maybe we should open a ticket about PDF.js. It can be handy but it brings complexity to allow both inline reading and PDF download.

@Jaifroid
Copy link

I agree HTML should be the baseline, as it's compatible with everything. Just to add to the list above, there is no native epub reader in an off-the-shelf Windows install either. Of course the user can find an app fairly easily, but it actually takes quite a long time to find one you're comfortable with for long stretches at a time.

For immediate access to the content of a book directly inside a Kiwix app on any system, there is nothing so accessible as HTML.

@stale
Copy link

stale bot commented May 26, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

@stale stale bot added the stale label May 26, 2023
@benoit74 benoit74 added this to the 3.0.0 milestone Aug 18, 2023
@stale stale bot removed the stale label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants