html_parser

html_parser — Manage HTML parser work.

Synopsis




GList*              uc_html_parser_get_tags             (gchar *buffer_orig);
UCHTMLTag*          uc_html_parser_node_new             (void);
GList*              uc_css_parser_get_tags              (gchar *buffer_orig);

Description

Details

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()

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_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()

buffer_orig : a buffer with CSS file content.
Returns : A GList of CSS properties (UCHTMLTag).