Subject: CVS commit: pkgsrc/www/htmlcxx
From: Thomas Klausner
Date: 2014-02-16 23:58:51
Message id: 20140216225851.C95F296@cvs.netbsd.org

Log Message:
Import htmlcxx-0.85 as www/htmlcxx.

htmlcxx is a simple non-validating CSS1 and HTML parser for C++.
Although there are several other HTML parsers available, htmlcxx
has some characteristics that make it unique:

* STL like navigation of DOM tree, using the excellent tree.hh library
  from Kasper Peeters
* It is possible to reproduce exactly, character by character, the
  original document from the parse tree
* Bundled css parser
* Optional parsing of attributes
* C++ code that looks like C++ (not so true anymore)
* Offsets of tags/elements in the original document are stored in
  the nodes of the DOM tree

The parsing politics of htmlcxx were created trying to mimic Mozilla
Firefox behavior. So you should expect parse trees similar to those
create by Firefox. However, differently from Firefox, htmlcxx does
not insert non-existent stuff in your html. Therefore, serializing
the DOM tree gives exactly the same bytes contained in the original
HTML document.

Files:
RevisionActionfile
1.1addpkgsrc/www/htmlcxx/DESCR
1.1addpkgsrc/www/htmlcxx/Makefile
1.1addpkgsrc/www/htmlcxx/PLIST
1.1addpkgsrc/www/htmlcxx/buildlink3.mk
1.1addpkgsrc/www/htmlcxx/distinfo
1.1addpkgsrc/www/htmlcxx/patches/patch-html_CharsetConverter.cc
1.1addpkgsrc/www/htmlcxx/patches/patch-html_ci__string.h