Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Converting Word97 (or later) exported HTML to valid HTML

by Corion (Patriarch)
on Nov 06, 2001 at 15:50 UTC ( [id://123553]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ## This is what I think is needed beforehand :
    open( TIDY, "html-tidy $commandline|") or die "Couldn't spawn html-tid
    +y : $!\n";
    ...
    } else {
      printf STDERR "tidy detected no errors\n";
    }
    
  2. or download this
    my @output = qx(html-tidy $commandline);
    my $exitcode = $? >> 8;
    ...
    } else {
      die "tidy exited with code: $exitcode\n";
    }
    
  3. or download this
    perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ;    # The  
    $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider
    ($c = $d->accept())->get_request(); $c->send_response( new   #in the
    HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' #  web
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://123553]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-04-18 02:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found