http://qs1969.pair.com?node_id=137902


in reply to Re: Re: Non-standard options to tags for CGI.pm
in thread Non-standard options to tags for CGI.pm

Somewhere recently I ran across something about a tool that strips out junk from Microsoft Office generated HTML (all that 'mso...' stuff). Come to think of it, it was HTML Tidy, which comes as an integral part of HTML Kit, a freely downloadable tool.

If you have no intention of ever converting these files (or the output of your CGI-based perl code) BACK to Excel, it might be a viable option to download the command-line version of HTML Tidy and run it from your script before html2cgi.pl.

dmm

You can give a man a fish and feed him for a day ...
Or, you can
teach him to fish and feed him for a lifetime

Replies are listed 'Best First'.
Re: Re(3): Non-standard options to tags for CGI.pm
by toma (Vicar) on Jan 11, 2002 at 11:43 UTC
    HTML Tidy has gone open source and is now at Sourceforge! It is being refactored into a C library and there is a new project to make it into an XS module. I expect a fruitful future for this wonderful program.

    It should work perfectly the first time! - toma

Re: Re(3): Non-standard options to tags for CGI.pm
by dragonchild (Archbishop) on Jan 11, 2002 at 20:24 UTC
    Yah, but the problem is that I need to convert back to Excel. *sighs*

    ------
    We are the carpenters and bricklayers of the Information Age.

    Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

      Whoops! :)