FrameMaker::FromHTML

FrameMaker::FromHTML is a Perl class to convert HTML file to FrameMaker MIF.
Download

FrameMaker::FromHTML Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Peter G. Martin The Scribe & Chutney Trust
  • Publisher web site:
  • http://search.cpan.org/~pgmart/FrameMaker-FromHTML-0.03/FromHTML.pm

FrameMaker::FromHTML Tags


FrameMaker::FromHTML Description

FrameMaker::FromHTML is a Perl class to convert HTML file to FrameMaker MIF. FrameMaker::FromHTML is a Perl class to convert HTML file to FrameMaker MIF.SYNOPSISuse base 'FrameMaker::FromHTML';use strict;my ($infile, $outfile);$infile = shift;($outfile = $infile) =~ s/.htm*$/.mif/;# Insert routine to validate HTML -- eg, use HTML-Tidy# VERY important -- this script is fragile at any time# but worse with bad HTMLmy $p = FrameMaker::FromHTML->new($outfile) ;$p->parse_file("$tempfile") or die "Parsing failed on $tempfile: $!n";Use to convert properly formed HTML into FrameMaker MIF. Likely to be found buggy, particularly with funny HTML. Errors in MIF are usually flagged in FrameMaker console when FrameMaker is used to open the file.See example file htmltofm.pl, which may be all you'll need to get it working on some files. In which case, you'll need to have HTML-Tidy installed to clean up your HTML. Requirements: · Perl


FrameMaker::FromHTML Related Software