W3C Validator

Component ID

533210

Component name

W3C Validator

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

10681

Component created

Component changed

Component body

W3C Validator provides a Drupal interface to use the W3C Markup Validator. Keeping valid pages is one step into maintaining a properly coded site.

This module let's you :
- validate a new page when a new node is published or when a published node is changed.
- validate all page at once and display a validity report.
NOTE: validation is done as an anonymous user.

For testing you could use the official W3C validator API endpoint at http://validator.w3.org/check but this is highly discouraged on medium+ sites and could be considered abuse of service.
For large sites, you should download the w3c validator script and install it on your own server. For Debian based distributions you can get this by installing the w3c_markup_validator package.

To administrate W3C Validator, go to : /admin/config/development/w3c_validator
To validate manually a page, go to : /validator
To check your site and validate it all, go to : /admin/reports/w3c_validator

---
NOTE :
From version 6.x-1.2 you can alternatively use the HTML Tidy library via its PHP extension. This also allows you to validate private pages, ie: unpublished nodes, private views.

Development sponsored by Drupal Addict.