An open API service indexing awesome lists of open source software.

https://github.com/mizzy/web-to-mobi

This project is moved to https://github.com/mizzy/webiblo
https://github.com/mizzy/web-to-mobi

Last synced: about 2 months ago
JSON representation

This project is moved to https://github.com/mizzy/webiblo

Awesome Lists containing this project

README

          

# Web-to-mobi - A script for converting web sites to mobipcoket format

---------------------------------------

This project is moved to [webiblo](https://github.com/mizzy/webiblo).

This project will not be updated.

---------------------------------------

This script get JSON data about a web site from STDIN and convert web data to mobipcoket format.

JSON data format is like this.

{
"title" : "Getting Real",
"author" : "37signals",
"chapters" : [
{
"title" : "Introduction",
"sections" : [
{
"title" : "What is Getting Real?",
"uri" : "http://gettingreal.37signals.com/ch01_What_is_Getting_Real.php"
},
{
"title" : "About 37signals",
"uri" : "http://gettingreal.37signals.com/ch01_About_37signals.php"
},
]
}
],
"content_xpath" : "//div[@class=\"content\"]",
"exclude_xpath" : "//div[@class=\"next\"]"
}

This is the image of showing the converted file on Kindle Previewer.

![Getting Real](http://mizzy.org/images/2012/01/getting_real.png)