html_parser

html_parser — Manage HTML parser work.

Functions

Description

Functions

uc_html_parser_get_tags ()

GList *
uc_html_parser_get_tags (gchar *buffer_orig);

Parse the given buffer to extract HTML tags.

See: uc_css_parser_get_tags()

Parameters

buffer_orig

Buffer containing HTML code to proceed.

 

Returns

A GList of UCHTMLTag.


uc_html_parser_node_new ()

UCHTMLTag *
uc_html_parser_node_new (void);

Create a new tag list node.

Returns

A new allocated UCHTMLTag node.


uc_html_parser_node_free ()

void
uc_html_parser_node_free (UCHTMLTag **tag);


uc_css_parser_get_tags ()

GList *
uc_css_parser_get_tags (gchar *buffer_orig);

Parse the buffer for some CSS instructions. For the moment, only "import" and "url" instructions are interesting for us.

See: uc_html_parser_get_tags()

Parameters

buffer_orig

a buffer with CSS file content.

 

Returns

A GList of CSS properties (UCHTMLTag).

Types and Values