-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AMP-to-AMP (A2A) linking #12496
Comments
Just confirming, does per-link opt in only include anchor links or is it for all navigation features? |
Does this have the same behavior on and off caches? |
Nice! |
@lswang1618 All navigation features eventually, @ithinkihaveacat Good question. Off cache this is a no-op. |
This is a high priority issue but it hasn't been updated in awhile. @choumx Do you have any updates? |
Feedback from design review #12939 (comment):
|
New proposalFor links: <a rel=amphtml href="amp.html">An AMP link</a> For forms and actions: <!-- Per-feature opt-in based on `content` attribute. -->
<meta name="amp-to-amp-navigation" content="AMP-Redirect-To; AMP.navigateTo">
/cc @cramforce |
Looks good as discussed in review. No semiconolon in |
FYI: I've put together an extension that implements A2A linking for sites using the AMP plugin, when that feature is implemented by an AMP viewer. See more at ampproject/amp-wp#1389 (comment). |
Features for publishers to specify navigation from an AMP page to another AMP page when served from CDN:
<a href="example.com/amp" amp>
AMP.navigateTo
,AMP-Redirect-To
) with new boolean attribute on HTML tag e.g.<html a2a-by-default>
Notes:
a2a
capability and page -> viewer message. SeenavigateTo()
in viewer-impl.jsamp-href
to normal<a>
URLs that it already has a cached AMP page for/cc @lswang1618
The text was updated successfully, but these errors were encountered: