Skip to content

Instantly share code, notes, and snippets.

@bortzmeyer
Created May 2, 2017 13:08
Show Gist options
  • Save bortzmeyer/91c7a9c3fec771c26db018aef0c9fece to your computer and use it in GitHub Desktop.
Save bortzmeyer/91c7a9c3fec771c26db018aef0c9fece to your computer and use it in GitHub Desktop.
A complicated and useless method to get the Atom feed of a Mastodon user

[Yes, I know there is a far simpler method.]

 curl -s 'https://mastodon.gougere.fr/.well-known/webfinger?resource=bortzmeyer@mastodon.gougere.fr' | \
     jq '.links[] | if (.type == "application/atom+xml") then .href else "" end'
""
"https://mastodon.gougere.fr/users/bortzmeyer.atom"
""
""
""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment