Suivi — Liens Avertir si un lien pointe vers une "Accelerated Mobile Page" (amp)

#2020 Posté par  (site web personnel) . État de l’entrée : ouverte. Licence CC By‑SA.
Étiquettes :
5
6
nov.
2021

Inspiré par ce commentaire.

Lors de la soumission d'un lien détecter s'il pointe vers une page amp et afficher un avertissement demandant de le remplacer par la version non amp.

Voir cette discussion sur StackOverflow pour la détection amp. On y apprend que d'après la spec le lien vers la page originale doit être dans <link rel="canonical" href="$SOME_URL">

Journal Google se marre dans son coin

Posté par  . Licence CC By‑SA.
Étiquettes :
28
18
avr.
2019

Via HackerNews, on tombe sur ça : https://webmasters.googleblog.com/2019/04/instant-loading-amp-pages-from-your-own.html

Extrait choisi :

we had to make trade-offs; namely, the URLs displayed in browser address bars begin with google.com/amp, as a consequence of being shown in the Google AMP Viewer, rather than display the domain of the publisher. We heard both user and publisher feedback over this, and last year we identified a web platform innovation that provides a solution that shows the content’s original URL while still retaining AMP's instant (…)