{"id":13420954,"url":"https://github.com/servo/libhubbub","last_synced_at":"2026-01-10T22:38:22.498Z","repository":{"id":4352194,"uuid":"5488303","full_name":"servo/libhubbub","owner":"servo","description":"[UNMAINTAINED] HTML parser library from the NetSurf project","archived":true,"fork":false,"pushed_at":"2014-09-04T17:52:04.000Z","size":1979,"stargazers_count":10,"open_issues_count":1,"forks_count":10,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-07-31T22:57:12.639Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/servo.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-20T23:56:04.000Z","updated_at":"2023-07-11T15:13:55.000Z","dependencies_parsed_at":"2022-09-13T23:00:17.152Z","dependency_job_id":null,"html_url":"https://github.com/servo/libhubbub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servo%2Flibhubbub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servo%2Flibhubbub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servo%2Flibhubbub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/servo%2Flibhubbub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/servo","download_url":"https://codeload.github.com/servo/libhubbub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243701276,"owners_count":20333615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T22:01:44.904Z","updated_at":"2026-01-10T22:38:22.422Z","avatar_url":"https://github.com/servo.png","language":"C","funding_links":[],"categories":["TODO scan for Android support in followings"],"sub_categories":[],"readme":"Hubbub -- an HTML parser\n========================\n\nOverview\n--------\n\n  Hubbub is a flexible HTML parser. It aims to comply with the HTML5\n  specification.\n\nRequirements\n------------\n\n  Hubbub requires the following tools:\n\n    + A C99 capable C compiler\n    + GNU make or compatible\n    + Perl (for the testcases)\n    + Pkg-config (for the testcases)\n    + xsltproc (for the entity fetcher)\n    + wget (for the entity fetcher)\n    + doxygen (for the API documentation)\n\n  Hubbub also requires the following libraries to be installed:\n\n    + An iconv implementation (e.g. libiconv)\n    + LibParserUtils -- see below for further information\n    + JSON-C (for the testcases) -- see below for further information\n\n  Hubbub can make use of the following, for debugging and testing purposes:\n\n    + gcov and lcov, for test coverage data\n\nLibParserUtils\n--------------\n\n  To compile Hubbub, you will need LibParserUtils.  This can be\n  obtained from SVN:\n  \t\t$ svn co svn://svn.netsurf-browser.org/trunk/libparserutils/\n\n  Follow the instructions in LibParserUtils' README file to build and \n  install it.\n\n  Note: By default, libparserutils only supports a few character sets. It may, \n        however, be configured to use iconv() to provide charset conversion.\n        See LibParserUtils' README for further information.\n\nJSON-C\n------\n\n  To run tests, you will need JSON-C.  You can obtain the version\n  that Hubbub needs from SVN:\n  \t\t$ svn co svn://svn.netsurf-browser.org/trunk/json-c/json-c/\n\n  Build and install JSON-C as follows:\n\n\t\t$ sh autogen.sh\n\t\t$ make install\n\nCompilation\n-----------\n\n  The exact type of build may be configured by passing parameters to make.\n  Common usage is described below.\n\n  For a static library:\n\n  \t\t$ make\n\n  For a shared library:\n\n\t\t$ make COMPONENT_TYPE=lib-shared\n\n  For a static library with debug enabled:\n\n\t\t$ make BUILD=debug\n\n  To cross-compile a static library:\n\n\t\t$ make TARGET=\u003ctarget-platform\u003e\n\nVerification\n------------\n\n  The library's functionality may be verified, thus:\n  \n  \t\t$ make test\n\n  If you wish to see test coverage statistics, run:\n\n  \t\t$ make coverage\n\n  Then open build/coverage/index.html in a web browser.\n\n  In both cases, ensure that the same parameters to make are passed as when \n  building the library.\n\n(Un)installation\n----------------\n\n  To install the library:\n\n\t\t$ make install\n\n  Ensure that the same parameters to make are passed as when building the\n  library.\n\n  To specify the installation prefix:\n\n\t\t$ make install PREFIX=/path/to/prefix\n\n  To specify a staging directory for packaging:\n\n\t\t$ make install DESTDIR=/path/to/directory\n\n  Items will be installed to $(DESTDIR)$(PREFIX)/\n\n  To uninstall:\n\n\t\t$ make uninstall\n\nAPI documentation\n-----------------\n\n  Use doxygen to auto-generate API documentation, thus:\n\n  \t\t$ make docs\n\n  Then open build/docs/html/index.html in a web browser.\n\n  The \"examples\" directory contains commented examples of how to use Hubbub.\n  The test driver code in test/ may also provide some useful pointers.\n\nA note on character set aliases\n-------------------------------\n\n  Hubbub uses an external mapping file to encode relationships between \n  character set names. This is the \"Aliases\" file. A copy may be found at\n  test/data/Aliases. The path to this file is required when calling \n  hubbub_initialise().\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fservo%2Flibhubbub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fservo%2Flibhubbub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fservo%2Flibhubbub/lists"}