sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] HTML5 in index page


From: John Marshall
Subject: Re: [Sks-devel] HTML5 in index page
Date: Fri, 9 Sep 2011 17:05:41 +1000
User-agent: Mutt/1.4.2.3i

On Thu, 08 Sep 2011, 15:35 -0500, John Clizbe wrote:
> John Clizbe wrote:
> > Samir Nassar wrote:
> > Then what should the DOCTYPE be? Otherwise, you're just complaining without
> > offering anything to help the people who beat on the code to fix your 
> > problem.
> > 
> > Would including:
> > 
> > <?xml version="1.0"?>
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> >     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> > <html xmlns="http://www.w3.org/1999/xhtml";>
> > 
> > before <head> solve your problem?
> > 
> I waited a week and have heard nothing. So I took the SysAdmin's Fiat
> Prerogative and made the above changes on my own. The change may be tested at
> 
> http://keyserver.gingerbear.net:21371/      which is a backup/devel box.

Thanks John.  I've had a bit of a poke at your dev server and it looks
like you've taken the bull by the horns and are gradually working
through upgrading the HTML markup to XHTML.  No mean feat I'm sure!  The
HTML being emitted from SKS 1.1.1 seems to validate as HTML 3.2, so a
quicker resolution may be simply to escape the ampersands in generated
hyperlinks (&amp;) and head each page with a 3.2 DTD header.

  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">

Of course, if you have the time to work through and get all of the
generated HTML validating as XHTML 1.0 that would be great.  As long as
each generated HTML document begins with a DTD, and the document
conforms to that, I think the we can declare we've fixed the problem.

-- 
John Marshall

Attachment: pgpYIhhnPyd9P.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]