I've been working on getting ActivityPub Article types fully supported inline in the Mastodon home feed. I've got it working pretty well now, at least for blog posts from write.as. It supports a "safe" subset of rich text using a PR from @Thib (https://github.com/tootsuite/mastodon/pull/10629) and then I added some code to support <img> tags that proxies images to the local server, just like we currently do with image attachments. Alt text and media blocking are fully supported/respected.
Video demo attached!
@matt, check out the above post, my write.as posts are starting to look really nice in my local fork!
Okay, just added a special show/hide toggle so that you know it's an Article rather than a "normal" post. I think I'll need to provide a way to collapse the article when you're at the bottom of it, too, otherwise you have to scroll to the top to re-collapse it. But yeah. Progress!
More video attached.
@darius Nicely done! Looks great.
@zge this isn't done by any means. I'll going to add some kind of "article" indicator.
I think your work is great, but I'm not sure it's the right way for Mastodon. At least not from my understanding. It looks a bit like pushing Mastodon towards Pleroma which I don't think is where I would like to see Mastodon in the future.
Just my personal taste, but I don't agree with a lot of decisions the Pleroma devs made towards content and content rendering, at least for a microblog platform.
@sheogorath This is probably going to stay in my fork. I'm trying to prove things out by doing them, basically
@darius oh this is super cool!