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

Ability to embed a profile or timeline #6094

Open
themushmouth opened this issue Dec 24, 2017 · 9 comments
Open

Ability to embed a profile or timeline #6094

themushmouth opened this issue Dec 24, 2017 · 9 comments
Labels
suggestion Feature suggestion

Comments

@themushmouth
Copy link

Is it possible to embed a profile or timeline? I would like to embed my mastodon profile to my site.

@sorin-davidoi
Copy link
Contributor

No, only individual posts are embeddable right now.

@schiessle
Copy link

You could do this by parsing the RSS feed, that's what I did to add my toot's to my webpage. Maybe it is useful for you https://gitlab.com/BeS/hugo-sustain-ng/blob/master/static/js/feedreader.js

@themushmouth
Copy link
Author

@schiessle what rss feed did you use?

@schiessle
Copy link

@themushmouth afaik, there is only one per user: https://mastodon.social/@bjoern.atom

@FedericoCeratto
Copy link

See #1065 for embedding individual post.

@poVoq
Copy link

poVoq commented Feb 8, 2019

@schiessle Your current website also seems to get various other parts from Mastodon now. Is that still done via the RSS feed? Would it be very difficult to abstract that part out to use in any static website?

@schiessle
Copy link

no, I wrote a small PHP app which uses the mastodon API to fetch all the information: https://gitlab.com/BeS/hugo-sustain-ng/tree/master/static/mastodon.comments

@idotj
Copy link

idotj commented May 24, 2021

After checking several pages/forums I decided to create an embed timeline with only html and js (no jQuery dependency).
Here you have the source code:
https://gitlab.com/idotj/mastodon-embed-feed-timeline

@appel
Copy link

appel commented Dec 19, 2023

https://mastodon.social/@bjoern.atom

It appears the URL format has changed from .atom to .rss:
https://mastodon.social/@bjoern.rss

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

8 participants