• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 392
  • Last Modified:

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
0
Richard Coffre
Asked:
Richard Coffre
  • 4
  • 2
1 Solution
 
Richard QuadlingSenior Software DeverloperCommented:
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 CoffreAuthor 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 DeverloperCommented:
What server type is your ISP?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Richard CoffreAuthor 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 DeverloperCommented:
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 DeverloperCommented:
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now