我正在开展一个项目,我必须通过W3C标记验证验证完整的网站,该网站有大约150页 . 有没有办法检查整个网站的W3C标记验证?
w3.org上的 W3C doesn't offer this .
http://validator.w3.org/docs/help.html#faq-batchvalidation
但你可以使用这个工具和 check "Validate entire site" :(另外w3.org指的是这个网站!)
但是您有 limit of 100 URLs 进行验证,当您达到100个网址时会收到此消息:
Batch validation is limited to 100 URLs at one time. The remaining URLs were not checked.
each url 也是 limit of errors displayed .
WDG提供两种免费解决方案:
Validate entire site(选择'validate entire site')
Validate multiple URLs(批次)
您可以自己运行验证器 . 截至2018年,W3C正在使用v.Nu作为验证器,代码位于https://github.com/validator/validator/releases/latest,使用说明位于https://validator.github.io/validator/#usage
例如,以下命令将在 public_html 目录下的所有 html 文件上运行它:
public_html
html
java -jar vnu.jar --skip-non-html public_html
我用http://sitevalidator.com;我认为这对你有所帮助 .
我使用这个工具批量w3c html验证器来验证我的整个网站
http://www.bulkseotools.com/bulk-w3c-validator.php
此工具使用W3c验证器引擎,您可以一次检查500个URL .
5 回答
w3.org上的 W3C doesn't offer this .
http://validator.w3.org/docs/help.html#faq-batchvalidation
但你可以使用这个工具和 check "Validate entire site" :(另外w3.org指的是这个网站!)
但是您有 limit of 100 URLs 进行验证,当您达到100个网址时会收到此消息:
Batch validation is limited to 100 URLs at one time. The remaining URLs were not checked.
each url 也是 limit of errors displayed .
WDG提供两种免费解决方案:
Validate entire site(选择'validate entire site')
Validate multiple URLs(批次)
您可以自己运行验证器 . 截至2018年,W3C正在使用v.Nu作为验证器,代码位于https://github.com/validator/validator/releases/latest,使用说明位于https://validator.github.io/validator/#usage
例如,以下命令将在
public_html
目录下的所有html
文件上运行它:我用http://sitevalidator.com;我认为这对你有所帮助 .
我使用这个工具批量w3c html验证器来验证我的整个网站
http://www.bulkseotools.com/bulk-w3c-validator.php
此工具使用W3c验证器引擎,您可以一次检查500个URL .