简体   繁体   English

有没有一种自动的方法来验证站点中的所有AMP页面?

[英]Is there an automated way to validate all AMP pages in a site?

What am I trying to accomplish? 我想完成什么?

I am trying to validate all AMP pages in a site (like Google AMP Validator), automatically and store the results. 我正在尝试自动验证网站(例如Google AMP Validator)中的所有AMP页面并存储结果。 Is there an NPM BULK Validator or something similar out there? 是否有NPM BULK验证程序或类似的程序? I am trying to avoid having to manually go through my sitemaps and test each of thousands of urls. 我试图避免不得不手动浏览我的站点地图并测试数千个网址。

有一个NPM库和命令行工具( https://npmjs.com/package/amphtml-validator ),但是您仍然需要以某种方式生成文档列表。

Here is the solution for testing(validate) thousands of URLs in a short time. 这是在短时间内测试(验证)数千个URL的解决方案。 One website ie https://www.ampvalidator.com/ 一个网站,即https://www.ampvalidator.com/

This website is secure, accurate, fast and easy to use. 该网站是安全,准确,快速且易于使用的。 And the most interesting thing is you will get the proper beautified email report. 最有趣的是,您将获得适当的美化电子邮件报告。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM