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

RSS feeds for filtered activities #2871

Open
si opened this issue Jun 12, 2023 · 3 comments
Open

RSS feeds for filtered activities #2871

si opened this issue Jun 12, 2023 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@si
Copy link

si commented Jun 12, 2023

Is your feature request related to a problem? Please describe.
I love that you can append /rss to the user profile URL to get all activities as an RSS feed but I can't limit it to specific activity types (such as finished reading).

Describe the solution you'd like
Could the RSS output be applied to all filtered activities with the /rss suffix to access?
e.g. https://ramblingreaders.org/user/si/books/read/ could provide RSS version at https://ramblingreaders.org/user/si/books/read/rss

Describe alternatives you've considered
Filtering the existing RSS feed https://ramblingreaders.org/user/si/rss by the item summary, e.g. posts beginning with "Review of".

Additional context
I want to syndicate the content to other platforms but not ALL activity, just a subset to reduce the noise and duplicates for books. I plan to import to my Wordpress blog which would be quite straight forward with tools like Zapier or IFTTT.

@mouse-reeve mouse-reeve added the enhancement New feature or request label Jul 16, 2023
@mouse-reeve mouse-reeve added the good first issue Good for newcomers label Aug 7, 2023
@mattkatz
Copy link

Interesting - I just did a teeny bit of digging and I see from #785 (comment) that there is a paginated json version of the data.
So then we'd need to add a path to say any sub shelf of a user needs to recognize a .rss extension to the url and then in the rendering section see if the rss template works for that subset of data.

This does seem like a good first issue!

@mattkatz
Copy link

I'm gonna take a run at this one - I'd like to get an rss list of books on my to-read bookshelf.

@mattkatz
Copy link

I've added a PR that I think implements RSS for shelves, but I'm having trouble getting the test case to work. My stumbling block is that I'm getting redis errors, which I think result from me not mocking enough stuff to prevent the addition of the test book to a test shelf from being published to redis.

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

No branches or pull requests

3 participants