Subversion Repositories wimsdev

Rev

Rev 11198 | Rev 14399 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

# WIMS W3C inline Validation
Validation in line of a module OEF or a document (for the moment), only the first page of the exercise

## Install
Need [w3c-validator.py](https://github.com/srackham/w3c-validator/blob/master/w3c-validator.py) in the directory validation

## Use
Launch the script from the directory validation

To use on one module write:

    ./checkhtmlwims [option] $module_address

with $module_address the address of the module
 from the directory `wims/public_html/modules`

**The results are in the directory "result".**

## Samples

To use on all exercices from the module U1/analysis/oefderint.fr

    ./checkhtmlwims 1 U1/analysis/oefderint.fr

option = 1 or 0 if you want a total cleanup or not.

To use on one zone: must change in the file the variable zone (FIXME)

    ./checkhtmlwims [option]