You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by Joshua Slive <sl...@finance.commerce.ubc.ca> on 2000/11/28 01:32:38 UTC

HTML3.2 -> HTML4.0

Does anyone object to a massive search & replace of all the doctypes
in httpd-docs-2.0 to put everything up to HTML4.0-Transitional?
This would be the precurser to modifying the header.html and footer.html
files to include the fancier header with hotlinks now used on the main doc
page.

-- 
Joshua Slive
slive@finance.commerce.ubc.ca
http://finance.commerce.ubc.ca/~slive/
Phone: (604) 822-1871


Re: HTML3.2 -> HTML4.0

Posted by Yoshiki Hayashi <yo...@xemacs.org>.
Joshua Slive <sl...@finance.commerce.ubc.ca> writes:

> Does anyone object to a massive search & replace of all the doctypes
> in httpd-docs-2.0 to put everything up to HTML4.0-Transitional?
> This would be the precurser to modifying the header.html and footer.html
> files to include the fancier header with hotlinks now used on the main doc
> page.

I'm not sure HTML 4.0 refers to HTML 4.01 or not but I
prefer HTML 4.01 Transitional.

-- 
Yoshiki Hayashi

Re: HTML3.2 -> HTML4.0

Posted by James A Sutherland <ja...@cam.ac.uk>.
On Tue, 28 Nov 2000, Chris Pepper wrote:
> At 4:32 PM -0800 2000/11/27, Joshua Slive wrote:
> >Does anyone object to a massive search & replace of all the doctypes
> >in httpd-docs-2.0 to put everything up to HTML4.0-Transitional?
> >This would be the precurser to modifying the header.html and footer.html
> >files to include the fancier header with hotlinks now used on the main doc
> >page.
> 
> Joshua,
> 
> 	I'd rather use more-comprehensive headers that include the 
> DOCTYPE. Ideally, everything up through the body tag and standard top 
> elements would go in header.html and standard bottom elements would 
> go in footer.html

I like that idea. If you set an SSI variable for the page title, you should be
able to put everything right down to the first <h1> tag in the header.shtml, I
think?

The other question, though: is all the HTML 4.0 compliant? If so, is it XHTML1
compliant as well? Perhaps a second variable, HTMLVER, to indicate which
DOCTYPE to use?


James.

Re: HTML3.2 -> HTML4.0

Posted by James A Sutherland <ja...@cam.ac.uk>.
On Wed, 29 Nov 2000, you wrote:
> James A Sutherland wrote:
> > 
> > You were premature, because you invoked a veto on an idea you
> > hadn't even looked at. You saw the word "rename", and leapt to
> > completely the wrong conclusion.
> 
> I'm beginning to resent your putting words in my 'mouth.'  :-(
> I did nothing of the sort.

I apologise if you feel I misquote you; I still feel that asking what was being
proposed would have been better than wading in with a veto. Having said that, I
admit the discussion has been somewhat obfuscated - a clearer explanation from
Chris would have avoided all this.

> > > *Now* the concept makes sense.  Looking back through this thread,
> > > this is the most clearly (by far) that it's been described.
> > 
> > Agreed; the earlier explanation was scattered across multiple
> > posting from multiple people, and would have required reading
> > the thread to understand the idea.
> 
> Which I did, and it still wasn't -- and even on re-reading,
> isn't -- clear.  Your precis made it clear.

Thank you. I admit Chris's proposal was poorly worded; TBH, I reached the same
conclusion you did, for a time. Speaking of which - where is Chris?!

> > IMO, you should have done one or the other before vetoing an
> > unknown proposal :-)
> 
> I vetoed something that was known, but phrased in such a way that
> it was readily misconstrued.

Personally, I would have asked for clarification first, or been clearer with
the veto - "You plan to RENAME stuff in the CVS?! -1 to that!" I agree with
vetoing the renaming, I just think you should have checked that was really what
was being proposed. More to the point, though, Chris should have been clearer
in the original suggestion - if the people doing the docs can't be accurate and
clear, WTF are they doing working on docs? :-)

> > (From your comment, can I take it you have withdrawn the veto??)
> 
> Since it doesn't apply, it doesn't matter.  If the discussion
> ever comes round to actually proposing what it appeared this
> one was, I'll veto it again at the time.

If I have a vote/veto at the time, and anyone proposes "let's rename foo.html
to bar.html", I'll race you :-)


James.

Re: HTML3.2 -> HTML4.0

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
James A Sutherland wrote:
> 
> You were premature, because you invoked a veto on an idea you
> hadn't even looked at. You saw the word "rename", and leapt to
> completely the wrong conclusion.

I'm beginning to resent your putting words in my 'mouth.'  :-(
I did nothing of the sort.

> > *Now* the concept makes sense.  Looking back through this thread,
> > this is the most clearly (by far) that it's been described.
> 
> Agreed; the earlier explanation was scattered across multiple
> posting from multiple people, and would have required reading
> the thread to understand the idea.

Which I did, and it still wasn't -- and even on re-reading,
isn't -- clear.  Your precis made it clear.

> IMO, you should have done one or the other before vetoing an
> unknown proposal :-)

I vetoed something that was known, but phrased in such a way that
it was readily misconstrued.

> (From your comment, can I take it you have withdrawn the veto??)

Since it doesn't apply, it doesn't matter.  If the discussion
ever comes round to actually proposing what it appeared this
one was, I'll veto it again at the time.
-- 
#ken    P-)}

Ken Coar                    <http://Golux.Com/coar/>
Apache Software Foundation  <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed"   <http://ApacheUnleashed.Com/>

Re: HTML3.2 -> HTML4.0

Posted by James A Sutherland <ja...@cam.ac.uk>.
On Tue, 28 Nov 2000, you wrote:
> James A Sutherland wrote:
> > 
> > Whatever your reasoning, a veto was premature. You vetoed an idea
> > you thought might be under discussion, before asking what was
> > being proposed.
> 
> Wrong.  You apparently don't understand how the veto process works.
> I was mistaken, but not premature.

You were premature, because you invoked a veto on an idea you hadn't even
looked at. You saw the word "rename", and leapt to completely the wrong
conclusion.

> > > > much for everyone else, I would be quite happy to do the packaging
> > > > myself...
> > >
> > > Um, I'm talking about packaging the entire Apache distribution,
> > > not just the docs.
> > 
> > So was I.
> 
> Now who's being premature? :-)

Eh? I'm sure everyone who rolls releases is quite capable of doing so with a
"cvs update" and "wget" instead of "./expand.pl; rm -f expand.pl". If I'm wrong
and everyone else is incapable of reading and typing, I can do it :-)

> > OK, we'll all go back to running CERN httpd. Functionally speaking,
> > none of the docs are "broke" - so why "fix" them? Just write-protect
> > the tree and leave the docs as they are...
> 
> Well, I guess you only like adages if you voice them. :-/

This particular adage is one which really has no place here... There are many
more aspects to consider than "is it broken? If not, leave it"!

> > Except the current contents of header.html aren't the header we
> > want, or structured in the way needed. Changing the contents of
> > header.html would break every page in docs ATM; putting the new
> > header in a new file allows for a gradual changeover.
> 
> *Now* the concept makes sense.  Looking back through this thread,
> this is the most clearly (by far) that it's been described.

Agreed; the earlier explanation was scattered across multiple posting from
multiple people, and would have required reading the thread to understand the
idea. Or asking what the idea was. IMO, you should have done one or the other
before vetoing an unknown proposal :-)

(From your comment, can I take it you have withdrawn the veto??)


James.

please unsubscribe

Posted by S Bardha <sb...@net-data.com>.
unsubscribe


Re: HTML3.2 -> HTML4.0

Posted by James A Sutherland <ja...@cam.ac.uk>.
On Wed, 29 Nov 2000, you wrote:
> > > Are you proposing that all the documentation be moved to XHTML, or just
> > > these header files? The former is a sizeable undertaking from two
> > > fronts. One, we're talking about a lot of docs to convert. Two, we're
> > > talking about educating every contributer to submit stuff in XHTML, when
> > > they are used to writing HTML.
> > 
> > The changes required aren't huge; the only major thing is using lowercase for
> > tags. You need to put a trailing slash on single tags, too; apart from that,
> > it's no big deal.
> 
> Yes, understood, I know what's involved in making a document XHTML
> complient. What's big, however, is the scope of such a change. We're
> talking about, at a rough count (ls -laR | grep -c html) 455 documents
> that would need to be converted and validated. This is not a small
> undertaking.

Yes - which is why I'm not suggesting a "big bang" switchover. Just create the
new header, then convert the pages one at a time to validate properly. A fair
bit of this can be automated, anyway...

> > Basically, going for XHTML isn't a huge undertaking, and allows us to get
> > much better automatic checking. It would also be nice to boast
> > compliance with the latest and greatest standards :-)
> 
> Ja. Agreed. Just want to make sure that we know what we're getting into,
> and that there are people willing to put in the work. I tend to have
> time in cycles lately. I've been in an "off" mode the last two weeks for
> a variety of reasons. And although some folks like Joshua seem to have
> unlimited time to produce quality work, most of us are mortal.

I should have some time coming up, although how much of this will be
PC-equipped, I don't know. (The laptop went off to have the screen repaired,
and came back with three floppy drives and no battery. Duh. Then the company
folded...)

> And, thanks for your concern, but the little one is still very sick, and
> I seem to be getting it too. Bah.

Sorry to hear that - hope you're both better soon. You do know the best cure is
lots of HTML editing, don't you? :-)


James.

Re: HTML3.2 -> HTML4.0

Posted by Rich Bowen <rb...@rcbowen.com>.
> > Are you proposing that all the documentation be moved to XHTML, or just
> > these header files? The former is a sizeable undertaking from two
> > fronts. One, we're talking about a lot of docs to convert. Two, we're
> > talking about educating every contributer to submit stuff in XHTML, when
> > they are used to writing HTML.
> 
> The changes required aren't huge; the only major thing is using lowercase for
> tags. You need to put a trailing slash on single tags, too; apart from that,
> it's no big deal.

Yes, understood, I know what's involved in making a document XHTML
complient. What's big, however, is the scope of such a change. We're
talking about, at a rough count (ls -laR | grep -c html) 455 documents
that would need to be converted and validated. This is not a small
undertaking.

> Basically, going for XHTML isn't a huge undertaking, and allows us to get much
> better automatic checking. It would also be nice to boast compliance with the
> latest and greatest standards :-)

Ja. Agreed. Just want to make sure that we know what we're getting into,
and that there are people willing to put in the work. I tend to have
time in cycles lately. I've been in an "off" mode the last two weeks for
a variety of reasons. And although some folks like Joshua seem to have
unlimited time to produce quality work, most of us are mortal.

And, thanks for your concern, but the little one is still very sick, and
I seem to be getting it too. Bah.

Rich
-- 
Author: Apache Server Unleashed - www.apacheunleashed.com
Director of Web Application Development - http://www.cre8tivegroup.com/

Re: HTML3.2 -> HTML4.0

Posted by James A Sutherland <ja...@cam.ac.uk>.
On Wed, 29 Nov 2000, you wrote:
> James A Sutherland wrote:
> > 
> > On Wed, 29 Nov 2000, you wrote:
> > > James A Sutherland wrote:
> > > >
> > > > Except the current contents of header.html aren't the header we
> > > > want, or structured in the way needed. Changing the contents of
> > > > header.html would break every page in docs ATM; putting the new
> > > > header in a new file allows for a gradual changeover.
> > >
> > > By the way, I'm +1 on this approach.
> > 
> > Great - now we just need to find someone to do it :-)
> > 
> > Personally, I'd rather go for XHTML1, unless there are any pressing reasons not
> > to; apart from lower-casing the tags, the changes needed are fairly trivial. I
> > looked at this briefly a few months ago, and apart from the changes in single
> > tags (<br> etc), everything the Validator complained about consisted of genuine
> > errors - wrongly escaped special characters etc.
> > 
> > Does anyone have any objections to XHTML1 over HTML4? The extra effort is
> > minimal, and won't break anything, but it does show up some other errors which
> > need fixing.
> 
> I feel like I missed large parts of this conversation, what with a sick
> 2-year-old and cleaning up from having everyone here for Thanksgiving.
> Who knew it could take most of the weekend to get caught up on dishes?

Sorry to hear that - hope the 2yo is better now? I'm in the UK, so Thanksgiving
didn't show on the radar - now I'm spending Christmas in Texas. Hrm.

> Are you proposing that all the documentation be moved to XHTML, or just
> these header files? The former is a sizeable undertaking from two
> fronts. One, we're talking about a lot of docs to convert. Two, we're
> talking about educating every contributer to submit stuff in XHTML, when
> they are used to writing HTML. 

The changes required aren't huge; the only major thing is using lowercase for
tags. You need to put a trailing slash on single tags, too; apart from that,
it's no big deal.

> I can see that this conversation has gone on for a while, and I'll try
> to find time to go back and read the whole thing if I have a chance
> later today.

The original suggestion was to create a new header which contains a doctype tag
for HTML 4, to use instead of the old header which just adds the banner
graphic; Ken and I then spent a while arguing at cross purposes, before
realising we agreed on the correct solution. I suggested aiming for XHTML1
rather than HTML4 (Transitional) on the basis it's not much harder to comply
with. The main reason is just that Validator can then pick up quite a few
subtle errors, such as not escaping special characters properly; otherwise, it
takes very careful proof-reading to realise this.

Basically, going for XHTML isn't a huge undertaking, and allows us to get much
better automatic checking. It would also be nice to boast compliance with the
latest and greatest standards :-)


James.

Re: HTML3.2 -> HTML4.0

Posted by Rich Bowen <rb...@rcbowen.com>.
James A Sutherland wrote:
> 
> On Wed, 29 Nov 2000, you wrote:
> > James A Sutherland wrote:
> > >
> > > Except the current contents of header.html aren't the header we
> > > want, or structured in the way needed. Changing the contents of
> > > header.html would break every page in docs ATM; putting the new
> > > header in a new file allows for a gradual changeover.
> >
> > By the way, I'm +1 on this approach.
> 
> Great - now we just need to find someone to do it :-)
> 
> Personally, I'd rather go for XHTML1, unless there are any pressing reasons not
> to; apart from lower-casing the tags, the changes needed are fairly trivial. I
> looked at this briefly a few months ago, and apart from the changes in single
> tags (<br> etc), everything the Validator complained about consisted of genuine
> errors - wrongly escaped special characters etc.
> 
> Does anyone have any objections to XHTML1 over HTML4? The extra effort is
> minimal, and won't break anything, but it does show up some other errors which
> need fixing.

I feel like I missed large parts of this conversation, what with a sick
2-year-old and cleaning up from having everyone here for Thanksgiving.
Who knew it could take most of the weekend to get caught up on dishes?

Are you proposing that all the documentation be moved to XHTML, or just
these header files? The former is a sizeable undertaking from two
fronts. One, we're talking about a lot of docs to convert. Two, we're
talking about educating every contributer to submit stuff in XHTML, when
they are used to writing HTML. 

I can see that this conversation has gone on for a while, and I'll try
to find time to go back and read the whole thing if I have a chance
later today.

Rich
-- 
Author: Apache Server Unleashed - www.apacheunleashed.com
Director of Web Application Development - http://www.cre8tivegroup.com/

Re: Converting docs to XHTML (was Re: HTML3.2 -> HTML4.0)

Posted by Rich Bowen <rb...@rcbowen.com>.
> Okay, here is a suggested course of action:
> 
> 1. I will give a "heads-up" to the new-httpd list later today
> on the XHTML issue to make sure nobody there objects.
> 
> 2. We wait about two days to make sure eveyone has a chance to
> read this thread and voice their opinion on conversion to XHTML.
> 
> 3. In that time, we settle the issue of what the header and footer SSI
> should look like, what it will be called, and how it will be included in
> the files and in the distribution.  I think it is time for specific
> proposals on this issue, and turn down the bickering a little.  It seems
> logical that this be done at the same time as the XHTML conversion.
> 
> 4. Assuming no objections, and the SSI issue being settled,
> you take one file and convert it and post it.
> 
> 5. Assuming no objections to this, do the same thing for
> an entire directory.  You can tar it up and put it on a website,
> or just email it directly to me and I can commit it.  (Or if
> you get commit access by this point, you can do it yourself.)
> 
> Is this a good plan?

Works for me. And I'll definately try to participate in the effort if I
get some extra time this week.

Rich
-- 
Author: Apache Server Unleashed - www.apacheunleashed.com
Director of Web Application Development - http://www.cre8tivegroup.com/

Re: Converting docs to XHTML (was Re: HTML3.2 -> HTML4.0)

Posted by James A Sutherland <ja...@cam.ac.uk>.
On Wed, 29 Nov 2000, you wrote:
> On Wed, 29 Nov 2000, James A Sutherland wrote:
> > OK. Since I made a start on this a while ago, I'll volunteer to make a start -
> > I don't have commit access, though, so who wants to handle the patches? Or can
> > I get commit access on docs? Just lowercasing the tags will generate a huge
> > flood of trivial but enormous patches; e-mailling them to apache-docs would
> > probably put a price on my head :-)
> > 
> > > It is a significant enough change, that I would probably run it by
> > > new-httpd before making any decisions.  We need to make sure that it would
> > > not pose a barrier to any of the developers when it comes to documenting
> > > their work.
> > 
> > Agreed; do you want to propose it, or shall I? (If any developers do have
> > problems with XHTML, I would be willing to XHTMLify their docs; I doubt this
> > will be an issue for many of them, though.)
> > 
> 
> Okay, here is a suggested course of action:
> 
> 1. I will give a "heads-up" to the new-httpd list later today
> on the XHTML issue to make sure nobody there objects.
> 
> 2. We wait about two days to make sure eveyone has a chance to
> read this thread and voice their opinion on conversion to XHTML.
> 
> 3. In that time, we settle the issue of what the header and footer SSI
> should look like, what it will be called, and how it will be included in
> the files and in the distribution.  I think it is time for specific
> proposals on this issue, and turn down the bickering a little.  It seems
> logical that this be done at the same time as the XHTML conversion.

Committing the new header file is the first step in the XHTML conversion; all
the XHTML pages will then reference this file.

> 4. Assuming no objections, and the SSI issue being settled, 
> you take one file and convert it and post it.
> 
> 5. Assuming no objections to this, do the same thing for
> an entire directory.  You can tar it up and put it on a website,
> or just email it directly to me and I can commit it.  (Or if
> you get commit access by this point, you can do it yourself.)
> 
> Is this a good plan?

Yes, that's fine with me. Hopefully Rich will be able to help once we make a
start, assuming no objections.


James.

Re: Converting docs to XHTML (was Re: HTML3.2 -> HTML4.0)

Posted by James A Sutherland <ja...@cam.ac.uk>.
On Thu, 30 Nov 2000, you wrote:
> On Wed, 29 Nov 2000, Joshua Slive wrote:
> 
> > 2. We wait about two days to make sure eveyone has a chance to
> > read this thread and voice their opinion on conversion to XHTML.
> 
> OK, here is a lurker's opinion :-)
> 
> Have you considered the problems that may occur with older browsers that
> doesn't support XHTML? Some old browsers doesn't handle tags without
> closing tags, such as <BR/> or <BR />, very gracefully.

Oh? Which browsers do this?

Personally, I think we can ignore any browser that broken; with time, it will
have problems with more and more of the WWW. Depending, of course, on WHICH
browsers do this :-)

> Apart from this, I think it sounds like a good idea and I wouldn't mind
> helping out with the conversion.

Excellent!


James.

Re: Converting docs to XHTML (was Re: HTML3.2 -> HTML4.0)

Posted by Joshua Slive <sl...@finance.commerce.ubc.ca>.
On Thu, 30 Nov 2000, Patrik Grip-Jansson wrote:

> OK, here is a lurker's opinion :-)

Always welcome!

>
> Have you considered the problems that may occur with older browsers that
> doesn't support XHTML? Some old browsers doesn't handle tags without
> closing tags, such as <BR/> or <BR />, very gracefully.

I haven't done any research on this myself.  Is there any way to find
more details?  Which browsers work and which don't?

Re: Converting docs to XHTML (was Re: HTML3.2 -> HTML4.0)

Posted by Patrik Grip-Jansson <pa...@gnulix.org>.
On Wed, 29 Nov 2000, Joshua Slive wrote:

> 2. We wait about two days to make sure eveyone has a chance to
> read this thread and voice their opinion on conversion to XHTML.

OK, here is a lurker's opinion :-)

Have you considered the problems that may occur with older browsers that
doesn't support XHTML? Some old browsers doesn't handle tags without
closing tags, such as <BR/> or <BR />, very gracefully.

Apart from this, I think it sounds like a good idea and I wouldn't mind
helping out with the conversion.

-- 

   /Patrik Grip-Jansson



Converting docs to XHTML (was Re: HTML3.2 -> HTML4.0)

Posted by Joshua Slive <sl...@finance.commerce.ubc.ca>.
On Wed, 29 Nov 2000, James A Sutherland wrote:
> OK. Since I made a start on this a while ago, I'll volunteer to make a start -
> I don't have commit access, though, so who wants to handle the patches? Or can
> I get commit access on docs? Just lowercasing the tags will generate a huge
> flood of trivial but enormous patches; e-mailling them to apache-docs would
> probably put a price on my head :-)
> 
> > It is a significant enough change, that I would probably run it by
> > new-httpd before making any decisions.  We need to make sure that it would
> > not pose a barrier to any of the developers when it comes to documenting
> > their work.
> 
> Agreed; do you want to propose it, or shall I? (If any developers do have
> problems with XHTML, I would be willing to XHTMLify their docs; I doubt this
> will be an issue for many of them, though.)
> 

Okay, here is a suggested course of action:

1. I will give a "heads-up" to the new-httpd list later today
on the XHTML issue to make sure nobody there objects.

2. We wait about two days to make sure eveyone has a chance to
read this thread and voice their opinion on conversion to XHTML.

3. In that time, we settle the issue of what the header and footer SSI
should look like, what it will be called, and how it will be included in
the files and in the distribution.  I think it is time for specific
proposals on this issue, and turn down the bickering a little.  It seems
logical that this be done at the same time as the XHTML conversion.

4. Assuming no objections, and the SSI issue being settled, 
you take one file and convert it and post it.

5. Assuming no objections to this, do the same thing for
an entire directory.  You can tar it up and put it on a website,
or just email it directly to me and I can commit it.  (Or if
you get commit access by this point, you can do it yourself.)

Is this a good plan?

Joshua.


Re: HTML3.2 -> HTML4.0

Posted by James A Sutherland <ja...@cam.ac.uk>.
On Wed, 29 Nov 2000, you wrote:
> On Wed, 29 Nov 2000, James A Sutherland wrote:
> > Personally, I'd rather go for XHTML1, unless there are any pressing reasons not
> > to; apart from lower-casing the tags, the changes needed are fairly trivial. I
> > looked at this briefly a few months ago, and apart from the changes in single
> > tags (<br> etc), everything the Validator complained about consisted of genuine
> > errors - wrongly escaped special characters etc.
> >
> > Does anyone have any objections to XHTML1 over HTML4? The extra effort is
> > minimal, and won't break anything, but it does show up some other errors which
> > need fixing.
> 
> I have considered this issue.  It could be done relatively painlessly
> through the use of htmltidy, which also has the advantage of fixing up
> small coding mistakes.  However, I see two major issues:
> 
> 1. Once this is done, there is absolutely no way to make one patch that
> will apply against both the httpd-docs-1.3 tree and the httpd-docs-2.0
> tree.  Every change would need to be written twice.  However, the trees
> are diverging at a quick enough pace right now, that this won't be
> a real issue for long.

Agreed. Backporting the update would be the alternative; having said that, is
it worth the effort? How many patches will really be relevant to both trees
anyway?

> 2. As Rich mentioned, this increases the barrier to entry.  XHTML does
> not appear to be any harder than HTML in general, but it is less
> forgiving.  We may be restricting even further the number of people
> willing to work on docs.

I'm not sure that'll be an issue; at worst, we'll get people saying "I've
changed foo, and now Validator says it's wrong!" at which point one of us who
can do XHTML can explain what they've missed. We don't need every patch to
create perfect XHTML, as long as we know when it gets broken and can fix it
again.

> Having said that, if someone feels like they want to take this on as a
> project, I would have no objections.  However, it is not something that I
> am going to put high on my priority list, when there are so many
> content-related things which still need to be done.

OK. Since I made a start on this a while ago, I'll volunteer to make a start -
I don't have commit access, though, so who wants to handle the patches? Or can
I get commit access on docs? Just lowercasing the tags will generate a huge
flood of trivial but enormous patches; e-mailling them to apache-docs would
probably put a price on my head :-)

> It is a significant enough change, that I would probably run it by
> new-httpd before making any decisions.  We need to make sure that it would
> not pose a barrier to any of the developers when it comes to documenting
> their work.

Agreed; do you want to propose it, or shall I? (If any developers do have
problems with XHTML, I would be willing to XHTMLify their docs; I doubt this
will be an issue for many of them, though.)


James.

Re: HTML3.2 -> HTML4.0

Posted by Joshua Slive <sl...@finance.commerce.ubc.ca>.
On Wed, 29 Nov 2000, James A Sutherland wrote:
> Personally, I'd rather go for XHTML1, unless there are any pressing reasons not
> to; apart from lower-casing the tags, the changes needed are fairly trivial. I
> looked at this briefly a few months ago, and apart from the changes in single
> tags (<br> etc), everything the Validator complained about consisted of genuine
> errors - wrongly escaped special characters etc.
>
> Does anyone have any objections to XHTML1 over HTML4? The extra effort is
> minimal, and won't break anything, but it does show up some other errors which
> need fixing.

I have considered this issue.  It could be done relatively painlessly
through the use of htmltidy, which also has the advantage of fixing up
small coding mistakes.  However, I see two major issues:

1. Once this is done, there is absolutely no way to make one patch that
will apply against both the httpd-docs-1.3 tree and the httpd-docs-2.0
tree.  Every change would need to be written twice.  However, the trees
are diverging at a quick enough pace right now, that this won't be
a real issue for long.

2. As Rich mentioned, this increases the barrier to entry.  XHTML does
not appear to be any harder than HTML in general, but it is less
forgiving.  We may be restricting even further the number of people
willing to work on docs.

Having said that, if someone feels like they want to take this on as a
project, I would have no objections.  However, it is not something that I
am going to put high on my priority list, when there are so many
content-related things which still need to be done.

It is a significant enough change, that I would probably run it by
new-httpd before making any decisions.  We need to make sure that it would
not pose a barrier to any of the developers when it comes to documenting
their work.

Joshua.


Re: HTML3.2 -> HTML4.0

Posted by James A Sutherland <ja...@cam.ac.uk>.
On Wed, 29 Nov 2000, you wrote:
> James A Sutherland wrote:
> > 
> > Except the current contents of header.html aren't the header we
> > want, or structured in the way needed. Changing the contents of
> > header.html would break every page in docs ATM; putting the new
> > header in a new file allows for a gradual changeover.
> 
> By the way, I'm +1 on this approach.

Great - now we just need to find someone to do it :-)

Personally, I'd rather go for XHTML1, unless there are any pressing reasons not
to; apart from lower-casing the tags, the changes needed are fairly trivial. I
looked at this briefly a few months ago, and apart from the changes in single
tags (<br> etc), everything the Validator complained about consisted of genuine
errors - wrongly escaped special characters etc.

Does anyone have any objections to XHTML1 over HTML4? The extra effort is
minimal, and won't break anything, but it does show up some other errors which
need fixing.


James.

Re: HTML3.2 -> HTML4.0

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
James A Sutherland wrote:
> 
> Except the current contents of header.html aren't the header we
> want, or structured in the way needed. Changing the contents of
> header.html would break every page in docs ATM; putting the new
> header in a new file allows for a gradual changeover.

By the way, I'm +1 on this approach.
-- 
#ken    P-)}

Ken Coar                    <http://Golux.Com/coar/>
Apache Software Foundation  <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed"   <http://ApacheUnleashed.Com/>

Re: HTML3.2 -> HTML4.0

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
James A Sutherland wrote:
> 
> Whatever your reasoning, a veto was premature. You vetoed an idea
> you thought might be under discussion, before asking what was
> being proposed.

Wrong.  You apparently don't understand how the veto process works.
I was mistaken, but not premature.

> > > much for everyone else, I would be quite happy to do the packaging
> > > myself...
> >
> > Um, I'm talking about packaging the entire Apache distribution,
> > not just the docs.
> 
> So was I.

Now who's being premature? :-)

> OK, we'll all go back to running CERN httpd. Functionally speaking,
> none of the docs are "broke" - so why "fix" them? Just write-protect
> the tree and leave the docs as they are...

Well, I guess you only like adages if you voice them. :-/

> Except the current contents of header.html aren't the header we
> want, or structured in the way needed. Changing the contents of
> header.html would break every page in docs ATM; putting the new
> header in a new file allows for a gradual changeover.

*Now* the concept makes sense.  Looking back through this thread,
this is the most clearly (by far) that it's been described.
-- 
#ken    P-)}

Ken Coar                    <http://Golux.Com/coar/>
Apache Software Foundation  <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed"   <http://ApacheUnleashed.Com/>

Re: HTML3.2 -> HTML4.0

Posted by James A Sutherland <ja...@cam.ac.uk>.
On Tue, 28 Nov 2000, you wrote:
> James A Sutherland wrote:
> > 
> > > That's not a vote, it's a veto.
> > 
> > Which is even worse: you don't even appear to have considered
> > the issue, yet you are leaping to a conclusion prematurely.
> 
> Not so.  Regardless of what you may think, I *did* consider the
> issue, and jumped to no premature conclusions.  The issue I
> was considering apparently wasn't the one under discussion,
> however.

Whatever your reasoning, a veto was premature. You vetoed an idea you thought
might be under discussion, before asking what was being proposed.

> > There is more to it than that: using a variable for part of header.*'s
> > content implies that it must be .shtml (or use the x-bit kludge...)
> 
> It implies that it needs to be server-parsed, not that it be named
> .shtml.  And all of the docco .html files are already server-parsed;
> tthat's how the header and footer get included now.

I know the documentation files are server-parsed; right now, header.html
consists of six lines of HTML, not an SSI directive among them. The suggestion
was to replace this with dynamic content incorporating the entire HTML <HEAD>
section, down as far as the <h1> or thereabouts.

Another justification for creating a new header.* file is that the proposed
header was to include a DOCTYPE definition, probably for HTML 4 Transitional.
Blindly including this in every HTML file would be a bad idea, since it
involves a significant change to every file including it.

Chris was suggesting instead creating a new header, migrating the pages
individually to use the new header instead, then deleting the old one.

> > Rewriting the header and footer from a static HTML file to a
> > dynamic SHTML file would seem like justification for adding the
> > header.shtml file as a new file, and deleting the old one once
> > no pages reference it.
> 
> I still don't see the point, since the {header,footer}.html files
> are being parsed *right now*.  They aren't static.

They are very definitely static. They may well be being parsed, but this is
just a nop. The current header.html is COMPLETELY different from the proposed
replacement in content.

> > Provided you have wget installed, and the docs are available online
> > or on a server on your machine, it's a single command. If that's too
> > much for everyone else, I would be quite happy to do the packaging
> > myself...
> 
> Um, I'm talking about packaging the entire Apache distribution,
> not just the docs.

So was I.

> > I have. AFAICS, this is just a matter of replacing expand.pl with
> > a suitable wget invocation, preceded with a cvs update in the
> > appropriate directory. Same number of steps, no expand.pl needed
> > any more.
> 
> But wget needed instead.  Since you seem to want to drag out
> aphorisms, how about "if it ain't broke, don't waste time fixing
> it."

OK, we'll all go back to running CERN httpd. Functionally speaking, none of the
docs are "broke" - so why "fix" them? Just write-protect the tree and leave the
docs as they are...

> > Advantage: it works.
> 
> No points; what we have right now works too.

The point is, it doesn't work as well as the replacement. Improving the docs
is, after all, the whole point of that CVS repository...

> > Putting SSI commands in header.html won't work terribly well ATM.
> 
> What makes you say that?  It works just fine right now.  So I don't
> see any need to change any file names.

Except the current contents of header.html aren't the header we want, or
structured in the way needed. Changing the contents of header.html would break
every page in docs ATM; putting the new header in a new file allows for a
gradual changeover.


James.

Re: HTML3.2 -> HTML4.0

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
James A Sutherland wrote:
> 
> > That's not a vote, it's a veto.
> 
> Which is even worse: you don't even appear to have considered
> the issue, yet you are leaping to a conclusion prematurely.

Not so.  Regardless of what you may think, I *did* consider the
issue, and jumped to no premature conclusions.  The issue I
was considering apparently wasn't the one under discussion,
however.

> There is more to it than that: using a variable for part of header.*'s
> content implies that it must be .shtml (or use the x-bit kludge...)

It implies that it needs to be server-parsed, not that it be named
.shtml.  And all of the docco .html files are already server-parsed;
that's how the header and footer get included now.

> Rewriting the header and footer from a static HTML file to a
> dynamic SHTML file would seem like justification for adding the
> header.shtml file as a new file, and deleting the old one once
> no pages reference it.

I still don't see the point, since the {header,footer}.html files
are being parsed *right now*.  They aren't static.

> Provided you have wget installed, and the docs are available online
> or on a server on your machine, it's a single command. If that's too
> much for everyone else, I would be quite happy to do the packaging
> myself...

Um, I'm talking about packaging the entire Apache distribution,
not just the docs.

> I have. AFAICS, this is just a matter of replacing expand.pl with
> a suitable wget invocation, preceded with a cvs update in the
> appropriate directory. Same number of steps, no expand.pl needed
> any more.

But wget needed instead.  Since you seem to want to drag out
aphorisms, how about "if it ain't broke, don't waste time fixing
it."

> Advantage: it works.

No points; what we have right now works too.

> Putting SSI commands in header.html won't work terribly well ATM.

What makes you say that?  It works just fine right now.  So I don't
see any need to change any file names.
-- 
#ken    P-)}

Ken Coar                    <http://Golux.Com/coar/>
Apache Software Foundation  <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed"   <http://ApacheUnleashed.Com/>

Re: HTML3.2 -> HTML4.0

Posted by James A Sutherland <ja...@cam.ac.uk>.
On Tue, 28 Nov 2000, you wrote:
> James A Sutherland wrote:
> > 
> > > Putting a burden on the process of packaging the software for
> > > distribution, solely so some files can be renamed.  For this
> > > reason and the effect on the repository, -1.
> > 
> > I never suggested a vote on the issue;
> 
> That's not a vote, it's a veto.

Which is even worse: you don't even appear to have considered the issue, yet
you are leaping to a conclusion prematurely.

> > you actually said that this is already done: "the documentation
> > is packaged as part of the Apache distribution, with the SSIs
> > statically 'compiled'".
> 
> So foo.html looks the same whether you're looking at it on the
> Apache site, a mirror, or your local installation, whether the
> result is being produced with SSIs (the former two) or not (the
> latter).

Is this done, or not? First you said it is done - then one of the reasons you
gave for the veto was that adding this step to building a release would be
unnecessary extra work! Which is it?

> > You've also missed the point completely - "solely so some files can
> > be renamed"?! Renaming some of the files was part of the proposed
> > method, not one of the aims.
> 
> Chris wrote:
> >         Don't know, but if we do the switch by hand, I'd like to use 
> > .shtml or something instead of the .html to make headers & footers 
> > easier to distinguish. This may also make it easier to do the change 
> > over time -- header.shtml can be the newer larger header, and any 
> > hits on header.html in *.html are old files to fix.
> 
> Perhaps I did miss the point.  In which case I don't see what the
> point actually is here.  Chris?

There is more to it than that: using a variable for part of header.*'s content
implies that it must be .shtml (or use the x-bit kludge...)

> > I don't see what you mean about "the effect on the repository",
> > either: it's a simple change to the HTML files in it.
> 
> Renaming files inside a repository creates headaches.  Lots of
> headaches.  Big ones.  Adding new files, as I now understand
> Chris to be saying, doesn't create headaches, just possibly some
> confusion.

Rewriting the header and footer from a static HTML file to a dynamic SHTML file
would seem like justification for adding the header.shtml file as a new file,
and deleting the old one once no pages reference it. This could be regarded as
a rename operation, but it is a case of "rename and replace contents". The
phrase about 30 year old axes on their third handle and fifth head springs to
mind!

> > I accept it involves some extra work in packaging; if the CVS tree
> > were made available, periodically updated, it would be a simple
> > "wget" command to "freeze" the documentation for a release.
> 
> Easily said, since you aren't one of the ones doing the packaging.. :-)

Provided you have wget installed, and the docs are available online or on a
server on your machine, it's a single command. If that's too much for everyone
else, I would be quite happy to do the packaging myself...

> > So put a link to a complete server with the docs on.
> 
> No good.  Lots of installations are done off-net or in intranets
> w/o access.
> 
> > Or "freeze" the docs from a server with SSI enabled.
> 
> That's what's essentially done now, except it isn't done through
> the Web, but by a script.  Take a look at the 'how to roll a release'
> document on dev.apache.org to see how it's currently done.

I have. AFAICS, this is just a matter of replacing expand.pl with a suitable
wget invocation, preceded with a cvs update in the appropriate directory. Same
number of steps, no expand.pl needed any more.

> In essence, I don't see any advantages here, and some disadvantages
> for people who aren't on the docco project.  But maybe I'm still
> missing the point.

Advantage: it works. Putting SSI commands in header.html won't work terribly
well ATM. The x-bit kludge avoids this, but you're still replacing all the
contents of that file - same axe, new handle, new head...


James.

Re: HTML3.2 -> HTML4.0

Posted by Chris Pepper <pe...@mail.reppep.com>.
At 4:16 PM -0500 2000/11/28, Rodent of Unusual Size wrote:
>James A Sutherland wrote:

>Chris wrote:
>>          Don't know, but if we do the switch by hand, I'd like to use
>>  .shtml or something instead of the .html to make headers & footers
>>  easier to distinguish. This may also make it easier to do the change
>>  over time -- header.shtml can be the newer larger header, and any
>>  hits on header.html in *.html are old files to fix.
>
>Perhaps I did miss the point.  In which case I don't see what the
>point actually is here.  Chris?

	Unless someone volunteers to do the change in one night, I 
expect we'll have a period where some files use the old header.html 
and some use the new one. Cleanup in this situation is eased if we 
don't use the same name for the old (partial) and new (complete) 
headers & footers. I picked header.shtml & footer.shtml because 
someone else mentioned these names, and they make searching for pages 
to update particularly easy. I'm also fine with header-new.html or 
header-big.html, if we prefer.

>  > I don't see what you mean about "the effect on the repository",
>>  either: it's a simple change to the HTML files in it.
>
>Renaming files inside a repository creates headaches.  Lots of
>headaches.  Big ones.  Adding new files, as I now understand
>Chris to be saying, doesn't create headaches, just possibly some
>confusion.

	No renaming. We'd create new header/footer files, update the 
existing pages to use them, then delete the old header/footer files. 
I think this is a net gain, as it avoids confusion when there are two 
different headers/footers.

>  > Or "freeze" the docs from a server with SSI enabled.
>
>That's what's essentially done now, except it isn't done through
>the Web, but by a script.  Take a look at the 'how to roll a release'
>document on dev.apache.org to see how it's currently done.

	I'm not hooked on .shtml -- it's just convenient for the doc 
writing/updating project. Not a big enough win to push to change the 
build process.

	On the other hand, it seems odd to be using SSI and something 
other than Apache to 'expand' it, but this is fundamentally a 
different issue.


						Chris

-- 
Chris Pepper     | Shooting Gallery Interactive | 212 905-2200
Mac OS X Software:   <http://www.mosxsw.com/>

Re: HTML3.2 -> HTML4.0

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
James A Sutherland wrote:
> 
> > Putting a burden on the process of packaging the software for
> > distribution, solely so some files can be renamed.  For this
> > reason and the effect on the repository, -1.
> 
> I never suggested a vote on the issue;

That's not a vote, it's a veto.

> you actually said that this is already done: "the documentation
> is packaged as part of the Apache distribution, with the SSIs
> statically 'compiled'".

So foo.html looks the same whether you're looking at it on the
Apache site, a mirror, or your local installation, whether the
result is being produced with SSIs (the former two) or not (the
latter).

> You've also missed the point completely - "solely so some files can
> be renamed"?! Renaming some of the files was part of the proposed
> method, not one of the aims.

Chris wrote:
>         Don't know, but if we do the switch by hand, I'd like to use 
> .shtml or something instead of the .html to make headers & footers 
> easier to distinguish. This may also make it easier to do the change 
> over time -- header.shtml can be the newer larger header, and any 
> hits on header.html in *.html are old files to fix.

Perhaps I did miss the point.  In which case I don't see what the
point actually is here.  Chris?

> I don't see what you mean about "the effect on the repository",
> either: it's a simple change to the HTML files in it.

Renaming files inside a repository creates headaches.  Lots of
headaches.  Big ones.  Adding new files, as I now understand
Chris to be saying, doesn't create headaches, just possibly some
confusion.

> I accept it involves some extra work in packaging; if the CVS tree
> were made available, periodically updated, it would be a simple
> "wget" command to "freeze" the documentation for a release.

Easily said, since you aren't one of the ones doing the packaging.. :-)

> So put a link to a complete server with the docs on.

No good.  Lots of installations are done off-net or in intranets
w/o access.

> Or "freeze" the docs from a server with SSI enabled.

That's what's essentially done now, except it isn't done through
the Web, but by a script.  Take a look at the 'how to roll a release'
document on dev.apache.org to see how it's currently done.

In essence, I don't see any advantages here, and some disadvantages
for people who aren't on the docco project.  But maybe I'm still
missing the point.
-- 
#ken    P-)}

Ken Coar                    <http://Golux.Com/coar/>
Apache Software Foundation  <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed"   <http://ApacheUnleashed.Com/>

Re: HTML3.2 -> HTML4.0

Posted by James A Sutherland <ja...@cam.ac.uk>.
On Tue, 28 Nov 2000, you wrote:
> James A Sutherland wrote:
> > 
> > If this is a requirement, taking a "snapshot" of the pages would do,
> > then include the source in a tarball. Perhaps better to include a
> > link to a proper installation of the docs, though.
> 
> Putting a burden on the process of packaging the software for
> distribution, solely so some files can be renamed.  For this
> reason and the effect on the repository, -1.

I never suggested a vote on the issue; you actually said that this is already
done: "the documentation is packaged as part of the Apache distribution, with
the SSIs statically 'compiled'".

You've also missed the point completely - "solely so some files can be
renamed"?! Renaming some of the files was part of the proposed method, not one
of the aims.

I don't see what you mean about "the effect on the repository", either: it's a
simple change to the HTML files in it.

I accept it involves some extra work in packaging; if the CVS tree were made
available, periodically updated, it would be a simple "wget" command to
"freeze" the documentation for a release.

> > > No.  Lots of people DO NOT want SSIs enabled, and certainly not
> > > by default.
> > 
> > Hrm... Personally, I'd provide a link to thttpd for people wanting
> > a minimal cutdown server which does nothing other than serving
> > files :-)
> 
> Who said anything about a minimal server?  Some people just don't
> want to enable SSIs.  The documentation must be readable by the
> server with which it ships, in its barest form.

So put a link to a complete server with the docs on. Or "freeze" the docs from
a server with SSI enabled.


James.

Re: HTML3.2 -> HTML4.0

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
James A Sutherland wrote:
> 
> If this is a requirement, taking a "snapshot" of the pages would do,
> then include the source in a tarball. Perhaps better to include a
> link to a proper installation of the docs, though.

Putting a burden on the process of packaging the software for
distribution, solely so some files can be renamed.  For this
reason and the effect on the repository, -1.

> > No.  Lots of people DO NOT want SSIs enabled, and certainly not
> > by default.
> 
> Hrm... Personally, I'd provide a link to thttpd for people wanting
> a minimal cutdown server which does nothing other than serving
> files :-)

Who said anything about a minimal server?  Some people just don't
want to enable SSIs.  The documentation must be readable by the
server with which it ships, in its barest form.

> I wouldn't rate SSI (with NoExec) as "far-reaching"; it seems
> pretty basic from here. I would almost consider not enabling it
> to be a bug in the default httpd.conf... At the very least, it
> should be more obvious (and simpler) to enable.

This is a discussion that has been held several times over the
years on the development list, and each time the result has been
the same.
-- 
#ken    P-)}

Ken Coar                    <http://Golux.Com/coar/>
Apache Software Foundation  <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed"   <http://ApacheUnleashed.Com/>

Re: HTML3.2 -> HTML4.0

Posted by James A Sutherland <ja...@cam.ac.uk>.
On Tue, 28 Nov 2000, you wrote:
> James A Sutherland wrote:
> > 
> > Is there any reason for shipping like this, though?
> 
> Yes.  Because the core module can process them, and no additional
> modules need be loaded.

If this is a requirement, taking a "snapshot" of the pages would do, then
include the source in a tarball. Perhaps better to include a link to a proper
installation of the docs, though.

> > IMO, enabling them by default would be perfectly reasonable.
> 
> No.  Lots of people DO NOT want SSIs enabled, and certainly not
> by default.

Hrm... Personally, I'd provide a link to thttpd for people wanting a minimal
cutdown server which does nothing other than serving files :-)

> > It also provides a nice example for new users to see how SSI
> > works :-)
> 
> Then let them check out a tutorial.  Shipping something with
> pre-enabled functionality as far-reaching as SSI, particularly
> considering the security ramifications, is not a Good Idea.

I wouldn't rate SSI (with NoExec) as "far-reaching"; it seems pretty basic from
here. I would almost consider not enabling it to be a bug in the default
httpd.conf... At the very least, it should be more obvious (and simpler) to
enable.


James.

Re: HTML3.2 -> HTML4.0

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
James A Sutherland wrote:
> 
> Is there any reason for shipping like this, though?

Yes.  Because the core module can process them, and no additional
modules need be loaded.

> IMO, enabling them by default would be perfectly reasonable.

No.  Lots of people DO NOT want SSIs enabled, and certainly not
by default.

> It also provides a nice example for new users to see how SSI
> works :-)

Then let them check out a tutorial.  Shipping something with
pre-enabled functionality as far-reaching as SSI, particularly
considering the security ramifications, is not a Good Idea.
-- 
#ken    P-)}

Ken Coar                    <http://Golux.Com/coar/>
Apache Software Foundation  <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed"   <http://ApacheUnleashed.Com/>

Re: HTML3.2 -> HTML4.0

Posted by James A Sutherland <ja...@cam.ac.uk>.
On Tue, 28 Nov 2000, you wrote:
> Chris Pepper wrote:
> > 
> >         Don't know, but if we do the switch by hand, I'd like to use
> > .shtml or something instead of the .html to make headers & footers
> > easier to distinguish.
> 
> Not a good idea; the documentation is packaged as part of the
> Apache distribution, with the SSIs statically 'compiled.'  The
> default distribution doesn't include a default IMT for .shtml,
> and if it did you would be forcing new users to either use SSIs
> or not.

Is there any reason for shipping like this, though? IMO, enabling them by
default would be perfectly reasonable. It also provides a nice example for new
users to see how SSI works :-)


James.

Re: HTML3.2 -> HTML4.0

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Chris Pepper wrote:
> 
>         Don't know, but if we do the switch by hand, I'd like to use
> .shtml or something instead of the .html to make headers & footers
> easier to distinguish.

Not a good idea; the documentation is packaged as part of the
Apache distribution, with the SSIs statically 'compiled.'  The
default distribution doesn't include a default IMT for .shtml,
and if it did you would be forcing new users to either use SSIs
or not.
-- 
#ken    P-)}

Ken Coar                    <http://Golux.Com/coar/>
Apache Software Foundation  <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed"   <http://ApacheUnleashed.Com/>

Re: HTML3.2 -> HTML4.0

Posted by James A Sutherland <ja...@cam.ac.uk>.
On Tue, 28 Nov 2000, you wrote:
> At 9:37 AM +0000 2000/11/28, James A Sutherland wrote:
> >On Tue, 28 Nov 2000, you wrote:
> >  > On Tue, 28 Nov 2000, Chris Pepper wrote:
> 
> >Does it need to be done by hand? If you parse the file to pull out the title
> >value, and the header.shtml ends with the opening <h1>, that shouldn't be too
> >hard?
> 
> 	Don't know, but if we do the switch by hand, I'd like to use 
> .shtml or something instead of the .html to make headers & footers 
> eeasier to distinguish. This may also make it easier to do the change 
> over time -- header.shtml can be the newer larger header, and any 
> hits on header.html in *.html are old files to fix.

Good idea - are you using include file or include virtual, BTW?


James.

Re: HTML3.2 -> HTML4.0

Posted by Joshua Slive <sl...@finance.commerce.ubc.ca>.
On Tue, 28 Nov 2000, Chris Pepper wrote:

> At 9:37 AM +0000 2000/11/28, James A Sutherland wrote:
> >On Tue, 28 Nov 2000, you wrote:
> >  > On Tue, 28 Nov 2000, Chris Pepper wrote:
> 
> >Does it need to be done by hand? If you parse the file to pull out the title
> >value, and the header.shtml ends with the opening <h1>, that shouldn't be too
> >hard?
> 
> 	Don't know, but if we do the switch by hand, I'd like to use 
> .shtml or something instead of the .html to make headers & footers 
> easier to distinguish. This may also make it easier to do the change 
> over time -- header.shtml can be the newer larger header, and any 
> hits on header.html in *.html are old files to fix.
> 

Personally, I think headers and footers are plenty easy to distinguish
because they are called header.html and footer.html ;-)

As far as doing the change programatically, it may be possible, but it
will require a non-trivial perl script, and it would need serious
hand-tweaking of results, since not all the files are in the same format.
If someone is willing, this would be a nice little project.  As I said, I
am not willing to take this on my own, but I may be willing to help out if
someone else takes the lead.

There is also another issue: At the moment the default config file does
not include SSI parsing of the htdocs or htdocs/manual directory.  This
works OK, because the only thing in the header and footer SSI pages are
the graphics, and the manual is still perfectly usable without
them.  However, if we put important things in the SSI pages, then
we will need to change the default httpd.conf to enforce SSI parsing of at
least the htdocs/manual directory.

Joshua.


Re: HTML3.2 -> HTML4.0

Posted by Chris Pepper <pe...@mail.reppep.com>.
At 9:37 AM +0000 2000/11/28, James A Sutherland wrote:
>On Tue, 28 Nov 2000, you wrote:
>  > On Tue, 28 Nov 2000, Chris Pepper wrote:

>Does it need to be done by hand? If you parse the file to pull out the title
>value, and the header.shtml ends with the opening <h1>, that shouldn't be too
>hard?

	Don't know, but if we do the switch by hand, I'd like to use 
.shtml or something instead of the .html to make headers & footers 
easier to distinguish. This may also make it easier to do the change 
over time -- header.shtml can be the newer larger header, and any 
hits on header.html in *.html are old files to fix.


						Chris Pepper

-- 
Chris Pepper     | Shooting Gallery Interactive | 212 905-2200
Mac OS X Software:   <http://www.mosxsw.com/>

Re: HTML3.2 -> HTML4.0

Posted by James A Sutherland <ja...@cam.ac.uk>.
On Tue, 28 Nov 2000, you wrote:
> On Tue, 28 Nov 2000, Chris Pepper wrote:
> 
> > At 4:32 PM -0800 2000/11/27, Joshua Slive wrote:
> > >Does anyone object to a massive search & replace of all the doctypes
> > >in httpd-docs-2.0 to put everything up to HTML4.0-Transitional?
> > >This would be the precurser to modifying the header.html and footer.html
> > >files to include the fancier header with hotlinks now used on the main doc
> > >page.
> 
> > 	I'd rather use more-comprehensive headers that include the
> > DOCTYPE. Ideally, everything up through the body tag and standard top
> > elements would go in header.html and standard bottom elements would
> > go in footer.html
> 
> I have no objection to that.  I assume you mean doing some fancy SSI
> variable define, and then using that define to set the <title> and <h1>.
> In order to do this, we would need two things:
> 
> 1. An agreement on what the header.html should look like, and how
> it would be called.
> 
> 2. A volunteer to edit each file by hand to put this in.  My proposal
> could have been implemented with a couple lines of perl.  This one
> requires touching all the files, and I am not willing to do that myself.

Does it need to be done by hand? If you parse the file to pull out the title
value, and the header.shtml ends with the opening <h1>, that shouldn't be too
hard?


James.

Re: HTML3.2 -> HTML4.0

Posted by Joshua Slive <sl...@finance.commerce.ubc.ca>.
On Tue, 28 Nov 2000, Chris Pepper wrote:

> At 4:32 PM -0800 2000/11/27, Joshua Slive wrote:
> >Does anyone object to a massive search & replace of all the doctypes
> >in httpd-docs-2.0 to put everything up to HTML4.0-Transitional?
> >This would be the precurser to modifying the header.html and footer.html
> >files to include the fancier header with hotlinks now used on the main doc
> >page.

> 	I'd rather use more-comprehensive headers that include the
> DOCTYPE. Ideally, everything up through the body tag and standard top
> elements would go in header.html and standard bottom elements would
> go in footer.html

I have no objection to that.  I assume you mean doing some fancy SSI
variable define, and then using that define to set the <title> and <h1>.
In order to do this, we would need two things:

1. An agreement on what the header.html should look like, and how
it would be called.

2. A volunteer to edit each file by hand to put this in.  My proposal
could have been implemented with a couple lines of perl.  This one
requires touching all the files, and I am not willing to do that myself.

Joshua.


Re: HTML3.2 -> HTML4.0

Posted by Chris Pepper <pe...@mail.reppep.com>.
At 4:32 PM -0800 2000/11/27, Joshua Slive wrote:
>Does anyone object to a massive search & replace of all the doctypes
>in httpd-docs-2.0 to put everything up to HTML4.0-Transitional?
>This would be the precurser to modifying the header.html and footer.html
>files to include the fancier header with hotlinks now used on the main doc
>page.

Joshua,

	I'd rather use more-comprehensive headers that include the 
DOCTYPE. Ideally, everything up through the body tag and standard top 
elements would go in header.html and standard bottom elements would 
go in footer.html


						Chris

-- 
Chris Pepper     | Shooting Gallery Interactive | 212 905-2200
Mac OS X Software:   <http://www.mosxsw.com/>