Re: For help(Please)

> Hello, everyone.
> I am writing a GUI basic browser with libwww.
> But I don't have enough knowledge-base about
> GUI browser. I don't know how to display
> images in browser with libwww.
> I wonder if you would like to show me some
> basic GUI browsers based on libwww(Just for
> pasering HTML and display images).
>
    As I said before I don't know of any public domain GUI basic browser
based on libwww.
    Amaya and Arena are based on libwww but only for the protocol stuff
(they have their own
    HTML parser.

    Writing a simple browser with basic support images support is not so
difficult.
    If you can find (or write) a rich text renderer (and some of the current
graphic framework
    usually supply one), you can feed it with text and style changes
generated by the HTML
    parser.

    For images you basically grab the URL from the SRC tag and read the
image in
    (with a HTLoadToFile, if you want to do it syncronously or any other
HTLoad, if you
    set the appropriate callbacks for the MIME type - image/*)

    This is basically it, at least to start.

    If anybody has an idea for a public domain graphic framework that runs
on both Unix boxes
    and Windows, I think we could easily write a basic sample program.

-- Raffaele

Received on Thursday, 1 July 1999 14:29:09 UTC