Just to clarify: the preview in Friendica works. It adds corretly the iframe to embed the preview. But the url is http, while friendica is almost always https. and browsers block http content in https pages nowadays... :)
(I still don't understand when friendica uses the iframe preview and when it uses the snippet of text from the description in the editing window, but it's not like I've ever made an effort to understand it).
it depends on what the site offer as data. It this case the oembed endpoint offer html code to use as embed which contains the iframe (see here). Note that the blockquote with title and link is also in oembed reply.
If the site don't support oembed, friendica tries other systems: opengraph meta tags, "description" meta and title tag. As a fallback, it tries to extract first lines of body text... (I'm describing this from memory.. I could be wrong)
In general Mastodon supports oEmbed; but I tried with another WP site served over https and it gave the same result as deblanc.net; whereas the oEmbed-from-WP example from oembed.com with type=link is better (but still no excerpt); the issue could be lack of support for type=rich oEmbeds: github.com/tootsuite/mastodon/… ... in any case, homework for both deblanc.net and wp.libpf.com: install WP opengraph plugin
Questo sito utilizza cookie per riconosce gli utenti loggati e quelli che tornano a visitare. Proseguendo la navigazione su questo sito, accetti l'utilizzo di questi cookie.
Fabio
in reply to Elena ``of Valhalla'' • •Elena ``of Valhalla''
in reply to Fabio • •whooops, you're right
(I still don't understand when friendica uses the iframe preview and when it uses the snippet of text from the description in the editing window, but it's not like I've ever made an effort to understand it).
Fabio
in reply to Elena ``of Valhalla'' • •it depends on what the site offer as data. It this case the oembed endpoint offer html code to use as embed which contains the iframe (see here). Note that the blockquote with title and link is also in oembed reply.
If the site don't support oembed, friendica tries other systems: opengraph meta tags, "description" meta and title tag. As a fallback, it tries to extract first lines of body text... (I'm describing this from memory.. I could be wrong)
Reply Guy
in reply to Fabio • •Fabio
in reply to Reply Guy • •Reply Guy
in reply to Fabio • •github.com/tootsuite/mastodon/… ... in any case, homework for both deblanc.net and wp.libpf.com: install WP opengraph plugin
Fabio likes this.
Elena ``of Valhalla''
in reply to Reply Guy • •uh, my edit didn't appear on mastodon? when I realized that the preview looked pretty empty I added a short description.
ouch