Annotation of libwww/Library/src/HTHInit.html, revision 2.4
2.1 frystyk 1: <HTML>
2: <HEAD>
2.2 frystyk 3: <!-- Changed by: Henrik Frystyk Nielsen, 14-Jun-1996 -->
2.3 frystyk 4: <TITLE>W3C Sample Code Library libwww Default HTML Parser Initialization</TITLE>
2.1 frystyk 5: </HEAD>
6: <BODY>
7: <H1>
8: Default HTML Parser Initialization Methods
9: </H1>
10: <PRE>
11: /*
12: ** (c) COPYRIGHT MIT 1995.
13: ** Please first read the full copyright statement in the file COPYRIGH.
14: */
15: </PRE>
16: <P>
17: As mentioned in the <A HREF="../User/Architecture/">Library Architecture</A>,
18: libwww consists of a small core and a large set of hooks for adding
19: functionality. By itself, the core it not capable of performing any Web related
20: tasks like accessing a HTTP server or parsing a HTML document. All this
21: functionality must be registered by the application. This way, the core of
22: libwww is kept application independent and can be used as the basic building
23: block for any kind of Web application. The Library comes with a large set
24: of default functions, for example for accessing HTTP and FTP servers, parsing
25: <A HREF="http://info.internet.isi.edu:80/in-notes/rfc/files/rfc822.txt">RFC
26: 822</A> headers etc. This module helps the application programmer setting
27: up the <B>HTML parser</B>, but it is important to note that none of it is
28: <I>required</I> in order to use the Library.
29: <P>
30: This module is implemented by <A HREF="HTHInit.c">HTInit.c</A>, and it is
2.4 ! frystyk 31: a part of the <A HREF="http://www.w3.org/Library/">W3C Sample Code
2.1 frystyk 32: Library</A>. You can also have a look at the other
33: <A HREF="WWWInit.html">Initialization modules</A>.
34: <PRE>
2.2 frystyk 35: #ifndef HTHINIT_H
36: #define HTHINIT_H
2.1 frystyk 37: #include "WWWLib.h"
38: </PRE>
39: <H2>
40: Default HTML Parsers
41: </H2>
42: <P>
43: The <EM>Converters</EM> are used to convert a media type to another media
44: type, or to present it on screen. This is a part of the stream stack algorithm.
45: The Presenters are also used in the stream stack, but are initialized separately.
46: <PRE>
47: #include "HTML.h" /* Uses HTML/HText interface */
48: #include "HTPlain.h" /* Uses HTML/HText interface */
49:
2.2 frystyk 50: #include "HTTeXGen.h"
51: #include "HTMLGen.h"
52:
2.1 frystyk 53: extern void HTMLInit (HTList * conversions);
54:
55: </PRE>
56: <PRE>#endif
57: </PRE>
58: <P>
59: <HR>
60: <ADDRESS>
2.4 ! frystyk 61: @(#) $Id: HTHInit.html,v 2.3 1997/02/16 18:42:20 frystyk Exp $
2.1 frystyk 62: </ADDRESS>
63: </BODY></HTML>
Webmaster