W3C home > Mailing lists > Public > www-lib@w3.org > April to June 1998

Re: libwww

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Mon, 04 May 1998 09:52:39 -0400
Message-Id: <3.0.5.32.19980504095239.00aaf100@localhost>
To: eliembur@ALM.NL.FLUKE.NL, www-lib@w3.org
At 02:32 5/4/98 -0400, Erwin Liemburg wrote:

>We are two students working on a project. This project involves a browser
which 
>can read HTML-files from disk and display them on screen.
>When we searched the internet for examples, we found the sources and
libraries 
>of libwww.
>We have read the documentation, but we can't find exactly what we want. We
also 
>read the file 'Getting started'. This helped us a little. At the end of this 
>document is refered to the next chapters. We couldn't find them on the
w3-site.
>
>The problem that we are having at the moment is that we can load the files
(from 
>the document 'Getting started'), but we have a problem showing the loaded
file.

If you want to show the file as "parsed HTML" then you can use the line
mode browser which has a very simple HTML presentation widget.

If you want to handle the HTML using some other parser then you need to
register that parser so that it gets the data from the libwww. This is
exactly the same as the line mode browser does so you can see how this is
done there (it's all in the file "LineMode/src/HTBrowse.c").

If you just want to down load the file but not parse it then you can use
the command line tool which does exactly that. The only difference between
the line mode browser and the command line tool is that the former has an
HTML parser whereas the latter doesn't.

Thanks,

Henrik
--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk
Received on Monday, 4 May 1998 09:53:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:27 GMT