From: Boris Z. <bo...@m2...> - 2001-12-20 14:41:11
|
Hi Rob, since i use it, it has much bugs try sending one page to html::clean grap the output and send it again into html::clean and watch your page growing all over. sometimes it discards tables, in this case your page is not viewed correct. a recent example is: #!/usr/bin/perl -w use HTML::Clean; local $/ = undef; my $data = <DATA>; my $d = \$data; my $x = new HTML::Clean($d, 9); for (1..3){ $x->strip; $d = $x->data; print "### ",length $$d,"\n", $$d; $x->initialize($d); } __DATA__ <html> <head> <title>bla</title> <link rel="stylesheet" type="text/css" href="/styles.css"> <script language="JavaScript"> <!-- function reload_frames(URL1,F1,URL2,F2) { parent.frames[F1].location.href=URL1; parent.frames[F2].location.href=URL2; } //--> </script> </head> <body> <table><tr><td colspan=14>xxx</td></tr></table> </body> </html> Am Donnerstag, 20. Dezember 2001 12:01 schrieb Rob: > HTML::Clean has been OK for us. What bugs are you running into? > > Rob > > ----- Original Message ----- > From: "Boris Zentner" <bo...@m2...> > To: "pkit devel" <pag...@li...> > Sent: Thursday, December 20, 2001 2:53 AM > Subject: [Pagekit-devel] html_clean_level > > > Hi, > > > > because of bugs in HTML::Clean, i changed the default value from 9 to 0. > > > > This means HTML::Clean is off by default. "3" works ok for me. > > > > -- > > cu boris > > > > schokoladeüberzogenes > > Zuckerschaumgebäck > > _______________________________________________ > Pagekit-devel mailing list > Pag...@li... > https://lists.sourceforge.net/lists/listinfo/pagekit-devel -- cu boris Man gewinnt mehr, wenn man Mädgen etwas für sich tun lässet, als wenn man etwas für sie tut. -- Jean Paul |