Skip to content
/ htmlcxx Public
forked from dhoerl/htmlcxx

A fork of htmlcxx with Visual C++ and autotools support

Notifications You must be signed in to change notification settings

boazy/htmlcxx

 
 

Repository files navigation

This files in this project were taken from http://htmlcxx.sourceforge.net/ and modified:

- a proper header with license information is provided for all files (LGPL and two Apache)
- the LGPL and Apache licenses are included
- tree.h was given an updated license its autho , making it LGPL when used with this project
- strstream code was modified to use the new stringstream class, removing deprecated warnings
- several warnings related to 64-32 bit conversions were fixed
- the Perl script was modified to use unsigned ints, and the list of domains had the BR specific URLs pruned.
- reintroduced support for Windows (Visual Studio 2010 solution) and Linux (autotools)

Three targets are provided for testing:
- htmlcxx, which runs the bit of test code shown on the sourceforge page 
- tests, provided by the original authors
- uriTests, also provided by the original authors.
- added a method to compute the length of the content, which may be 0
- added a content method to the Node class returning the content between opening and closing tags, which may be an empty string
- the css methods were ported over (and it took so fiddling) but while they build clean there are not test cases. Most people probably don't need them.
- to update the css source files, download the htmlcxx project from sourceforge and build the library.

About

A fork of htmlcxx with Visual C++ and autotools support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 78.0%
  • C++ 21.8%
  • Perl 0.2%