Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mastodon per-user feed support #546

Open
jamietanna opened this issue Feb 8, 2023 · 9 comments
Open

Mastodon per-user feed support #546

jamietanna opened this issue Feb 8, 2023 · 9 comments

Comments

@jamietanna
Copy link
Collaborator

As discussed on #dev in chat, Granary right now can't support listing a server's posts in the outbox, so it'd be handy to have Bridgy Fed provide a means to filter down the feed to just a given user.

@snarfed
Copy link
Owner

snarfed commented Feb 8, 2023

Interesting! I'm a bit reluctant though. What I've found with granary and *-atom is that people often try to use them to follow lots of individual people on a given platform, often hundreds or thousands of accounts each, which turns them into large scale feed fetching platforms, which requires dedicated effort to scale that I'm not currently ready for.

I definitely get your use case of managing your per-person follows separately, to make sure you don't miss some of them! I don't know that I'm ready to support that use case broadly yet though.

@snarfed
Copy link
Owner

snarfed commented Feb 8, 2023

Oh! Looks like Mastodon actually serves these natively. They got accidently broken in 4.x, but that's been fixed, if maybe not released yet: mastodon/mastodon#20770

In the meantime, you can get a single user's feed by appending .rss to their profile URL, eg https://indieweb.social/@jamietanna.rss

@jamietanna
Copy link
Collaborator Author

Yes, that's a very fair reason to be reluctant to add this.

I'm considering that this could be implemented i.e. as https://fed.brid.gy/user/www.jvt.me/feed?user=https://todon.eu/@jalcine that'd just return Jacky's posts.

The RSS feeds don't include boosts, and have been pretty flakey from my experience

@StarrWulfe
Copy link

Could this just be as simple as adding a check for feeds already present (i.e. putting the .rss at the end or any other common formats) and check of it "sticks" and do a regex action in the background so that's the link we end up with anyway? Then BF doesn't need to serve anything since we're just using the feed already there and making it more convenient to grab?

@snarfed
Copy link
Owner

snarfed commented Feb 10, 2023

@StarrWulfe hmm maybe! I'm not sure adding BF would make discovering Mastodon's own feeds specifically any easier overall, but feel free to outline a concrete UX flow and we can see if we think it's better.

Notably, once they release mastodon/mastodon#20770, I think you'll be able to plug someone's Mastodon profile URL into your feed reader and it will Just Work, so I doubt we'll be able to improve on that.

@snarfed
Copy link
Owner

snarfed commented Apr 16, 2023

This ^ went out in Mastodon 4.1.0:

For example, https://todon.eu/@jalcine when fetched without rendering JS now includes this line:

<link href='https://todon.eu/@jalcine.rss' rel='alternate' type='application/rss+xml'>

and I've confirmed that you can plug https://todon.eu/@jalcine into an RSS reader and it works.

@jamietanna
Copy link
Collaborator Author

Ah nice, so that'll work with folks who publish all public stuff, but if there are limited visibility posts/accounts it may not work

@snarfed
Copy link
Owner

snarfed commented Apr 16, 2023

True! Same with Bridgy Fed's feeds though, it drops all non-public posts.

(And you're still right from earlier here that these feeds don't include boosts.)

@snarfed snarfed transferred this issue from snarfed/bridgy-fed Jun 18, 2023
@snarfed snarfed changed the title Create a feed per user Mastodon per-user feed support Jun 18, 2023
@snarfed
Copy link
Owner

snarfed commented Jun 18, 2023

Moved this from Bridgy Fed to granary. Also realistically it would be Mastodon-only, since AP in practice doesn't have a way to ask an arbitrary instance for a given user's posts. (It could be outbox, but that's optional, and in practice very few servers implement it like this.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants