Annotation of libwww/Library/src/HTML.html, revision 2.36
2.7 timbl 1: <HTML>
2: <HEAD>
2.36 ! frystyk 3: <TITLE>W3C Sample Code Library libwww HTML Parser With Text Object Converter</TITLE>
2.7 timbl 4: </HEAD>
2.6 timbl 5: <BODY>
2.36 ! frystyk 6: <H1>
! 7: Simple HTML Parser With Text Object Converter
! 8: </H1>
2.20 frystyk 9: <PRE>
10: /*
2.24 frystyk 11: ** (c) COPYRIGHT MIT 1995.
2.20 frystyk 12: ** Please first read the full copyright statement in the file COPYRIGH.
13: */
14: </PRE>
2.36 ! frystyk 15: <P>
! 16: This interprets the <A HREF="http://www.w3.org/MarkUp/MarkUp.html">HTML</A>
! 17: semantics passed to it by the <A HREF="SGML.html">SGML parser</A>. It then
! 18: creates a <A HREF="HText.html">HText object</A> which the application can
! 19: use to render an HTML object as text comes in over the wire. The
! 20: <A HREF="HTStyle.html">stylesheet manager</A> can be used to ensure that
! 21: the rendering is done according to whatever style information is present.
! 22: <P>
! 23: This module is implemented by <A HREF="HTML.c">HTML.c</A>, and it is a part
! 24: of the <A HREF="http://www.w3.org/Library/"> W3C Sample Code Library</A>.
2.20 frystyk 25: <PRE>
26: #ifndef HTML_H
2.1 timbl 27: #define HTML_H
28:
2.13 luotonen 29: #include "HTFormat.h"
2.8 timbl 30: #include "HTMLPDTD.h"
2.10 luotonen 31: </PRE>
2.36 ! frystyk 32: <H2>
! 33: Converters
! 34: </H2>
! 35: <P>
! 36: These are the converters implemented in this module. The first converts from
! 37: HTML to presentation or plain text.
! 38: <PRE>
! 39: extern HTConverter HTMLToPlain;
! 40: </PRE>
! 41: <P>
! 42: The next converts from HTML to a simple C like representation. It puts everything
! 43: not in PRE within C style comments. This is the way that the line mode browser
! 44: is used to convert the libwww HTML files to C style .h files
! 45: <PRE>
! 46: extern HTConverter HTMLToC;
! 47: </PRE>
! 48: <P>
! 49: This one converts the HTML stream to a rendered object using the
! 50: <A HREF="HText.html">HText interface</A>.
! 51: <PRE>
! 52: extern HTConverter HTMLPresent;
! 53: </PRE>
! 54: <H2>
! 55: Selecting Internal Character Set Representation
! 56: </H2>
! 57: <P>
! 58: Only <TT>ISO_LATIN1</TT> is currently supported.
2.27 frystyk 59: <PRE>
60: typedef enum _HTMLCharacterSet {
2.1 timbl 61: HTML_ISO_LATIN1,
62: HTML_NEXT_CHARS,
63: HTML_PC_CP950
64: } HTMLCharacterSet;
65:
2.36 ! frystyk 66: extern BOOL HTMLUseCharacterSet (HTMLCharacterSet charset);
2.16 timbl 67: </PRE>
2.22 frystyk 68: <PRE>
2.16 timbl 69: #endif /* end HTML_H */
70: </PRE>
2.36 ! frystyk 71: <P>
! 72: <HR>
2.33 frystyk 73: <ADDRESS>
2.36 ! frystyk 74: @(#) $Id: HTML.html,v 2.35 1998/05/14 02:10:42 frystyk Exp $
2.33 frystyk 75: </ADDRESS>
2.36 ! frystyk 76: </BODY></HTML>
Webmaster