Satheesh Babu
2001/05/13
HTML Tidy is a great tool for cleaning up HTML pages. SOAP is a great way to make reusable web services. This explains how to set up a simple Tidy service using ASP.
No introduction! Read about SOAP at www.soapware.org. For using Tidy with ASP, see my other article.
C:\inetpub\wwwroot
,
create a folder called c:\inetpub\wwwroot\tidysoap
.regsvr32.exe c:\inetpub\wwwroot\tidysoap\tidyCOM.dll
.00readme.txt
file firsttidyclient.js
is a client side Javascript file that
reads the content from the text area box, sends it to the soap
service (tidy.asp
) and gets the tidied document back into
the text box. tidy.asp
. Javascript works only in IE 5 or above and if MSXML
package is installed (if you don't have it, get it for free from
Microsoft.com). However, with Javascript, annoying form posting
issues are no longer there. Since you are seeing this, it means that your browser does not support cascading style sheets. Please download and use one of the many browsers that support web standards.