Pages

17 October 2020

What works and What does not?

This custom AMP template does come with some sacrifices. Some features in the Blogger will not work or will work differently when using this template. Here is the list of known items

15 October 2020

AMP Validation errors and the use of this template

 Does this template pass AMP Validation?

No, it does not. There are some limitations in Blogger that I find it impossible to workaround at the moment. Some of them are

  • The style tags in the error are inserted automatically by Blogger. Some of them such as b:skin cannot be removed.
  • The quickedit icon which causes 3 errors is part of footer and I don't know how to remove it. I have removed all other quick edit icons.
  • ATOM/XML is a valid MIME type. Ref: IANA. But the AMP validator doesn't recognize it.

If it does not pass the validation, what is the purpose of this template?

The main goal of this template when I started working on this was to make the blog responsive on mobile along with the images and videos in it, instead of having two different views for mobile and desktop. AMP was a good way to do this. Maybe one day it will be possible to workaround the limitations and create a template that passes AMP Validation. Until, then this is my best. If you feel you can contribute, check out the GitHub repo. The entire template is open source.

12 October 2020

New Release

Just released a new version of AMP Blogger Template. It is version v20.0.0 the first version in 2020.

14 April 2020

Embending YouTube videos in this AMP template

The script required for AMP Youtube is not included in the template. First include it either in the template or in the post.

<script async="" custom-element="amp-youtube" src="https://cdn.ampproject.org/v0/amp-youtube-0.1.js"></script>