[hypermail] 3rd change for support of proper html

---------

New Message Reply About this list Date view Thread view Subject view Author view

From: William King (William.King@dadaboom.com)
Date: Mon Nov 19 2001 - 16:39:58 CST


One more change to correct the default DTD. See:

        http://www.w3.org/TR/html4/struct/global.html#version-info

Since hypermail contains support for style sheets, my next batch of changes
are going to be to remove support for cuttomizing the <body> tag from the
config file. If someone wants to customize the tag, they should use style
sheets. This will have a small effect on people who don't use style sheets,
since they default colors will no longer be specified. To get the previous
behaviour they will have to add style sheets to their config file. I plan on
updating test.rc to illustrate this. Comments?

Thanks,
Bill

[wrking@spider CVS]$ cvs diff -c hypermail/src/printfile.c
Index: hypermail/src/printfile.c
===================================================================
RCS file: /CVS/hypermail/src/printfile.c,v
retrieving revision 1.6
diff -c -r1.6 printfile.c
*** hypermail/src/printfile.c 2001/11/19 20:07:51 1.6
--- hypermail/src/printfile.c 2001/11/19 22:32:23
***************
*** 185,193 ****
      char *rp;

      fprintf(fp,
! "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0
Transitional//EN\"\n"
            " "
! "\"http://www.w3.org/TR/REC-html40/loose.dtd\">\n");
      fprintf(fp, "<html>\n");
      fprintf(fp, "<head>\n");

--- 185,193 ----
      char *rp;

      fprintf(fp,
! "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01
Transitional//EN\"\n"
            " "
! "\"http://www.w3.org/TR/html4/loose.dtd\">\n");
      fprintf(fp, "<html>\n");
      fprintf(fp, "<head>\n");


New Message Reply About this list Date view Thread view Subject view Author view

---------

This archive was generated by hypermail 2b29.