Embed mastodon and bridge?
-
Here will an post from mastodon work, in my forum not (2.7.0). What i need?
Unix Weekly (@[email protected])
Linux Kernel Ksmbd Use-After-Free Remote Code Execution Vulnerability https://www.zerodayinitiative.com/advisories/ZDI-22-1690/ Discussions: https://discu.eu/q/https://www.zerodayinitiative.com/advisories/ZDI-22-1690/ #linux #unix
Mastodon (mastodon.social)
And is a bridge to Mastodon available?
-
Looks like they are using https://iframely.com/ for this. So, quick test with a self-hosted server. Works.
But, it doesn't look so nice. You would have to edit the css files somehow. Hmm???
-
@FrankM maybe this might help:
How do I set up Iframely
and here I had some suggestions to improve the look of iframely embeds... @crazycells said in [nodebb-plugin-iframely] IFramely Embeds: Hi everyone, If you ...
NodeBB Community (community.nodebb.org)
-
@crazycells Thank you, but the result was
Here are my settings, for the moment.
.thumb { margin-top: 0px; width: 100%; float: none; margin-bottom: 20px } .img-responsive { top: 400px width: 75%; margin-bottom: 10px } .one-line { top: 50px; float: none; color: #FFFFFF; margin-top: 10px; } .iframely-embed { width: 60%; color: #FFFFFF; background-color: #6E6E6E; }
And right, I have no idea about CSS etc
-
@crazycells Yes.
-
@FrankM you seem to have several missing classes if you are referring to @crazycells solution. Try adding the entire block below
.iframely-link .iframely-container { .img-responsive { height:120px !important; width: auto !important; overflow: hidden !important; } .iframely-meta { display: none !important; } .media { float: left !important; padding: 0 5px 0 0 !important; } .media-heading { margin-top: 5px; margin-bottom: 2px; } .description { position: relative !important; top: 10px !important; } .panel-iframely .iframely-embed .one-line { white-space: normal; } .panel-body { padding: 5px; } }
-
some of the other CSS codes might be interfering... This is how it should look normally with the codes:
-
@FrankM With a bit of experimentation, I achieved this
Use the below CSS
.iframely-link .iframely-container .media { float: left !important; padding: 0 5px 0 5px !important; } .iframely-link .iframely-container .iframely-meta { display: none !important; } .iframely-link .iframely-container .img-responsive { height: 120px !important; width: auto !important; overflow: hidden !important; } .iframely-link .iframely-container p { margin-top: 20px; margin-right: 20px; } .iframely-link .iframely-container .one-line { margin-left: 5px; }
-
@phenomlab said in Embed mastodon and bridge?:
@FrankM very odd. I applied that css directly against your site so I know it works. Have you removed everything else in that view and used only my css ?
I think so.
-
@crazycells Yes self-hosting iframely and i think that no other preview plugin is active. I gave up.
Oddly enough, my novice css changes work.