my community shares a lot of Mastodon posts. Although the resulting OneBox gives a preview of the post, users typically need to click through to see the full post and any embedded media. Alternatively, users could do a few more clicks to copy the embed code, but this rarely happens and comes with the downside that each instance needs to be added to the iframe whitelist and that the size of the iframe is not adjusted to fit its contents—you need to scroll the post. Is there any way to automate embedding Mostodon posts when a URL is posted to Discourse (similar to how this is being done for tweets)?
Looks like we can easily detect a default mastodon site body > div#mastodon and create good oneboxes for text, image and video posts as all the info we need is present in the meta opengraph tags. Putting the pr-welcome tag here.
Manually is. The embed misses height (or was it width?) and that’s why it doesn’t work on Discourse. Those sizes are kind of hardcoded anyway. I would blaime Mastodon.
Aangezien Discourse nu federatie ondersteunt, zou er een mogelijkheid zijn om Mastodon-posts eenvoudig in te sluiten?
Ik ken de handmatige truc om de door Mastodon gegeven embed-code te repareren, maar het is een onhandige manier om in te sluiten wanneer Xwitter slechts een url nodig heeft…
(meta in Meta: dit stemsysteem werkt alleen met nieuwe verzoeken wanneer deze op het juiste moment worden geplaatst en vangen wat discussie op. Anders… roept de leegte. Wat is de oplossing, anders dan het een boost geven met nutteloze opmerkingen… Ik weet het niet en vraag me af of dat hier off-topic is, maar ik was te lui om een nieuwe discussie te starten, omdat ik weet dat het gebruikte systeem niet zal veranderen)