AmauryPi Currently, the RSS feeds are served using the current logged in user permissions.
Yeah, but if user isn't logged in they should be served with a guest permissions. That's totally ok and makes sense.
Private feeds can be a nice addition, but that's kinda out of scope for the initial task. It's up to you whether to do it or not ?
AmauryPi Maybe we should ensure that an item is instead added, keeping one entry per post?
Not sure about that. What's the point to have two or more entries for the same discussion? I thought that discussion feeds are about discussions, not about posts. I believe that when someone adds a new post to a discussion, you have to change the item's pubDate
, leaving its guid
intact (because it's the same discussion, not a new one). It's up to the feed reader how to interpret the fact that pubDate
has changed.
AmauryPi Another thing, regarding to the per-discussion and per-user feeds, I currently can't implement them due to the Flarum routes being too unspecific.
Well, it's not a big deal. You can change it to something like that:
/rss
- for global feed
/rss/t/{tag}
- for tag feed
/rss/d/{id}
- for discussion feed
/rss/u/{user}
- for user feed
Just keep everything in one style and that's it ?
By the way, i've sent you $40. Please confirm ?