HTML::RefMunger - module to mangle HREF links within HTML files
use HTML::RefMunger; refmunger( [options] );
HTML::RefMunger takes the following arguments:
--help
Displays the usage message.
--infile=name
Specify the pod file to convert. Input is taken from STDIN if no infile is specified.
--outdir=name
Specify the output directory to stash the munged HTML files in. Defaults to ``.'' ( the current working directory )
--convention=[UNIX,MSDOS,MacOS]
Specify the filename remapping convention to use. Current supported formats are UNIX ( 14-character, such as Xenix ), MSDOS ( 8.3 format ) and MacOS ( 32 character ).
--verbose
Display progress messages.
refmunger( "refmunger", "--infile=foo.html", "--convention=MacOS" );
Alligator Descartes <descarte@arcana.co.uk>
Passing directories as the --infile current doesn't work. It should recursively translate everything in that directory downwards, but it doesn't.
There should be some sort of funky file renaming thing that happens to referenced links, I guess. At the moment, you also need to translate those links via HTML::RefMunger to generate the correct name.
HTML::RefMunger
refmunger
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.