AMP Validation Problems
-
Hi,
I am running 0.31 AMP and the latest Pagefrog and getting validation errors with the chrome developer tools
We also run yoast’s glue plugin as well.
We use the analytics feature in pagefrog for google analytics.
Search Console shows these 3 errors
Invalid attribute values: href=http://fonts.googleapis.com/css?family=Merriweather:400,400italic,700,700italic|Open+Sans:400,700,400italic,700italic, rel=wp_lightbox_prettyPhoto, src=http://cdn.ampproject.org/v0.js, src=http://cdn.ampproject.org/v0/amp-analytics-0.1.js
Unkown syntax errors: amp-analytics extension .js script required by amp-analytics
Required tags missing: amphtml engine v0.js script
Below are examples of the validation errors on one of the blog pages
Powered by AMP ⚡ HTML – Version 1456440290687
validator.js:320 AMP validation had errors:tx.error @ validator.js:320
validator.js:320 http://www.bubsngrubs.com.au/choosing-baby-cots-that-are-safe-and-comfortable/amp/amp:7:2 The attribute ‘href’ in tag ‘link rel=stylesheet for fonts’ is set to the invalid value ‘http://fonts.googleapis.com/css?family=Merriweather:400,400italic,700,700italic|Open+Sans:400,700,400italic,700italic’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#custom-fonts)tx.error @ validator.js:320
validator.js:320 http://www.bubsngrubs.com.au/choosing-baby-cots-that-are-safe-and-comfortable/amp/amp:8:2 The attribute ‘src’ in tag ‘amp-analytics extension .js script’ is set to the invalid value ‘http://cdn.ampproject.org/v0/amp-analytics-0.1.js’. (see https://www.ampproject.org/docs/reference/extended/amp-analytics.html)tx.error @ validator.js:320
validator.js:320 http://www.bubsngrubs.com.au/choosing-baby-cots-that-are-safe-and-comfortable/amp/amp:10:3 The attribute ‘src’ in tag ‘amp-carousel extension .js script’ is set to the invalid value ‘http://cdn.ampproject.org/v0/amp-carousel-0.1.js’. (see https://www.ampproject.org/docs/reference/extended/amp-carousel.html)tx.error @ validator.js:320
validator.js:320 http://www.bubsngrubs.com.au/choosing-baby-cots-that-are-safe-and-comfortable/amp/amp:11:2 The attribute ‘src’ in tag ‘amphtml engine v0.js script’ is set to the invalid value ‘http://cdn.ampproject.org/v0.js’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#scrpt)tx.error @ validator.js:320
validator.js:320 http://www.bubsngrubs.com.au/choosing-baby-cots-that-are-safe-and-comfortable/amp/amp:249:0 The mandatory tag ‘amphtml engine v0.js script’ is missing or incorrect. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#scrpt)tx.error @ validator.js:320
validator.js:320 http://www.bubsngrubs.com.au/choosing-baby-cots-that-are-safe-and-comfortable/amp/amp:249:0 The ‘amp-carousel extension .js script’ tag is missing or incorrect, but required by ‘amp-carousel’. (see https://www.ampproject.org/docs/reference/extended/amp-carousel.html)tx.error @ validator.js:320
validator.js:320 http://www.bubsngrubs.com.au/choosing-baby-cots-that-are-safe-and-comfortable/amp/amp:249:0 The ‘amp-analytics extension .js script’ tag is missing or incorrect, but required by ‘amp-analytics’. (see https://www.ampproject.org/docs/reference/extended/amp-analytics.html)
The topic ‘AMP Validation Problems’ is closed to new replies.