Signifying an audience in an object (PieFed/Lemmy)
-
Hi @andrew_s@piefed.social/@freamon and @nutomic@lemmy.ml —I'm working (not-so-secretly) on refactoring NodeBB so that it is able to "browse" remote audiences/group actors, and that would include things like PieFed and Lemmy communities.
N.B. Given varied nomenclature (group/category/community/subforum), the ForumWG calls this structure an "audience".
Where I am at now is working through the logic for slotting an object into a category.
The most obvious choice here would be to look at
as:audience
. It's even specified in 1b12, and the majority of threaded implementations follow 1b12.I am making this post because nutomic explicitly removed the
audience
from being served in Lemmy (as of January this year), so I don't think relying on that property would be wise.I asked in that issue whether Lemmy finds community via
to/cc
(it does). Does PieFed do the same?Would this also open up the possibility of a topic/context being part of multiple audiences/communities? Interesting...
-
@julian@community.nodebb.org Interesting, I though that the
audience
field was the way it should be done andto
/cc
fields were just for backwards compat :D -
@julian@community.nodebb.org Mbin uses all 3 fields for what its worth :D
-
@bentigorlich@gehirneimer.de ah that's good to know.
Perhaps the solution is to use
audience
if explicitly defined, then fall back toto
/cc
otherwise. -
@julian@community.nodebb.org right now we just collect all links in these 3 fields and select the first magazine/community/group from the db having this url as their public url
-
@bentigorlich@gehirneimer.de okay
Apologies for not mentioning you up top. I did not know you were the maintainer for mbin, but now I do!