简体   繁体   English

FOSS java 库生成 *.mobi 电子书?

[英]FOSS java library to generate *.mobi ebooks?

Firstly there is an almost identical question but the answer is not really satisfactory.首先有一个几乎相同的问题,但答案并不令人满意。

Is there a Java or Ruby library for generating MOBI ebook documents? 是否有用于生成 MOBI 电子书文档的 Java 或 Ruby 库?

The answer basically gives a link to amazon and discusses using command line tools which is not really satisfactory for a web app.答案基本上给出了亚马逊的链接,并讨论了使用命令行工具,这对于 web 应用程序来说并不令人满意。 I want a regular jar file w/ an api that i can invoke without any nasty process invocation.我想要一个带有 api 的常规 jar 文件,我可以在没有任何讨厌的进程调用的情况下调用它。

Does anyone know of a FOSS library that provides this functionality?有谁知道提供此功能的 FOSS 库? I would rather simething like ITEXT that allows me to build the document and then writes the mobi file rather than something that converts an already ready PDF into the MOBI.我宁愿使用 ITEXT 之类的东西,它允许我构建文档,然后写入 mobi 文件,而不是将已经准备好的 PDF 转换为 MOBI 的东西。

The best I've been able to find is a ruby library called KindleR.我能找到的最好的是一个名为 KindleR 的 ruby 库。 https://github.com/josh/kindler https://github.com/josh/kindler

I've only used it to convert basic HTML pages to mobi with pretty good success.我只用它来将基本的 HTML 页面转换为 mobi 并取得了相当大的成功。 I've never converted anything with more complicated formatting, so YMMV.我从来没有用更复杂的格式转换过任何东西,所以 YMMV。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM