我想构建一个将文章发送到我的 Kindle 的 Web 服务
我从哪里开始?
是否有某种 API - 或者我可以访问的东西可以让我格式化文章并将它们发送到我的 Kindle?
我想在 Rails 中执行此操作。
编辑:为了进一步清楚起见,我想我真正的问题是,instapaper.com 如何将文章从网络获取到我的 Kindle?有人可以解释一下其背后的技术吗?他们可以访问 Kindle SDK 吗?
Where do I start?
Is there some sort of API - or something I can get access to that allows me to format articles and send them to my kindle?
I would like to do this in Rails.
Edit: For further clarity, I guess my real question is, how does instapaper.com get articles from the web to my kindle? Can someone explain the technology behind that please and do they have access to the Kindle SDK?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
看一下 Calibre (http://calibre-ebook.com/),它运行在 Linux、Win 和 OS X 上。基于 Python,有 GUI 和命令行,适合自动化。您可以对
.mobi
格式进行各种转换,还可以从网站获取新闻并将其打包为.mobi
,然后可以通过 USB 传输或发送到 kindle电子邮件。获取和获取非常简单;使用 cron 在服务器系统上自动发送文章,或者让其在桌面上运行(使用 GUI)供非技术用户使用。Take a look at Calibre (http://calibre-ebook.com/), runs on Linux, Win and OS X. Python based, has a GUI and a command line, suitable for automation. You can do all kind of conversions to
.mobi
format as well as fetching news from website and packing it to.mobi
, which can be then transferred via USB or sent to kindle email address. It's very simple to fetch & send articles automatically either on a server system with cron or leaving it running on desktop (with GUI) for non-technical users.Calibre 的命令行工具是您最好的选择:http://calibre-ebook.com/ user_manual/cli/ebook-convert.html 是您最有可能感兴趣的调用。
我相信 Instapaper 所做的就是转换为
.mobi
格式,然后发送邮件(使用.mobi
文件附加)到您指定的 Kindle 电子邮件地址(例如[电子邮件受保护]
)。如果您对细节更感兴趣,当人们问 Marco(Instapaper 的作者)技术问题时,他往往会非常乐意回答。他的 Twitter 帐户是 @marcoarment。
Calibre's command line tools are your best bet: http://calibre-ebook.com/user_manual/cli/ebook-convert.html is the call you would most likely be interested in.
I believe all Instapaper does is convert to
.mobi
format, and then send mail (with the.mobi
file attached) to your specified Kindle email address (eg.[email protected]
).If you're more interested in specifics, Marco (Instapaper's author) tends to be very forthcoming when people ask him technical questions. His Twitter account is @marcoarment.
看看这个红宝石,它似乎可以满足您的要求:
Check out this ruby gem, it seems to do what you want: