aaronpk / XRay

X-Ray returns structured data from any URL
https://xray.p3k.app
MIT License
90 stars 15 forks source link

Add support for Follow posts #81

Closed EdwardHinkle closed 5 years ago

EdwardHinkle commented 5 years ago

Now that Bridgy Fed sends Follow posts, xray and webmention.io should probably add support for them.

An example of mf2 from Bridgy Fed: https://pin13.net/mf2/?url=https%3A%2F%2Ffed.brid.gy%2Frender%3Fsource%3Dhttps%3A%2F%2Ftoot.cafe%2F3d36ccca-de8a-4d5b-b1bc-0be967c2b663%26target%3Dhttps%3A%2F%2Fsnarfed.org%2F

Based on the documentation here: https://indieweb.org/follow

Sent with GitHawk

EdwardHinkle commented 5 years ago

I was wrong, follows are already detected in X-ray: http://xray.p3k.io/parse?url=https%3A%2F%2Ffed.brid.gy%2Frender%3Fsource%3Dhttps%253A%252F%252Fmastodon.technology%252Fdf9fe479-7dfd-495c-9f13-7dad2910e813%26target%3Dhttps%253A%252F%252Feddiehinkle.com%252F&pretty=true

It's webmention.io that's breaking on the follow posts