Next: The mailfail Script, Previous: The gnun-report Script, Up: GNUN Scripts [Contents][Index]
gnun-validate-html ScriptThis is a Bash script whose purpose is to “validate” both the original and translated articles to make sure that they conform to the respective W3C standard. Sometimes webmasters make mistakes, and translators too, so this tool is useful to catch errors of that kind.
GNUN enforces HTML validation at build time by default.
The script expects only one file as the last argument and will exit with an error if it is not specified (which might be the case when an automatic variable is not expanded properly due to a bug in the makefile). Example:
gnun-validate-html --root . philosophy/free-sw.html
Specify the top directory of the working copy; the default value is ../...
Save the expanded HTML as file. If you only need expanding Apache SSI
instructions, you can use gnun-expand-ssi instead
(see The gnun-expand-ssi Script).
Specify additional (or override assumed) emulated predefined Apache variables.
Passed to gnun-expand-ssi, (see The gnun-expand-ssi Script).
Passed to gnun-expand-ssi, (see The gnun-expand-ssi Script).
Passed to gnun-expand-ssi, (see The gnun-expand-ssi Script).
Passed to gnun-expand-ssi, (see The gnun-expand-ssi Script).
Produce more detailed output intended for automatic email reports; essentially, it adds the expanded HTML to facilitate finding errors by people who receive the report.
Display copyright and version information and exit.
Display usage information and exit.
Next: The mailfail Script, Previous: The gnun-report Script, Up: GNUN Scripts [Contents][Index]