{"id":18729,"date":"2017-08-24T14:49:21","date_gmt":"2017-08-24T18:49:21","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=18729"},"modified":"2017-08-29T13:12:26","modified_gmt":"2017-08-29T17:12:26","slug":"ios-11-will-strip-amp-garbage-from-shared-urls","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2017\/08\/24\/ios-11-will-strip-amp-garbage-from-shared-urls\/","title":{"rendered":"iOS 11 Will Strip AMP Garbage From Shared URLs"},"content":{"rendered":"<p><a href=\"https:\/\/twitter.com\/viticci\/status\/900396684844433409\">Federico Viticci<\/a> (via <a href=\"https:\/\/daringfireball.net\/linked\/2017\/08\/23\/ios-11-amp\">John Gruber<\/a>):<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/viticci\/status\/900396684844433409\"><p>Very nice: when sharing AMP pages to iMessage or Reading List, iOS 11 Safari automatically removes AMP&rsquo;s crap from the URL. Go Apple &#x1F44D;<\/p><\/blockquote>\n<p>Previously: <a href=\"https:\/\/mjtsai.com\/blog\/2017\/05\/31\/dangers-of-google-amp\/\">Dangers of Google AMP<\/a>, <a href=\"https:\/\/mjtsai.com\/blog\/2017\/01\/18\/the-problem-with-amp\/\">The Problem With AMP<\/a>, <a href=\"https:\/\/mjtsai.com\/blog\/2016\/08\/22\/google-to-automatically-link-to-amp-results\/\">Google to Automatically Link to AMP Results<\/a>.<\/p>\n<p>Update (2017-08-28): <a href=\"https:\/\/news.ycombinator.com\/item?id=15085159\">Malte Ubl<\/a> (via <a href=\"https:\/\/twitter.com\/marczak\/status\/900865458999578625\">Edward Marczak<\/a>):<\/p>\n<blockquote cite=\"https:\/\/news.ycombinator.com\/item?id=15085159\"><p>TL of AMP here. Just wanted to clarify that we specifically requested Apple (and other browser vendors) to do this. AMP&rsquo;s policy states that platforms should share the canonical URL of an article whenever technically possible. This browser change makes it technically possible in Safari. We cannot wait for other vendors to implement.<\/p><\/blockquote>\n<p><a href=\"https:\/\/news.ycombinator.com\/item?id=15090333\">Malte Ubl<\/a>:<\/p>\n<blockquote cite=\"https:\/\/news.ycombinator.com\/item?id=15090333\"><p>We confirmed that this actually implemented as a generic solution. (Sharing &lt;link rel=canonical&gt;), so there is nothing AMP specific here.<\/p><\/blockquote>\n<p>See also: <a href=\"https:\/\/medium.com\/@cramforce\/why-amp-is-fast-7d2ff1f48597\">Why AMP Is Fast<\/a>, <a href=\"https:\/\/medium.com\/@cramforce\/why-amp-html-does-not-take-full-advantage-of-the-preload-scanner-7e7f788aa94e\">Why AMP HTML Does Not Take Full Advantage of the Preload Scanner<\/a>.<\/p>\n\n<p>Update (2017-08-29): <a href=\"https:\/\/pxlnv.com\/linklog\/amp-shared-links\/\">Nick Heer<\/a>:<\/p>\n<blockquote cite=\"https:\/\/pxlnv.com\/linklog\/amp-shared-links\/\">\n<p>So if AMP&rsquo;s own spec doesn&rsquo;t see AMP links being used for general referrals, social network referrals, or direct links, then their only function seems to be links from Google searches. That seems silly.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Federico Viticci (via John Gruber): Very nice: when sharing AMP pages to iMessage or Reading List, iOS 11 Safari automatically removes AMP&rsquo;s crap from the URL. Go Apple &#x1F44D; Previously: Dangers of Google AMP, The Problem With AMP, Google to Automatically Link to AMP Results. Update (2017-08-28): Malte Ubl (via Edward Marczak): TL of AMP [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[1463,31,26,96],"class_list":["post-18729","post","type-post","status-publish","format-standard","hentry","category-technology","tag-accelerated-mobile-pages-amp","tag-ios","tag-iosapp","tag-web"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/18729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=18729"}],"version-history":[{"count":3,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/18729\/revisions"}],"predecessor-version":[{"id":18753,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/18729\/revisions\/18753"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=18729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=18729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=18729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}