Skip to content

Commit 93de0f9

Browse files
committed
Add README and LICENSE files to trunk
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40401
1 parent 2566f09 commit 93de0f9

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed

LICENSE

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Copyright (c) 2006 The Authors
2+
3+
Contributers:
4+
James Graham - jg307@cam.ac.uk
5+
Anne van Kesteren - annevankesteren@gmail.com
6+
Lachlan Hunt - lachlan.hunt@lachy.id.au
7+
Matt McDonald - kanashii@kanashii.ca
8+
Sam Ruby - rubys@intertwingly.net
9+
Ian Hickson (Google) - ian@hixie.ch
10+
Thomas Broyer - t.broyer@gmail.com
11+
12+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
html5lib is a pure-python library for parsing HTML. It is designed to
2+
conform to the Web Applications 1.0 specification, which has
3+
formalized the error handling algorithms of popular web browsers.
4+
5+
= Installation =
6+
7+
html5lib is packaged with distutils. To install it use:
8+
$ python setup.py install
9+
10+
= Tests =
11+
12+
You may wish to check that your installation has been a success by
13+
running the testsuite. All the tests can be run by invoking
14+
runtests.py in the tests/ directory
15+
16+
= Usage =
17+
18+
Simple usage follows this pattern:
19+
20+
import html5lib
21+
22+
f = open("mydocument.html")
23+
24+
parser = html5lib.HTMLParser()
25+
document = parser.parse(f)
26+
27+
The returned document is a simple DOM-like structure which can be
28+
navigated using the .parent and .childNode attributes on each
29+
element. Future releases will support a more substantial tree
30+
implementation.
31+
32+
More documentation is avaliable in the docstrings.
33+
34+
= Bugs =
35+
36+
Please report any bugs on the issue tracker:
37+
http://code.google.com/p/html5lib/issues/list
38+
39+
= Get Involved =
40+
41+
Contributions to code or documenation are actively encouraged. Submit
42+
patches to the issue tracker or discuss changes on irc in the #whatwg
43+
channel on freenode.net

0 commit comments

Comments
 (0)