Giter Site home page Giter Site logo

docset2kindle's Introduction

#Apple Docset to Kindle Fork自Docset2Kindle
这是一个Python脚本,可以把Apple文档(包括Xcode文档,iOS文档,Mac OS X文档)转换成适合在Kindle上阅读的版本。
原作者好像很久没有更新了,原README中提到了最新支持的版本为“雪豹”和iOS4.3,fork下来发现python脚本本身没有任何问题,只需要修改shell脚本中的docset文件目录即可,亲自测试了一下,iOS5.1的文档转换是没有任何问题的。
从python的源码来看,这也是一个非常不错的使用kindlegen通过opf生成mobi的实例,这个技术在我的EzRead也使用了。
如果有想通过脚本生成Mobi电子书的朋友,可以参照这个Project和EzRead源码,里面提供了如何生成TOC,如何生成OPF文件的详细方法。

###需求

  • Kindlegen工具,可以从Amazon.com下载,把它放入PATH或者当前目录
  • DocSets目录,如果是iOS5.1的目录应该不用修改就可以使用,否则您需要自己去找到这个Docset目录,新的目录一般是在~/Library/Developer/Shared/Documentation/DocSets中

###使用 具体使用方法参考源文件中的shell脚本


###反馈问题 有任何问题可以和lqik2004#gmail.com进行联系
或者到我的博客http://res0w.com进行留言
也可以Follow我的Twitter:@lqik2004
另外,还可以在Github上关注我的其他项目

docset2kindle's People

Contributors

lqik2004 avatar omz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.