Hashtag filtering for shouts #42

Open
opened 2022-03-04 10:45:33 +00:00 by decentral1se · 3 comments
Owner

So we don't pull in all the things and instead only focused stuff.

So we don't pull in all the things and instead only focused stuff.
Author
Owner

@r any idea how this works? I think you said at one point the shouts scripts already support this? Do users have to put hashtags into the post content itself or is it hooking into tags of a feed or?

@r any idea how this works? I think you said at one point the shouts scripts already support this? Do users have to put hashtags into the post content itself or is it hooking into tags of a feed or?
Author
Owner

We discussed today that https://lumbung.space/shouts/ is looking a bit broken because of missing images. We could of course invest time in that fix (maybe it is easy?). But also, its a bit overwhelming without the filtering. Less things included also means less things to fix :) So there seems to be more of an urgency to setup the filtering now.

We discussed today that https://lumbung.space/shouts/ is looking a bit broken because of missing images. We could of course invest time in that fix (maybe it is easy?). But also, its a bit overwhelming without the filtering. Less things included also means less things to fix :) So there seems to be more of an urgency to setup the filtering now.
Member

@r any idea how this works? I think you said at one point the shouts scripts already support this? Do users have to put hashtags into the post content itself or is it hooking into tags of a feed or?

Yes, so posts on the remote end need to be tagged/categorized with a particular keyword (perhaps some discussion which, would be good as well).

Have a look at this:
https://git.autonomic.zone/ruangrupa/lumbunglib/src/branch/master/lumbunglib/feed.py#L345

Obviously this is just skeleton code that prints out the prescence of tags, but the gist is there. You skip the post if you don't detect a tag.

> @r any idea how this works? I think you said at one point the shouts scripts already support this? Do users have to put hashtags into the post content itself or is it hooking into tags of a feed or? Yes, so posts on the remote end need to be tagged/categorized with a particular keyword (perhaps some discussion which, would be good as well). Have a look at this: https://git.autonomic.zone/ruangrupa/lumbunglib/src/branch/master/lumbunglib/feed.py#L345 Obviously this is just skeleton code that prints out the prescence of tags, but the gist is there. You skip the post if you don't detect a tag.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ruangrupa/lumbung.space#42
No description provided.