My #webcomponent for embedding #mastodon feeds and its demo page https://hcschuetz.github.io/mastodon-toots/ got a few enhancements, for example:
1. CSS fixes. (The old styling worked in Firefox but had problems in Edge and probably also Chrome.)
2. Hide sensitive content.
3. Added a list of similar projects to the demo page.
4. And perhaps most importantly: The component configuration became both simpler and more powerful.
1/2
2/2
The web component now takes a single attribute "url" for retrieving a list of #toots. This way
- the component need not compose the url from attributes,
- you can use even more query parameters, and
- you can not only embed accounts but also timelines, tags, toot contexts.
In hindsight I'm wondering why I ever hid the (more powerful, well-known and documented) mastodon API URLs behind my own (less powerful and only slightly more readable) facade.