Questions tagged [google-amp]

The AMP Project is an open-source initiative aiming to make the web better for all. The project enables the creation of websites and ads that are consistently fast, beautiful and high-performing across devices and distribution platforms.

101 questions
1
vote
4 answers

How can I replace tags in HTML with tags?

I want to turn HTML pages into Google AMP pages, and I have this problem where I have a lot of that I want to turn into tags. For example, I want to turn:
hi bro
Adhy Musaad
  • 81
  • 1
  • 8
1
vote
1 answer

Refused to get unsafe header "AMP-Access-Control-Allow-Source-Origin"

I'm using amp-iframe in a page with a Google map in the iframe. The page works fine and validates on all the browsers I tried, except Safari on MacOS. I get this error in the console: Refused to get unsafe header…
rodders
  • 354
  • 1
  • 11
1
vote
2 answers

How to load amp html in mobile version

I have 2 html's like non-amp.html and amp.html. I included in my amp.html and in my index.html. When i kept my site in mobile…
MMR
  • 2,869
  • 13
  • 56
  • 110
1
vote
1 answer

How to get Medium Blog post in AMP html website?

I am working on AMP project. I want my blog posts on AMP website. How can i get all blog post in AMP Website. Medium Give me RSS feed for my blog in json format. So my problem is that how i can get POST from medium.
Awesome Designer
  • 254
  • 1
  • 14
1
vote
1 answer

amp-bind Error: Default value for [variable] does not match first expression result

I am using amp-bind to bind the class attribute:
...
with the following amp-state element: