refmunger - Mangles HREF links within HTML documents
refmunger --help --infile=<name> --outdir=<name> --verbose --wipe-cache
Mangles HREF and IMG links within HTML documents to conform to a given filename convention. For example, can mangle HTML document names to fit the MS-DOS convention of 8.3, the 32-character limit for MacOS and even the 14-character UNIX limitations.
refmunger takes the following arguments:
--help
Displays the usage message.
--infile=name
Specify the HTML file to convert. Input is taken from STDIN if no infile is specified.
--outdir=name
Specify the output directory for munged HTML files to be written to.
--wipe-cache
Wipes any cache files clean before starting up.
--verbose
Display progress messages.
Alligator Descartes <descarte@arcana.co.uk>.
See HTML::RefMunger for a list of known bugs.
HTML::Parser, HTML::TokeParser
This program is distributed under the Artistic License.
To install HTML::RefMunger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::RefMunger
CPAN shell
perl -MCPAN -e shell install HTML::RefMunger
For more information on module installation, please visit the detailed CPAN module installation guide.