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 format support for kindle version documentation #45499

Closed
geongeorge opened this issue Jun 30, 2022 · 7 comments
Closed

Epub format support for kindle version documentation #45499

geongeorge opened this issue Jun 30, 2022 · 7 comments
Assignees

Comments

@geongeorge
Copy link
Contributor

Amazon is dropping support for .mobi files for their Kindle devices slowly.
Send to device will stop working from August. And later, support will fully drop.

Source: https://www.amazon.com/gp/help/customer/display.html?nodeId=G5WYD9SAF7PGXRNA

Solution

  • Build EPUB version of the documentation along with mobi (code)
  • Towards the end of support, stop supporting mobi, and only support epub

Email recieved

Dear Kindle Customer,
Thank you for using the Send to Kindle service to send personal documents to your Kindle library. We noticed that the following document(s), sent by you at 10:42 PM on Thu, Jun 30, 2022 IST are in MOBI (.mobi, .azw) formats:

Ruby on Rails Guides v2 - Ruby on Rails.mobi

We wanted to let you know that starting August 2022, you will no longer be able to send MOBI (.mobi, .azw) files to your Kindle library. Any MOBI files that are already in your library will not be affected by this change. MOBI is an older file format and will not support the newest Kindle features for documents. Any existing MOBI files that you want to read with our most up-to-date features for documents will need to be re-sent in a compatible format.

Compatible formats now include EPUB (.epub), which you can send to your library using your Send to Kindle email address. We will also be adding EPUB support to the free Kindle app for iOS and Android devices and the Send to Kindle desktop app for PC and Mac.

If you have any questions, please visit our help page or contact our Customer Service team.

Regards,
Amazon Kindle Support

Excerpt from Amazon help page

Note: Beginning in late 2022, you'll no longer be able to send MOBI (.AZW, .MOBI) files to your Kindle library using Send to Kindle. This change won't affect any MOBI files already in your Kindle library. You can still read them with Kindle. MOBI is an older file format and won't support the newest Kindle features for documents.

@ghiculescu
Copy link
Member

  • Build EPUB version of the documentation along with mobi (code)

Thanks for the heads up. Are you interested in making a PR for this?

@geongeorge
Copy link
Contributor Author

@ghiculescu Yeah I'll give it a go

@geongeorge
Copy link
Contributor Author

@ghiculescu I've looked into potential solutions.

Right now we're using the kindlerb gem to generate mobi files.

The available options for generating EPUB files I can find are:

Epubber has an MIT license, what do you think about using this? If it's alright, I can create a PR for the same

@ghiculescu
Copy link
Member

I think that is fine. But you could also double check on the Rails discord to confirm https://rubyonrails.org/2022/6/13/rails-discord-server-is-now-open-to-the-public

@geongeorge
Copy link
Contributor Author

geongeorge commented Jul 2, 2022

Upon further inspection, there is a deeper issue here, The gem kindlerb used here no longer works. It relies on a tool Amazon provided long time ago called kindlegen which happens to be no longer available as well

I read that the guides for later versions of rails are manually built #29865 (comment)

There is also code from the past that needs clean up. For instance
Please run setupkindlerb to install kindlegen => setupkindlerb is long gone

I think this calls for a cleanup of old code and also the new logic for EPUB generation.

Do you mind if I work on both? And is it possible to get this assigned to me?

@ghiculescu

@geongeorge
Copy link
Contributor Author

@ghiculescu Made a PR

@skipkayhil
Copy link
Member

Closed by #45539

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

No branches or pull requests

3 participants