#social 2019-11-13

2019-11-13 UTC
sl007 joined the channel
#
trwnh
i'm guessing this would end up like multipart emails where you can get text/plain or text/html...
#
trwnh
but then how do you parse that in combination with languages (which is kind of the "intended" usage...)
#
trwnh
would you have text/html/zh-Hans? how exactly does mediaType interact with contentMap?
#
heluecht[m]
trwnh (IRC): I guess I would do it with a different separator, possible like this: "de-DE; text/html"
#
heluecht[m]
This is not perfect, but the best I can think about.
jacky, sl007 and BitBot joined the channel
#
melody
i was more defending the concept in general, i'm not sure i would actually use contentMap for this
sl007 and cwebber2 joined the channel
#
cwebber2
are we doing a socialcg call in 30mins?
#
cwebber2
nearly forgot :(
sl007 joined the channel
#
cwebber2
we could bump the meeting to Saturday instead
#
cwebber2
not hearing a reply, I am going to assume that people probably aren't prepared for this meeting
#
cwebber2
I am making my spouse wait on leaving for or delaying errands as I check interest ;P
#
cwebber2
if there is interest in a saturday meeting then, would love to hear it
#
melody
i was prepared but not paying attention to irc, but if nobody else is coming theres not much point
#
melody
i could do saturday if that's better
#
melody
i don't prefer the saturday timeslot but i can make myself available
#
nightpool[m]
I, of course, cannot make Wednesday meetings and would prefer the Saturday timeslot
#
jesopo
I'm happy either way
tantek joined the channel
#
fr33domlover
kaniini o/ I'd loveto hear your opinion on this https://talk.feneas.org/t/property-for-titles/183 everyone else too, related to issue titles and I assume everyone here uses forges and opens issues somewhere :)
#
fr33domlover
things 'name' is so much easier but would break the moment someone wants markup/markdown in user entered titles
#
fr33domlover
*thinks
#
tantek
a lot of thought went into the name / summary / content split and design so happy to help answer questions about that
#
tantek
you can technically have markup in the general schema for 'name' or any property, e.g. in microformats2, you could specify e-name which would parse the entire HTML of the element and children
#
heluecht[m]
melody (IRC): In fact I just implemented the contentMap to the develop branch of Friendica :-)
#
melody
it's just that contentMap is very explicitly defined as being for natural language translations, i'm not sure it's a great idea to use it for content types and i feel iffy about breaking a standard for internationalization for these purposes
sl007 and benaiah joined the channel
#
heluecht[m]
I do share your concerns, but I haven't found a better solution by now. But as fast as it is implemented, it can possibly be removed again, when it will make problems.
#
heluecht[m]
It's in the development branch. We are planning a release for December. So there is much testing time now. And in fact I realized that Pleroma does read the content from the contentMap prior to the content. I'm unsure by now if they do fetch the content for "text/html" or if this is just by accident.
#
heluecht[m]
Just some other question: I'm currently thinking about adding "attachment" data for links that are part of the message, containing additional data like a preview picture and some more.
#
heluecht[m]
I'm only unsure if this is the correct format, especially concerning the preview picture:
#
heluecht[m]
`"attachment":[{"type":"Link","mediaType":"text\/html","href":"https:\/\/www.youtube.com\/watch?v=UN8bJb8biZU","name":"SLAPP Suits: Last Week Tonight with John Oliver (HBO)","preview":{"type":"Image","url":"https:\/\/i.ytimg.com\/vi\/UN8bJb8biZU\/maxresdefault.jpg","name":"After winning a legal battle involving a coal executive and a giant squirrel, John Oliver explains how SLAPP suits are designed to stifle public dissent. Con..."}}]`
#
heluecht[m]
Does every "image" type needs to have a "mediaType" or is this okay as well?
#
heluecht[m]
I'm slightly confused when to use "href" and when to use "url".
#
heluecht[m]
What I want to do is to add the following information to the link: title, summary, preview picture. Question is, how this can be done.
includeals, tenma and biodan joined the channel