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

Local timeline RSS feed #17269

Open
mossymossmoss opened this issue Jan 10, 2022 · 3 comments
Open

Local timeline RSS feed #17269

mossymossmoss opened this issue Jan 10, 2022 · 3 comments
Labels
suggestion Feature suggestion

Comments

@mossymossmoss
Copy link

Pitch

Add the ability to get an RSS feed of all public posts on a specific instance

Motivation

Useful to have new posts linked to on a Discord/Matrix channel with the use of a bot

@mhkhung
Copy link
Contributor

mhkhung commented Dec 25, 2022

For now, use the json..

.../api/v1/timelines/public?local=true&only_media=false

@markcellus
Copy link

Yeah, using the Mastodon API directly to display timeline content is probably the best way to go if you want to display in a chat app. RSS feeds were meant to be consumed by RSS Readers. But adding more RSS support in #21500 would be great!

@sanderhollaar
Copy link

Example:

curl -s https://social.overheid.nl/api/v1/timelines/public?local=true | \
jq "reverse | .[] | select(.created_at|contains(\"$(date +%Y-%m-%dT)\")) | [.created_at,.content]" | \
elinks -dump -force-html -no-numbering -no-references

@vmstan vmstan added the suggestion Feature suggestion label Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Feature suggestion
Projects
None yet
Development

No branches or pull requests

5 participants