PDA

View Full Version : HTML Tidy


Izzo
11-28-07, 08:52 PM
...is the worst piece of junk software/add-on I've ever seen. Good gawd.....It totally screwed up a project I was doing for class (still haven't figured it out) ...luckily I have the opportunity to resubmit.

/rant

TonyT
11-28-07, 09:48 PM
I've never needed to use a "tidy" app for my code, I just run it through a w3c validator, either online or on my own linus server. If you want to see what Tidy will do to your code, run it through the online Tidy instead of the standalone program:
http://infohound.net/tidy/

Izzo
11-28-07, 09:58 PM
I've never needed to use a "tidy" app for my code, I just run it through a w3c validator, either online or on my own linus server. If you want to see what Tidy will do to your code, run it through the online Tidy instead of the standalone program:
http://infohound.net/tidy/

I was asked to use it for a class and it hosed the code and put spaces in there...not sure how it happened as I opened my project folder and sure enough everything was fine.... I've been using CSE HTML validator

TonyT
11-29-07, 06:42 AM
I just tried the online version of CSE validator & it "found" errors in a doc of mine that validates as standard at W3.org. Apparantly CSE does not read the doc type declaration and expects all docs to be xhtml. I don't trust that validator. If a doc validates at W3.org then no worries because they are the ones who decide WWW standards anyway. Also, the W3.org validator will correctly parse PHP files for the HTML code in them. Use it:
http://validator.w3.org/

If you have your own server you can install the W3.org validator on it!
http://validator.w3.org/source/

I also use the W3.org CSS validator:
http://jigsaw.w3.org/css-validator/

Izzo
11-29-07, 08:23 AM
Ya, I'll definitely look into those however I'm required to use CSE....I've looked t the source of major web sites and CSE finds errors ...I understand this might be common but I've found it to be worthless.