03-22-2016, 12:35 AM
I am in the process of updating a site with Google AMP
First may I say searching for AMP is about as good as searching for Google's GO - infuriating
Google has gone their own sweet way and totally ignored HTML, CSS Standards, etc. making it very difficult to easily update CodeIgniter.
The first attempt was a disaster and produced over 565 AMP pages with errors!!!
Most common problem was using the following embedded img style (which satisfied most of Google Mobile Friendly Pages) :
Also there were other problems in the common header, menu, content and footer files.
Fortunately it was quite easy to revert to the original setup which consisted of the including a header, imported database data for the content and a footer.
Further thought about separation of concerns produced the following:
Web-Page for testing:
Anyone have suggestions?
First may I say searching for AMP is about as good as searching for Google's GO - infuriating

Google has gone their own sweet way and totally ignored HTML, CSS Standards, etc. making it very difficult to easily update CodeIgniter.
The first attempt was a disaster and produced over 565 AMP pages with errors!!!
Most common problem was using the following embedded img style (which satisfied most of Google Mobile Friendly Pages) :
Code:
<img style"max-width:888px; width:88%; margin:auto">
Also there were other problems in the common header, menu, content and footer files.
Fortunately it was quite easy to revert to the original setup which consisted of the including a header, imported database data for the content and a footer.
Further thought about separation of concerns produced the following:
Web-Page for testing:
- index-001.php
- _heading-amp.php
- _header-amp-static.php
- _menu-top.php
- _content-to-test.php
- _footer,php
Quote:
Online Demo - Can also test AMP validation using Chrome Browser ONLY
Anyone have suggestions?