Re: help fixing XHTML pages
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tommi Vainikainen wrote:
> On 2005-08-21T20:02:59+0300, morganlandry@gmail.com wrote:
>
>>What I want to do is convert xhtml pages on
>>www.debian.org to XHTML 1.0 Strict. The thing is that debian.org
>>uses a tool called WML to generate the web pages. I need help in
>>learning how to do this. I've downloaded the web site to my local
>>machine, and I've read http://www.debian.org/devel/website/ and its
>>links.
>
>
> Did you build already some pages, e.g.
>
> cvs co .../english
> cd english; make
>
> And then look some of the generated pages with your $BROWSER and also
> probably some kind of (X)HTML validator?
>
>
>>I just would like someone to show me, step by step, how to convert a
>>wml page to an xhtml page. Could someone help me do this?
>
>
> I'm don't know exactly what it needs to be valid XHTML, but if you
> look at the .wml files, there is header such as
>
> #use wml::debian::<something>
>
> These files called templates you will find from
> webwml/english/template/debian directory. You probably need to adjust
> those files to use XHTML instead of what current HTML 4.01
> Transitional, and then go trough every page and check with XHTML
> validator that those are really valid XHTML.
I think it's the webwml/english/template/debian/base.wml file.
Hope this helps.
Cheers
Luk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDCd4D5UTeB5t8Mo0RAgnpAJ9fAfo8H5P17j1711Wb3kkw68iEhACgqOxq
Xt6aht3zrzOCya+8IHmc6Qo=
=QmQt
-----END PGP SIGNATURE-----
Reply to: