Follow

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 (github.com/tootsuite/mastodon/) 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.

I might make it so clicking "show article" just opens the details screen (that second one with the purple background in my theme)... idk. Gotta think through this interaction.

Okay, I vastly prefer this one, a "Read article >" indicator that is similar to the "Read more >" indicator that is already in Mastodon. It behaves the same way too.

@darius @Thib How does the user know if the post is just a regular CW or an article?

@zge this isn't done by any means. I'll going to add some kind of "article" indicator.

@darius

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.

@Thib

@sheogorath @darius @Thib then...don’t use the instance Darius runs? “I don’t like your work” isn’t exactly constructive crit.

@sheogorath This is probably going to stay in my fork. I'm trying to prove things out by doing them, basically

@darius @Thib this is fantastic! Now I just need to get it to Florence

Sign in to participate in the conversation
Friend Camp

The decentralized web is about trust. You should only join Friend Camp if you personally trust Darius Kazemi with your social media data. You probably only have that level of trust if we are IRL friends or have been internet friends for a long time. Generally speaking this is a small, closed community. In the end, Darius is the arbiter of what is allowed here. If you don't have a good idea of the kind of behavior that flies with Darius, again, you probably shouldn't join this instance. In the interest of specificity, we do have a code of conduct and privacy policy which you should read. Friend Camp features several modifications that were requested by our users. * you can log in via any subdomain, which means you can log in to multiple accounts in the same browser session (for example, log in once on friend.camp and then as another user on alt.friend.camp) * they are no longer called "toots", they are now "posts" * if you have a locked account and you get a follow request, a reminder appears under your "post" button (on normal Mastodon mobile it is otherwise buried in a sub-menu and you might not see it for a long time) * the emoji dropdown is a neutral smiley face instead of the cry-laughing smiley @mentions are rendered as "@user" for a Friend Camp user and "@user@domain" for remote users. This helps clear up when you follow two people who have the same username on different servers. * there is a "never ask me again" checkbox on the confirmation for clearing your notifications -- more info here * When an mp3 link is in a post, we also embed an inline mp3 player. git commit here * 500 characters of profile text git commit here, requested by @deerful Important Bit from the Privacy Docs: If you want decent privacy (the info doesn't leave this server), the only way to do that is to set your account to private, only accept friend requests from other friend.camp users, and only ever @ mention other friend.camp users. Once you start talking to people on other servers, all bets are off. Any private message you send to someone on another server could be looked at by the admin of a different server. This is kind of like email: if you are on a private email server, and you send an unencrypted email to a gmail account, congrats, Google now has the content of that email. But also, you do this every day, so, hey. The internet! Our beautiful icon is based on photo3idea_studio from www.flaticon.com, licensed CC 3.0 BY. It has been modified by @casey@friend.camp!