html2mht
Package: WA2L/edrc 1.5.57
Section: Library Commands (3)
Updated: 26 March 2009
Index
Return to Main Contents
NAME
html2mht - convert a HTML file to a single Web Archive file (MHT)
SYNOPSIS
edrc/lib/html2mht
[
-h
]
html2mht
-i htmlfile
-o mhtfile
[
-f
]
AVAILABILITY
WA2L/edrc
DESCRIPTION
convert a HTML file that has referenced images to a
single web archive file (mht) that contains the
image files.
The MHT file can be viewed using the Microsoft
Internet Explorer (TM) or an other MHT viewer.
OPTIONS
- -h
-
print usage message.
- -i htmlfile
-
input HTML file to be converted.
- -o mhtfile
-
output MHT file. To be able to read the
file directly by the Microsoft Internet Explorer (TM) the
mhtfile
should be named
filename.mht
.
- -f
-
force overwriting of the output
mhtfile.
ENVIRONMENT
-
EXIT STATUS
- 0
-
no error.
- 1
-
mhtfile
does already exist.
- 2
-
htmlfile
cannot be read.
- 4
-
usage message printed.
- 5
-
cannot write to output file
mhtfile.
- 6
-
cannot write to output directory of
mhtfile.
FILES
- edrc/var/samples/html2mht/
-
example files to test
html2mht(3).
EXAMPLES
-
SEE ALSO
edrcintro(1),
edrc/var/samples/html2mht/
NOTES
-
BUGS
CSS files and JavaScript files have to be included in the
htmlfile
to be converted.
AUTHOR
html2mht was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
COPYRIGHT
Copyright © 2009
Christian Walther
This is free software; see
edrc/doc/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 16:53:11 GMT, August 28, 2024