Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

W3C validation for complete site [closed]

I am working on a project where I have to validate the complete site, which has around 150 pages, through W3C Markup Validation. Is there a way to check W3C Markup Validation of an entire website?

like image 397
Sac_code88 Avatar asked Jan 19 '12 06:01

Sac_code88


4 Answers

I use this tool bulk w3c html validator to validate my entire website

http://www.bulkseotools.com/bulk-w3c-validator.php

This tool uses W3c validator engine, you can check 500 urls at once.

like image 72
Mai Reynolds Avatar answered Oct 21 '22 10:10

Mai Reynolds


The W3C doesn't offer this on w3.org.

http://validator.w3.org/docs/help.html#faq-batchvalidation

But you can use this tool and check "Validate entire site": (Also w3.org refers to this site!)

  • http://www.htmlhelp.com/tools/validator/

But you have a limit of 100 URLs to validate and will get this message when you reach 100 URLs:

Batch validation is limited to 100 URLs at one time. The remaining URLs were not checked.

Also there's a limit of errors displayed for each url.

like image 23
Fabian Avatar answered Oct 21 '22 08:10

Fabian


The WDG offers two free solutions:

  1. Validate entire site (select 'validate entire site')
  2. Validate multiple URLs (batch)
like image 44
Mattypants Avatar answered Oct 21 '22 08:10

Mattypants


You can run the validator yourself. As of 2018, W3C are using v.Nu for their validator, the code is at https://github.com/validator/validator/releases/latest and usage instructions are at https://validator.github.io/validator/#usage

For example, the following command will run it on all html files under the public_html directory:

java -jar vnu.jar --skip-non-html public_html
like image 38
Silas S. Brown Avatar answered Oct 21 '22 09:10

Silas S. Brown