The total Debug Join 60,000+ subscribers in receiving AMP news and updates! (Open the panel by View->Problems, if not already opened). Start typing amp- and the autocomplete will show available components and scripts. If there are any warnings or errors it'll list the number underneath the extension icon and clicking the icon will display the warnings and/or errors. It’s only on posts with videopress videos, but even on posts that have been there for ages it appeared at the same time in the editing page on the dashboard. http://www.techdiscussion.in/?p=11096&&_validate=1&_debug=1#development=1. download the GitHub extension for Visual Studio, https://www.npmjs.com/package/amphtml-validator, URL: #development=1 (Chrome DevTools console). Specifically, the AMP_Tag_And_Attribute_Sanitizer class defines the functionality to parse a given URL and identify the tags and attributes that are not allowed by the AMP Specification. they're used to gather information about the pages you visit and how many clicks you need to accomplish a task. various extensions on the same document will have different TYPE. See Details. This version also adds Snippets for all the AMP components and scripts. 3. The Debug link lands at 404 page. AMP Validator. Debug Read our journey and story behind plugin. @maqboolh You probably still have a plugin that adds script tags during the the_content filter, so that is why it is getting reported. errors/warnings as you type within Visual Studio Code editor. they're used to log you in. https://wordpress.org/support/guidelines/#post-in-the-best-place, https://wordpress.org/support/plugin/amp/#new-post, @westonruter Thank you very much for the reply, Author , Actually it is not at any particular post, but at the new post page. Note you’ll have to first deactivate and uninstall the v0.7.0 AMP plugin before you can upload and activate this ZIP on the plugins admin screen. The PROBLEMS (View->Problems) panel renders the AMP validation error/warning messages with the row and column number in the document from where errors/warnings were reported. Yet another issue to mention touching NPM Packages NPM Packages for CI. Hey Guys, We’re so happy to announce the new update 0.9.1 of the AMP for WP plugin. Warning: There is content which fails AMP validation; it will be stripped when served as AMP. This extension uses amphtml-validator version: 1.0.31. This will be irrelevant as of merging https://github.com/Automattic/amp-wp/pull/1132 into v0.7.1. AMP validation can also be conducted directly from your browser’s toolbar. Since the extension is developed using the Language Server Protocol, it would be possible Issue #12 is open to make this extension work offline.
Would you be able to test? I get this on every post that I use an embed of a videopress video on my site. (such as html, css) since, VS Code has build-in support for validating And the AMP_Style_Sanitizerclass defines the functionality to process the styles for a given URL and do things like determining which parts of the CSS are not AMP valid (i.e. Invalid elements: script (2)”. popular editors. errors/warnings. Which other plugin should i look into, to fix this error? This is done as part of the plugin’s sanitization tasks. But while editing, it appears on only one post, i.e. AdSense Integration WP QUADS, All In One SEO Pack, AMP, Change Author, Contact Form 7, Instant Articles for WP, Jannah – Extensions, and TablePress. … Each AMP validation error/warning row has 3 parts as under: [] : (LINE_NUM, COLUMN_NUM). Hi @westonruter. AMP validator for the document and renders the errors/warnings as