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]
Other format: [Raw text]

Re: XML-validator fixes for index.html


On Thu, 3 Jan 2002, Zack Weinberg wrote:
> because I'm thinking about web page stuff anyway.  Most of this is
> converting uppercase tags to lowercase.  Applied as obvious.

Thanks! This was on my TODO for quite some time (and as you probably
noticed I had converted part of that page already), but I never found
the time to complete it.

> Gerald, would it be possible for the metahtml stuff to add the
> align="center" annotation to <h1> tags?  If so, we could take that out
> of all the pages [...]

That sounds like a good idea, and the patch below that I just committed
does exactly that. (Indeed it's just a variation of your proposed macro.)

> [...] and ask people to validate against the strict DTD (which seems to
> catch more nesting mistakes) instead of the transitional one.

This makes sense, yes. Though, I believe we shouldn't require that people
changing pages have to fix all pre-existing deviations from the XHTML
standard on these pages.

> Also, a future move to CSS would then be possible (almost) entirely
> within style.mhtml.

MetaHTML is nice, isn't it? :-)

Gerald

Index: style.mhtml
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/style.mhtml,v
retrieving revision 1.17
diff -u -3 -p -r1.17 style.mhtml
--- style.mhtml	2001/12/11 20:34:34	1.17
+++ style.mhtml	2002/01/04 21:48:48
@@ -38,6 +38,14 @@
 <verbatim>- GNU Project - Free Software Foundation (FSF)</title></verbatim>
 </define-container>

+;;; Redefine the <h1> tag to add our own style.
+
+<define-container h1>
+<verbatim><h1 align="center"></verbatim>
+%body
+<verbatim></h1></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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]