How to embed Mastodon content in an external web?


#1

Our actual use case is:

Display the last post from our instance’s local timeline in our website, so visitors can get a glimpse of the Fediverse and click to learn more.

Now, Mastodon offers RSS feeds for user posts and for tags, but (as far as Iwe are aware) not for the local public timeline of an instance?

Mastodon also offers the HTML to embed a single toot in a website (an iframe).

Because our site is a WordPress, we have also checked whether there is a plugin available to display Mastodon content, and we found a very mysterious and quite abandoned Mastodon Embed | WordPress.org (has anyone tried it?)

Do you have any ideas of recommendations? The most recent post of a local timeline would be the perfect output, but we are open to other alternatives.