This class is for parsing HTML files. It's designed to be very simple. This class might be useful, for example, for building a web-crawler or for extracting readable text from a web page.
|
| GHtml (const char *pDoc, size_t nSize) |
|
virtual | ~GHtml () |
|
virtual void | onComment (const char *pComment, size_t len) |
| This method is called when an HTML comment () is found. More...
|
|
virtual void | onTag (const char *pTagName, size_t tagNameLen) |
| This method is called whenever a new tag is found. More...
|
|
virtual void | onTagParam (const char *pTagName, size_t tagNameLen, const char *pParamName, size_t paramNameLen, const char *pValue, size_t valueLen) |
| This method is called for each parameter in the tag. More...
|
|
virtual void | onTextChunk (const char *pChunk, size_t chunkSize) |
| This method will be called whenever the parser finds a section of display text. More...
|
|
bool | parseSomeMore () |
| You should call this method in a loop until it returns false. It parses a little bit more of the document each time you call it. It returns false if there was nothing more to parse. The various virtual methods are called whenever it finds something interesting. More...
|
|