Salta al contenuto principale


(since the preview on friendica isn't working, the article talks about the lack of a need for a new leader for the Free Software Movement)
Questa voce è stata modificata (5 anni fa)
in reply to Elena ``of Valhalla''

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... :)
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).

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)

in reply to Fabio

the site has no favicon and no opengraph meta tags so it's not really social-friendly; this is how it looks like in Mastodon:
in reply to Reply Guy

yup. the site lacks the favicon. but Mastodon lacks support for oEmbed, so also Mastodon is not really social-friendly :-P
in reply to Fabio

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
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

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.