Why don't you get the latest source code and try to familiarize yourself with it? I will be adding more comments, etc in the future so that it is more understandable.
Way ahead of you Downloaded the source code and was looking at it this morning. Is there a way to test it out yet? Was trying at it, but I couldn't get it to work.
Well, you can test the htmlDomParser, but it's really quite buggy (need to add debugger so I can fix it)
Here is an example session in python to test it: (Started in FrozenIce directory)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import dom >>> x = dom.parser.htmlDomParser() >>> x.feed("<html>Some HTML</html>") >>> dom.model.print_nodes_recursive(x.root_node) [dom.nodes.htmlTagNode] html : None (None) - [dom.nodes.htmlTextNode] None : Some HTML (None) >>>
This is just a test in which you create a parser, feed it some HTML, and then print out the resulting node tree.