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.
מכיוון ש-Discourse מאחד כעת, האם תהיה אפשרות להטמיע פוסטים של Mastodon בקלות?
אני מכיר את הטריק הידני לתיקון קוד ההטמעה שניתן על ידי Mastodon, אבל זו דרך מסורבלת להטמיע כאשר Xwitter דורש רק כתובת אתר…
(מטא במטא: מערכת ההצבעה הזו פועלת רק עם בקשות חדשות כאשר הן מתפרסמות בזמן הנכון ותופסת דיון כלשהו. אחרת… הריק קורא. מה הפתרון, מלבד חיזוק עם הערות חסרות תועלת… אני לא יודע ותוהה שזה לא רלוונטי כאן, אבל הייתי עצלן מכדי להתחיל דיון חדש, כי אני יודע שהמערכת המשומשת לא תשתנה)