snarfed / bridgy-fed

🌉 A bridge between decentralized social network protocols
https://fed.brid.gy
Creative Commons Zero v1.0 Universal
657 stars 33 forks source link

Web: don't allow sites without feed or mf2 h-card #1458

Open snarfed opened 6 days ago

snarfed commented 6 days ago

We get a number of sites now that have no RSS or Atom feed or mf2, and are unlikely to post via webmention. It's awkward to bridge those if we'll never bridge any posts for them.

We can easily tell if there's an RSS or Atom feed right now, and we know if a site has already sent us a webmention or not, but we don't distinguish where profile info comes from, ie mf2 vs mf1 vs metaformats.

Maybe the most likely thing to do hwere would be to try to detect mf2 at fetch time and store it in a new Web.has_mf2_hcard property, and either backfill or only block a site if we fetched their homepage after we launch that.

snarfed commented 6 days ago

This is needed to do #1403 for web users.

snarfed commented 6 days ago

I have a start on this in a stash, don't bridge Web users without feed or mf2 h-card, #1458.