Alternative to the class tidy ?

Hi all,

I know the class tidy to clean the HTML code.
Is there any alternative to do the same job ?

Thanks in advance
LVL 1
Richard Coffree-commerce Product ManagerAsked:
Who is Participating?
 
Richard QuadlingSenior Software DeveloperCommented:
You could get an external cleaner, pass the code through it and then pass it to the user.

But, nearly all of them are based around tidy, simply because tidy is the dog's when it comes to tidying.

I use it in Firefox to validate my pages.

Or you could send it to a paid for service which does it for you, but they probably use tidy.


Why not use tidy?
0
 
Richard Coffree-commerce Product ManagerAuthor Commented:
Before to use a product i always try to find competitors to use the best.
In this case, tidy seems to be the best so now i have to find how to install it with my ISP.
0
 
Richard QuadlingSenior Software DeveloperCommented:
What server type is your ISP?
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
Richard Coffree-commerce Product ManagerAuthor Commented:
It is a linux.
I read that the class tidy is delivered with PHP5 but when i check the configuration of my ISP (www.ovh.com) i don't find this extension.
So i think that it is necessary to install it.

I don't use dedicated server.
0
 
Richard QuadlingSenior Software DeveloperCommented:
Asking the ISP to install the tidy extension should be OK. If they are supporting PHP5, then they should allow the extension.
0
 
Richard QuadlingSenior Software DeveloperCommented:
You can check by creating a PHP script containing ...

<?php phpinfo(); ?>

This will show you the full configuration.

Thing to see is if tidy is compiled into PHP.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.