- 授权协议: Apache
- 开发语言: C/C++
- 操作系统: 跨平台
- 软件首页: https://github.com/google/gumbo-parser
- 官方下载: https://github.com/google/gumbo-parser
软件介绍
Gumbo 是 Google 的一款用C语言实现的HTML5解析库,无需任何外部依赖。
目标及特征:
遵循 HTML5 规范
功能强大,可处理一些不规范的 HTML 标签
简单的 API
支持源位置和指针回到原始文本
轻巧、没有外部依赖
通过 html5lib-0.95 兼容测试
已在超过25亿个来自谷歌索引的页面中进行过测试
示例代码:
#include "gumbo.h"
int main(int argc, char** argv) {
GumboOutput* output = gumbo_parse(argv[1]);
// Do stuff with output->root
gumbo_destroy_output(&kGumboDefaultOptions, output);
}
HTML & XHTML
Chuck Musciano、Bill Kennedy / O'Reilly Media / 2006-10-27 / GBP 39.99
"...lucid, in-depth descriptions of the behavior of every HTML tag on every major browser and platform, plus enough dry humor to make the book a pleasure to read." --Edward Mendelson, PC Magazine "Whe......一起来看看 《HTML & XHTML》 这本书的介绍吧!
