Page 1 of 1

Integration tidy-plugin

PostPosted: Wed Jun 06, 2007 6:47 am
by bewi
Hi,

i´m using the wymeditor and the users are very happy. i integrated to .asp-server but now i want to use the tidy-plugin.

i integrated like in the demo:
//activate 'tidy' plugin
//which cleans up the HTML
var wymtidy = wym.tidy({

sUrl: "wymeditor/plugins/tidy/tidy.php",
sButtonHtml: "<li class='wym_tools_tidy'>"
+ "<a name='CleanUp' href='#'"
+ " style='background-image:"
+ " url(wymeditor/plugins/tidy/wand.png)'>"
+ "Clean up HTML"
+ "<\/a><\/li>"
});
wymtidy.init();

Now the troubles starts. Tidy-plugin works only with php, but I use asp. Are there any possiblities for an easy integration ?

Thanks in advance for your suggestions!

PostPosted: Wed Jun 06, 2007 7:09 am
by jfh
Hi,

I know there's a Tidy COM wrapper, so you can use it with ASP, but I don't know if it's easy to integrate.

Some links:

http://users.rcn.com/creitzel/tidy.html#comatl
http://vsbabu.org/techbits/tidywithasp.html

Please feel free to post here your experiences with it.

BTW, the Tidy plugin is optional.