This project is not covered by Drupal’s security advisory policy.

ACCELERATED MOBILE PAGES PROJECT

*** This module has been discontinued in favour of the Official AMP module ***
see https://www.drupal.org/project/amp

This module is an integration with the the Google AMP initiative to create mobile optimized content.

At the moment this module provides a collection of theme functions and templates to be overridden by site/theme.

It is an alternative implementation to the official AMP module, which doesn't rely on libraries or custom theme.

Currently working on creating a node view to handle the fields to show and a more modular approach to components (GA, CDN, Media Filters, Taboola, JSON+LD...).

Roadmap

Setup default display settings on install
Pre-configure AMP node display with sensible defaults

Move components into sub-modules as extra fields
AMP components should be optional. This could be achieved by moved each component into a sub module that provides an extra field. See sharerich as an example.

JSON+LD configuration
Not all sites have the same fields, so we should make JSON+LD configuration per site, with sensible defaults

Image styles
Proved some amp styles to be used by default to make roll-out easier.

Media filter
Inline media should be processed by extracting the fid from the media tags (JSON config inside [square brackets])

At present it's allowing the media module process media tags into img tags, then tries to process them using xpath. It should be more reliable to extract the fids from media tags.

Serve CSS assets from CDN
The CSS assets are currently using relative / paths, but should allow serving via a CDN if configured.

Supporting organizations: 

Project information

Releases