#social 2019-11-12

2019-11-12 UTC
#
trwnh
honestly blockquotes are kinda rough with the default css -- especially nested blockquotes
#
trwnh
tumblr does nested blockquotes and it's pretty rough in rss readers
ben_thatmustbeme, ben_thatmust and ben_thatmust_ joined the channel
#
dansup
trwnh: I can't imagine ever supporting those in captions/comments on pixelfed due to lack of space. It makes sense for some projects, others it doesn't
#
dansup
rich text I mean
#
heluecht[m]
dansup (IRC): that's why I'm making my thoughts how to transmit both minimal and rich HTML at the same time.
#
heluecht[m]
I just had a look at "contentMap". It would be in some way ugly, using this. But the question is, if it is ugly in an acceptable way.
xmpp-social joined the channel
#
heluecht[m]
I would do it now like this: `"content":"Ich wei&szlig; gar nicht, wieso sich der linke LKW-Fahrer beschwert, die ganzen anderen Lieferfahrzeuge haben doch die Parkerlaubnistaste gedr&uuml;ckt.","contentMap":{"text\/html":"Ich wei&szlig; gar nicht, wieso sich der linke LKW-Fahrer beschwert, die ganzen anderen Lieferfahrzeuge haben doch die Parkerlaubnistaste gedr&uuml;ckt.<br><br><a
#
heluecht[m]
href=\"https:\/\/pirati.ca\/photos\/heluecht\/image\/46740884085dc138b438ed9188509904\"><img src=\"https:\/\/pirati.ca\/photo\/46740884085dc138b438ed9188509904-1.jpg\" alt=\"Mehrere Lieferfahrzeuge im Halteverbot\" title=\"Mehrere Lieferfahrzeuge im Halteverbot\"><\/a>","text\/markdown":"Ich wei\u00df gar nicht, wieso sich der linke LKW-Fahrer beschwert, die ganzen anderen Lieferfahrzeuge haben doch die Parkerlaubnistaste gedr\u00fcckt.\n\n[![Mehrere
#
heluecht[m]
Lieferfahrzeuge im Halteverbot](https:\/\/pirati.ca\/photo\/46740884085dc138b438ed9188509904-1.jpg \"Mehrere Lieferfahrzeuge im Halteverbot\")](https:\/\/pirati.ca\/photos\/heluecht\/image\/46740884085dc138b438ed9188509904)"}`
sl007 joined the channel
#
trwnh
you could technically do that, sure... but it's quite unnecessary since it just duplicates info
_xmpp-social and puck joined the channel
#
heluecht[m]
trwnh (IRC): It doesn't duplicate the information. With this we can transmit both rich and and limited HTML.
#
trwnh
in any case putting mediaType in contentMap (instead of lang) is probably ok but i'm not sure of the value of transmitting multiple source formats
#
heluecht[m]
Friendica - for example - does support embedded pictures. System like Socialhome do support this as well. And Socialhome has got Markdown as source format. So they could take this directly.
#
jaywink[m]
Socialhome extracts embedded images on sending to get them show up on other platforms. To recognize this cross-SH instances, I'm using a property: https://docs.jasonrobinson.me/ns/python-federation - otherwise since we use the source markdown, they would be embedded twice.
#
jaywink[m]
but yeah using markdown sent by friendica would be great too since it would then mean the images are where the author embedded them into, not at the end where socialhome adds "attachments"
#
jaywink[m]
(I have no idea if that namespace doc is correctly written lol)
#
melody
i think transmitting multiple source formats can make a lot of sense, there are cases where translation is lossless or nearly lossless, or where you can make it lossless by generating the source formats from an internal document model that you know how to express in other formats you support, and doing that allows recipient servers to find the best-matching content type for display
#
melody
the biggest legitimate problem with it is lossy translations which are sometimes inevitable or can arise when people use formatting in an unexpected way, and the explosion of combinations with languages if you support translations as well
#
melody
and i think the latter is a bigger deal, since you can't control rendering on the other end anyway and systems will inevitably cannibalize the HTML that's not really any worse than the status quo and could be conditionally better