Skip to content

💡 Feature request: RSS filter like on Reddit #362

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

Open
foregroundprocess opened this issue Jan 27, 2025 · 1 comment
Open

💡 Feature request: RSS filter like on Reddit #362

foregroundprocess opened this issue Jan 27, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@foregroundprocess
Copy link

foregroundprocess commented Jan 27, 2025

RSS feed contains all of the posts in a subreddit, even if I select TOP, or make a search.

On Reddit you do the search, apply the filters, like TOP of the week. And each result has its own URL, like
https://www.reddit.com/r/unpopularopinion/top/?t=week
Same on Redlib.

But Reddit also creates an RSS feed for such URL, like
https://www.reddit.com/r/unpopularopinion/top.rss?t=week

Can Relib behave in the same way? Currently RSS URL remains the same for a subreddit even if I set a filter.

@foregroundprocess foregroundprocess added the enhancement New feature or request label Jan 27, 2025
@sigaloid
Copy link
Member

sigaloid commented Feb 3, 2025

For anyone looking to work on this: seems like the sort parameter isn't being parsed correctly around here:

let sort = req.param("sort").unwrap_or_else(|| req.param("id").unwrap_or(post_sort));

Leading to the default case 'hot' being chosen at all times.

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

No branches or pull requests

2 participants