[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] OT : HTML::Tidy


Hi,

Does this thing actually do the Cleaning ?

I'm trying to update a bunch of HTML documents in a database.. my code
is like this

  my $tidy = new HTML::Tidy;
  $tidy->ignore( type=> TIDY_WARNING );
  $tidy->clean("foo.html",$newcontent) or die "!@";

at which point, i'd like to call an update. foo.html is just a place
holder, doesn't even exist, docs say it doesn't have to.

Thing is, from the man page, I can't figure out how to get at the
cleaned up content...

Thanks.

-- 
Jeff MacDonald
http://www.halifaxbudolife.ca

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.