Anybody using "Accelerated Mobile Pages" AmpProject from Google - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Anybody using "Accelerated Mobile Pages" AmpProject from Google (/showthread.php?tid=64759) |
Anybody using "Accelerated Mobile Pages" AmpProject from Google - John_Betong - 03-22-2016 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) : 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:
Quote: Anyone have suggestions? |