I want to develop an eBook reader app. What are some good libraries available to parse formats like .azw, .mobi, .pdf etc.?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As Ranhiru said, here and here you can see how PDFs are parsed.
For
.mobi, however, there is no library, so you’ll have to parse the format yourself. A full specification of the format can be read on the mobileread wiki.With
.azwfiles, it’s different: if the Kindle ebook is DRM-free, then its format coincides with the.mobione, i.e. they are absolutely interchangeable. Otherwise, it’s very difficult to do, since you’ll also have to generate a Kindle PID and perform the de-DRM-ing of the.azwfile. There’s a guide on how to do that on the desktop here. However, it is strongly not recommended, since it breaks the whole point of DRM and is illegal pretty much everywhere.