johnHackworth / goblin

GNU Affero General Public License v3.0
50 stars 4 forks source link

Tags #10

Open skysdottir opened 11 months ago

skysdottir commented 11 months ago

Todo from tumblr: Add tumblr-style tag system

krc commented 11 months ago

We now have a very flexible tag entering system, thanks @johnHackworth ! Some important questions IMO:

Personally I am inclined to like the idea of displaying in the footer, and putting them only in the JSON tags section, when typed in the tag entry box. When entered inline in the body I supposed do the current thing of putting it in the tags section and also leaving it in the content section as-is.

However, other instances won't be able to see them that way I guess. But if the tag search stuff is implemented reasonably well in other servers, I guess they still would show up in tag searches. Would be good to do some testing on that.

I supposed might confuse people as to why something showed up in the tag, when not visibly tagged to them... but maybe not too big an issue, as long as tagged correctly. If not tagged correctly, like if spamming... well I guess still handle it like any other spam.

(I for one intend to port over the tumblr culture of extensive subject tagging and of 'talking in tags', IMO it makes more sense for other instance types to not see all that than to see it. If they want to see it they can get a Goblin account 😂)

krc commented 11 months ago

Also currently you can write tags all you want but if you don't put a body, they just go poof. Currently mastodon and others treat boosting as a very minimal AP announce activity:

{
"@context":"https://www.w3.org/ns/activitystreams",
"id":"https://activitypub.academy/users/alguslia_kovidroth/statuses/111603397580957651/activity",
"type":"Announce",
"actor":"https://activitypub.academy/users/alguslia_kovidroth",
"published":"2023-12-18T20:51:42Z",
"to":[
"https://www.w3.org/ns/activitystreams#Public"
],
"cc":[
"https://cutie.city/users/val",
"https://activitypub.academy/users/alguslia_kovidroth/followers"
],
"object":"https://cutie.city/users/val/statuses/111562820836072570"
}

However nothing about the AS 2.0 or AP spec says that you can't include tag on an announce activity. And the announce activity references the original post by URL, it isn't like you are altering the original or claiming it as your own. You would just be saying these tags go with this announcement of that post.

If Goblin is picking up AP tags and displaying them anyway for regular note types (original posts), it can just as well pick up ones on announce. Other clients wouldn't see them, but that's fine.

Screenshot 2023-12-18 at 12-52-05 ActivityPub Academy