Re: Problem with web TODO list

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>, "PostgreSQL www" <pgsql-www(at)postgresql(dot)org>
Subject: Re: Problem with web TODO list
Date: 2005-04-11 07:31:22
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE6C7256@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

> > >> >> HTML files (missing tags and invalid attributes) before
> > >you put it in
> > >> >> :-)
> > >> >
> > >> >In this case the HTML is derived from the text file,
> which is the
> > >> >reverse of the FAQs.
> > >>
> > >> Yes, that is because it's not present in CVS in HTML format. The
> > >> site code first searches the HTML versions and if it's not found
> > >> there, it searches the plaintext versions.
> > >>
> > >> But it will bring anything it finds in the HTML version, so
> > >the source
> > >> that goes into cvs needs to be clean.
> > >
> > >Please look on my current HTML TODO version:
> > >
> > > http://developer.postgresql.org/~momjian/TODO.html
> > >
> > >Because it is generated from text, I can't clean it up.
> What are our
> > >options?
> >
> > Hmm. one main problem is that it doesn't close the <P> or <LI> tags
> > properly. What do you use to generate it from text?
>
> I use txt2html at http://txt2html.sourceforge.net/.
>
> I just found an --xhtml flag to the utility. I added that
> and regenerated the HTML at the above URL. WOuld you check it again?

In general that should work much better. but that page has *two* <body>
tags! One within the <head> section. Either you missed a cut/paste
somewhere, or that package is *very* broken.

And it's not valid XHTML, which really should happen with --xhtml, no?
Even if I fix that, I get some invalid uses of <LI> in the output.

http://validator.w3.org/check?uri=http%3A%2F%2Fdeveloper.postgresql.org%
2F%7Emomjian%2FTODO.html&charset=%28detect+automatically%29&doctype=%28d
etect+automatically%29

(it really should validate as XHTML strict, but it doesn't even manage
XHTML Transitional)

//Magnus

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Magnus Hagander 2005-04-11 07:32:01 Re: Problem with web TODO list
Previous Message Dave Page 2005-04-11 07:13:27 Re: [ANNOUNCE] PostgreSQL 8.0.2 Now Available