Comment by femtoaggression on 15/08/2019 at 21:34 UTC

4 upvotes, 2 direct replies (showing 2)

View submission: Why did I build AmputatorBot?

Hi, it looks like one of my links was wrongly marked as an amp link: https://www.nytimes.com/2018/09/08/world/asia/china-uighur-muslim-detention-camp.html?smid=nytcore-ios-share

I have tried this link and it isn’t AMP. Thanks!

Replies

Comment by Killed_Mufasa at 15/08/2019 at 21:50 UTC*

6 upvotes, 2 direct replies

Hey there, this is an interesting one:

The bot has marked that link as an amp link because it contained the string `amp.` (detention_cAMP.) . So that's a stupid but funny coincidence.

However, there are plenty of other ways the bot checks what is and isn't a false positive. It was determined that the link contained the HTML tag `rel` with attribute `canonical`. ~~This tag was specifically designed for AMP practices.~~ Basically, it (or rather has the value) points to the direct souce (which isn't using AMP). ~~So this tag being there is already weird.~~

Not every website with this attribute is using AMP, but every AMP page *is* (in theory) using the canonical attribute. If this attribute is missing, it's a false positive. But since it was there, it passed the first test.

The link also passed the second false-positives test: if the submitted is the same as the canonical one, it's either a false flag or badly implemented specs. But it wasn't the same, because of the last part of your link: `?smid=nytcore-ios-share` (yup). See how the bot removed that part?

Sorry about this. I genuinely thought the bot was 100% false flag proof this time. Welp guess not. Back to the drawing board it is.. Thx for letting me know haha!

Edit: removed the misinformation after a good comment of u/TheNominated!

Comment by AmputatorBot at 15/08/2019 at 21:35 UTC

2 upvotes, 1 direct replies

Beep boop, I'm a bot. It looks like you shared a Google AMP link. Google AMP pages often load faster, but AMP is a major threat to the Open Web[1] and your privacy[2].

1: https://www.socpub.com/articles/chris-graham-why-google-amp-threat-open-web-15847

2: https://www.reddit.com/r/AmputatorBot/comments/c88zm3/why_did_i_build_amputatorbot

You might want to visit **the normal page** instead: **https://www.nytimes.com/2018/09/08/world/asia/china-uighur-muslim-detention-camp.html[3]**.

3: https://www.nytimes.com/2018/09/08/world/asia/china-uighur-muslim-detention-camp.html

--------------------------------------------------------------------------------

​^(Why & About)[4]^( | )^(Mention me to summon me!)[5]

4: https://www.reddit.com/r/AmputatorBot/comments/c88zm3/why_did_i_build_amputatorbot

5: https://www.reddit.com/r/AmputatorBot/comments/cchly3/you_can_now_summon_amputatorbot/