W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2009

Re: html tidy and vbscript

From: <eric.frost@mp2kmag.com>
Date: Wed, 28 Jan 2009 12:23:26 -0500
Message-ID: <20090128122326.wrytzs0woccow8wk@mail.mp2kmag.com>
To: html-tidy@w3.org

Philip,

What errors if any are you getting? Did you register it? ("regsvr32  
TidyATL.dll" from the command-line).

It looks like there's been a lot of discussion about TidyCOM in the  
past, but nothing recently..

http://www.google.com/search?q=site%3Aw3.org+TidyCOM+inurl%3Ahtml-tidy

Here's another library to try

http://www.codeproject.com/KB/recipes/eftidycom.aspx?fid=132767&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=2641094

"Almost every component was developed to be used with Visual Basic and  
other COM friendly languages. So, all the code described here is in  
Visual Basic. I am going to use some test cases to explain the working  
of the component."

Let us know how it goes!

Eric

__
http://www.evergreenlodge.org
http://www.kindwarnings.com

Quoting Philip Jones <pcjones@webdurango.com>:

> Eric,
>
> Thanks for the response.  It seems that TidyCom is limited and buggy.
>
> What are your experiences?
>
> I am trying to use TidyATL right now but no luck.  Below is  my code.
>
> function tidy_html(theStr)
>    SET tidy = Server.CreateObject("Tidy.Document")
>    tidy.loadconfig("tidy_config.txt")
>    tidy.ParseString(theStr)
>    eCode = tidy.CleanAndRepair
>    newtheStr = tidy.SaveString()
>    tidy_html = theStr
>    Set tidy = Nothing
> end function
>
> Cheers,
> -Phil
>
> Philip Jones
> WebDurango
> Web Systems Engineer
> pcjones@webdurango.com
> (970) 375-4563
>
>
>
> Eric Frost wrote:
>> Philip Jones,
>>
>> Good question.. I see a lot with .NET, Java & Perl, but very little  
>>  with vbscript/asp.
>>
>> Anyway, how about this:
>>
>> "HTML Tidy is a great utility for cleaning up your web pages. You   
>> can use a DLL which does the same thing from your server to clean   
>> up HTML using a script. This article explains how to get started   
>> with HTML Tidy using ASP on PWS/Windows 98."
>>
>> You basically just need to register the tidy dll as a COM object.
>>
>> http://vsbabu.org/techbits/tidywithasp.html
>>
>> Eric
>>
>> __
>> http://www.imsa1990.com
>> http://www.cardotnet.com
>>
>> --------------------------------------------------
>> From: "Philip Jones" <pcjones@webdurango.com>
>> Sent: Tuesday, January 27, 2009 2:01 PM
>> To: <html-tidy@w3.org>
>> Subject: html tidy and vbscript
>>
>>>
>>> Hello,
>>> I was wondering if you might have examples of html tidy being used in
>>> classic asp (vbscript)?
>>> Any help would be appreciated.
>>>
>>> Thanks,
>>> -Phil
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
Received on Wednesday, 28 January 2009 17:24:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:59 GMT