Metric for the w3c html validator
- Clone this repo to
plugins/metric_w3c_html
- Run
composer install
inplugins/metric_w2c_html
- Add the following to the
Config::set('PLUGINS',
array and customize as needed. This will make SiteMaster aware of the plugin but not apply it to any groups.
'metric_w3c_html' => [
// 'weight' => 20, // Adjust weight if desired
// 'service_url' => 'https://validator.unl.edu/', // adjust the service URL if desired
],
- Add the following your group configuration under the
METRICS
key. This will enable it for the specified group. All metric configuration will override the defaults set in the'PLUGINS'
array.
'metric_w3c_html' => [
// 'weight' => 20, // Adjust weight if desired
// 'service_url' => 'https://validator.unl.edu/', // adjust the service URL if desired
],
- Run
php scripts/update.php
from the SiteMaster root directory to install the plugin.