I am using VC ++ 2010 Express and I am trying to enable HTML Tidy to do the cleaning of HTML lines of code. I want to make the HTML process as a string (NOT from a file) and save the processed cleared HTML to a string (NOT to the file). The project is a Windows C ++ forms project, the compiler is / CLR.
I tried, once more than I admit, to attach Tidy to my project in many ways. I failed in every attempt, and I'm just not sure where to go from here. The most promising was the TidyManaged .NET shell, but I could not find any documentation to explain how to use it with C ++ (it seems to be intended for C #). Various C ++ wrappers don't work for me at all. The documentation seems to be sorely lacking in how to get them to work.
Iβm also ready to make a decision that doesnβt use order at all, but another HTML equivalent cleaning tool. I am worried about the age of Tydi (August 2000) and how effective it is as of today with the newer XHTML standards.
In addition, if possible, I am ready to include the C library in my code directly, without relying on the DLL, but I do not know how to do this or even if it can work.
Any suggestions on how to do this would be greatly appreciated given that this is the HTML we are talking about here (often looking for HTML and XHTML) and NOT XML.
Thanks in advance!
PS - I'm new to C ++: /
Jason source share