1
msdana
(X)HTML Validation
  • 2006/5/28 3:24

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


I see where some of the new themes are XHTML validated. Can someone please tell me how they got their theme.html to validate.

I understand it won't validate under some (most) modules, but I can't seem to validate the plain theme.html. I can't seem to validate ANY theme.html.

My CSS validates without a problem.

Any links are appreciated, I don't mind reading up
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

2
McDonald
Re: (X)HTML Validation
  • 2006/5/28 3:38

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15



3
msdana
Re: (X)HTML Validation
  • 2006/5/28 3:40

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


Thank you McDonald, I have been there. That's how I know my theme.html won't validate.
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

4
snow77
Re: (X)HTML Validation
  • 2006/5/28 3:40

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


I guess there are some problems on the tables, if you do the w3c validation you will get the list of errors that need fixing in your theme.

This tool can be helpful:
http://users.skynet.be/mgueury/mozilla/download.html
www.polymorphee.com
www.xoopsdesign.com

5
msdana
Re: (X)HTML Validation
  • 2006/5/28 3:47

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


People, you are missing my point. Maybe I am not explaining myself clearly.

The list of errors start with a failure at this:
Encoding: <{$xoops_charset} (in the head)

No theme.html I have tested validates, it gets stuck at that encoding error. I would like to validate my themes and put the button on the theme that it is validated, but I can't get it to validate and I refuse to put a button on there if it won't validate.

Even the default theme.html in XOOPS 2.2 doesn't validate.

I would like to know how to bypass the <{whatever}> in order to validate.

Thanks!
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

6
snow77
Re: (X)HTML Validation
  • 2006/5/28 3:54

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


Have you defined correctly the doctype?

Quote:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


and if you have linked the style.css to the theme, erase the link.

Is there a site online you could give us the link to see?
www.polymorphee.com
www.xoopsdesign.com

7
msdana
Re: (X)HTML Validation
  • 2006/5/28 4:01

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


Yes, I have defined everything correctly. As for a link, just take a theme.html from any current XOOPS themes that says its validated and try to validate it at W3C, it won't validate. I may be doing something wrong, but I am taking the "theme.html" and using it at the W3C Validation Page. If there is another way to validate, I don't know what it is and that's why I am asking.

Again, the first error I get is:

Quote:
Encoding: <{$xoops_charset}>



Thanks!
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

8
gestroud
Re: (X)HTML Validation
  • 2006/5/28 4:07

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


You know, it funny - but not in a "Ha, Ha" kind of way. Even the theme used on XOOPS' main site failed validation with 12 errors

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.xoops.org%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1&sp=1&noatt=1&No200=1&verbose=1

9
snow77
Re: (X)HTML Validation
  • 2006/5/28 4:09

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


when I validate I usually put the URL to the site. For example this is the result of the validation for xoops.org Click here to view
www.polymorphee.com
www.xoopsdesign.com

10
gestroud
Re: (X)HTML Validation
  • 2006/5/28 4:09

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


It even failed XOOPSDesign with 51 errors. This is strange!

Login

Who's Online

180 user(s) are online (115 user(s) are browsing Support Forums)


Members: 0


Guests: 180


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits