SDL_HTML Parser Problem

Hi folks

I try to make a HTML Engine in SDL, it returns after calling

html.render(char *htmltext);

a struct calling SDL_HTML it contains

Uint32 framenr
SDL_Rendered_HTML *html
SDL_Rect sizeinfo

SDL_Rendered_HTML contains
SDL_Surface surface
SDL_Rect rect;
SDL_Links links;

SDL_Links contains

char *dest
SDL_Rect

At the end you can select the Surface where is HTML is rendered and used
with a widget to make a browser.

My problem is the Parser (I know it is not a SDL problem, but I need
help),

Is there a finished HTML parser or where can I found info for HTML
parsing ?

Thx

Ferhat

Hi ferhat.

I beleive Konqueror and Mozilla are 2 open sourced web browsers, you could
look at them to see how they do it.> ----- Original Message -----

From: ferhat_ziba@gmx.de (Ferhat Ziba)
To: “SDL Mailingliste”
Sent: Sunday, August 10, 2003 8:58 AM
Subject: [SDL] SDL_HTML Parser Problem

Hi folks

I try to make a HTML Engine in SDL, it returns after calling

html.render(char *htmltext);

a struct calling SDL_HTML it contains

Uint32 framenr
SDL_Rendered_HTML *html
SDL_Rect sizeinfo

SDL_Rendered_HTML contains
SDL_Surface surface
SDL_Rect rect;
SDL_Links links;

SDL_Links contains

char *dest
SDL_Rect

At the end you can select the Surface where is HTML is rendered and used
with a widget to make a browser.

My problem is the Parser (I know it is not a SDL problem, but I need
help),

Is there a finished HTML parser or where can I found info for HTML
parsing ?

Thx

Ferhat


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl