Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by Corion (Pope)
on Nov 06, 2001 at 15:50 UTC ( #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
Node Status?
node history
Node Type: note [id://123553]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2021-06-18 00:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (86 votes). Check out past polls.

    Notices?