This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH: web pages and <META HTTP-EQUIV="Content-Type">


While discussing the libstdc++ web pages with Phil it occured to me
that we should also pre-process <HEAD> tags as we already do for body,
and that all pages could use
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">

This patch implements just that and remove occurrences of that tag from
the libstdc++ pages.

Installed.

Gerald

Index: style.mhtml
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/style.mhtml,v
retrieving revision 1.5
diff -c -3 -p -r1.5 style.mhtml
*** style.mhtml	2000/02/05 12:39:26	1.5
--- style.mhtml	2000/11/16 22:14:53
***************
*** 16,21 ****
--- 16,34 ----
    >
   >

+ ;;; Redefine the HEAD tag so that we can add default <META> headers.
+
+ <define-container HEAD>
+ <verbatim>
+ <HEAD>
+ <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
+ </verbatim>
+ %body
+ <verbatim>
+ </HEAD>
+ </verbatim>
+ </define-container>
+
  ;;; Redefine the BODY tag introducing our own color scheme and adding an
  ;;; "about" link and a "last modified" at the bottom.

Index: libstdc++/configopts.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/libstdc++/configopts.html,v
retrieving revision 1.17
diff -c -3 -p -r1.17 configopts.html
*** configopts.html	2000/11/16 20:59:15	1.17
--- configopts.html	2000/11/16 22:14:53
***************
*** 1,7 ****
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
  <HTML>
  <HEAD>
-    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
     <META NAME="AUTHOR" CONTENT="pme@sources.redhat.com (Phil Edwards)">
     <META NAME="KEYWORDS" CONTENT="libstdc++, libstdc++-v3, GCC, g++">
     <META NAME="DESCRIPTION" CONTENT="Configuration options for libstdc++-v3.">
--- 1,6 ----
Index: libstdc++/header.ihtml
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/libstdc++/header.ihtml,v
retrieving revision 1.1
diff -c -3 -p -r1.1 header.ihtml
*** header.ihtml	2000/11/16 20:59:15	1.1
--- header.ihtml	2000/11/16 22:14:53
***************
*** 1,6 ****
  <HTML>
  <HEAD>
-  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="KEYWORDS" CONTENT="libstdc++, homepage, home, g++, libg++, STL">
   <TITLE>Standard C++ Library v3</TITLE>
  <LINK REL="home" HREF="http://sources.redhat.com/libstdc++/">
--- 1,5 ----
Index: libstdc++/install.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/libstdc++/install.html,v
retrieving revision 1.10
diff -c -3 -p -r1.10 install.html
*** install.html	2000/11/04 03:00:10	1.10
--- install.html	2000/11/16 22:14:54
***************
*** 1,7 ****
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
  <HTML>
  <HEAD>
-    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
     <META NAME="AUTHOR" CONTENT="pme@sources.redhat.com (Phil Edwards)">
     <META NAME="KEYWORDS" CONTENT="libstdc++, libstdc++-v3, GCC, g++">
     <META NAME="DESCRIPTION" CONTENT="README for the GNU libstdc++ effort.">
--- 1,6 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]