nsonly.tpl - the converted page can be used to invoke Java Plug-in in Netscape Navigator browsers on Microsoft Windows platforms and the Solaris operating environment.
<!-- HTML CONVERTER --> <EMBED type="$MimeType$" $EmbedAttributes$ $EmbedParams$ scriptable=false pluginspage="$NSFileLocation$"><NOEMBED> $AlternateHTML$ </NOEMBED></EMBED> <!-- $ORIGINALAPPLET$ --> |
extend.tpl - the converted page can be used in any browser and any platform. If the browser is Internet Explorer or a Netscape Navigator browser on Microsoft Windows, or a Netscape Navigator browser on the Solaris operating environment, Java Plug-in will be invoked. Otherwise, the browser's default virtual machine is used.
<!-- HTML CONVERTER --> <SCRIPT LANGUAGE="JavaScript"><!-- var _info = navigator.userAgent; var _ns = false; var _ns6 = false; var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0); //--></SCRIPT> <COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><!-- var _ns = (navigator.appName.indexOf("Netscape") >= 0 && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || _info.indexOf("Sun") > 0)); var _ns6 = ((_ns == true) && (_info.indexOf("Mozilla/5") >= 0)); //--></SCRIPT></COMMENT> <SCRIPT LANGUAGE="JavaScript"><!-- if (_ie == true) document.writeln('<OBJECT classid="clsid:E19F9330-3110-11d4-991C-005004D3B3DB" $ObjectAttributes$ codebase="$CabFileLocation$"><NOEMBED><XMP>'); else if (_ns == true && _ns6 == false) document.writeln('<EMBED type="$MimeType$" $EmbedAttributes$ $EmbedParams$ scriptable=false pluginspage="$NSFileLocation$"><NOEMBED><XMP>'); //--></SCRIPT> <APPLET $AppletAttributes$></XMP> $ObjectParams$ <PARAM NAME="type" VALUE="$MimeType$"> <PARAM NAME="scriptable" VALUE="false"> $AppletParams$ $AlternateHTML$ </APPLET> </NOEMBED></EMBED></OBJECT> <!-- $ORIGINALAPPLET$ --> |
Running the converter from the command line:
Running the converter from the command line:
Format:
java -jar htmlconverter.jar [filespecs] [-simulate] [-options1 value1 [-option2 value2 [...] ]
If only "java -jar htmlconverter.jar" is specified (no filespecs or options), the GUI version of the converter will be launched. Otherwise, the GUI will be suppressed.
[filespecs]: space-delimited list of file specifications which may include wildcard (*), e.g. *.html, file*.html).
[simulate]: Set to preview a conversion without actually doing the conversion. Use this option if you are unsuer about a conversion. You will be shown detail information about the conversion had it been done.
Options: | Descriptions |
---|---|
source: | Path to files; e.g., c:\htmldocs in Windows, /home/user1/htmldocs in Unix. Default is <userdir> If the path is relative, it is assumed to be relative to the directory from which the HTMLConverter was launched. |
dest | Path to converter file location. Default: <usrdir> |
backup | Path to the directory where you want backup files to be stored. Default: <userdir>/<source>_bak If the path is relative, it is assumed to be relative to the directory from which the HTMLConverter was launched. |
f | Force overwritting of backup files. |
subdirs: | Sets whether files subdirectories should be processed or not. Default: false |
template | Name of template file to use. Default: Standard (IE & Navigator) for Windows & Solaris Only. Note - Use the default if you are unsure. |
log | Path and filename for the log. Default: <userdir>/convert.log |
progress | Set to display standard out progress during conversion. Default: true |
latest | Use the latest JRE supporting the MIME type. |
gui | Display the graphical user interface for the converter. |