forked from cv/html2text-service
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Carlos Villela
committed
Oct 10, 2011
1 parent
8ecec74
commit 1adb6de
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
html2text-service | ||
----------------- | ||
|
||
This a RESTful web service that converts HTML to [Markdown][1]-like syntax using [Aaron Schwartz's][2] [html2text.py][3]. The code is | ||
available [on GitHub][4]. | ||
|
||
Try it out and help us make it better! | ||
|
||
[1]: http://daringfireball.net/projects/markdown/ | ||
[2]: http://www.aaronsw.com | ||
[3]: https://github.com/aaronsw/html2text | ||
[4]: http://github.com/cv/html2text-service | ||
|
||
Running | ||
------- | ||
|
||
With `$` as your command prompt: | ||
|
||
$ python web.py | ||
... | ||
$ curl --data-urlencode "html=<html><body><h1>Hello,</h1>World</body></html>" localhost:5000 | ||
# Hello, | ||
|
||
World | ||
|
||
License | ||
------- | ||
|
||
`html2text-service` is distributed under the terms of the [GPLv3][5]. | ||
|
||
[5]: http://www.gnu.org/licenses/gpl-3.0.html |