-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a Tag type #235
Comments
Question about details—is this something we need to do with ActivityStreams? Or can we just say that ActivityPub extends ActivityStreams in this way? My understanding is that so far we don't extend AS2 anywhere—AP says "ActivityPub uses [ActivityStreams] for its vocabulary". Are we comfortable with this change? What are the other options? As far as the standardization process goes, what's the best move here? |
ActivityPub already extends ActivityStreams. The |
We're going to wait on James Snell's comments on this to hear why it wasn't in AS2. Also Evan and AJ both say that if we did it, it shouldn't go in ActivityPub because it's not an AP specific extension, it should be an independent extension |
Links to where the use-cases are documented for this? |
Don't have time at the second to pull up notes, but @Gargron said that Mastodon went ahead and added a Tag object. BTW, I think we should get an answer from James on this, but I think this may fall under the "this should be an extension because it's not a requirement for the protocol to work" aspect. |
What would Off the top of my head, if you follow the In my implementation (sloph), tags are Or maybe this is for tags which don't have a URI, only a string, which would be a value for |
Part of the rationale was that Mention has its own type, very specifically for this type of thing, but "Hashtag" type string identifiers doesn't have a type which is weird, and maybe even not helpful for people who are trying to map this to localized types clearly? But I may be forgetting; perhaps @Gargron can refresh our memories on their motivation? |
I have the same questions (confusion?) as @rhiaro I think. But I'm also ok with a "tag-of" type parallel to "mention" (assuming that's pre-existing). For reference, indieweb posts have had this specific response for a while: https://indieweb.org/tag-of which is a type under consideration in Post Type Discovery https://www.w3.org/TR/post-type-discovery/#othertypes (Update: added tantek/post-type-discovery#28) |
I have added type: "Hashtag" to Mastodon because when I'm parsing the "tag" attribute and iterating over the items I'd like to know what the item is. A "Mention" type exists so there should be a "Hashtag" type as well. |
Proposed as an extension to the SocialCG (and we'll be talking about the process for getting things in at the SocialWG this week, and raising it on the SocialCG call). |
I asked @jasnell about this and got the following response:
Let's make it happen! |
To clarify, is the proposal for |
@rhiaro I believe "Tag" would be at least slightly confusing due to the presence of the "tag" property. "tag" containing Mention and Tag vs "tag" containing Mention and Hashtag. In the end, I do not really want to push a specific wording as long as the meaning is the same. Tag, Hashtag, even Category, would all fit the task. |
Hello all! Really quite happy to see progress moving forward on real implementations! I wouldn't get too hung up on the |
i would be 👎 on Hashtag personally, but it's also a pretty weak opinion. the meaning is what matters |
I was leaning towards |
Is there an example somewhere? Or is this about right? {
"@context": "https://www.w3.org/ns/activitystreams",
"id": "https://tags.pub/mozfest",
"name": "#mozfest",
"content": "Mozilla Festival"
} |
Also, how do I get the collection of activities or objects that have a particular hashtag? I don't think it should be 'tagged' ? 'tagged-by'? 'tagged-in'? |
There's a similar problem with finding the collection of activities that have an |
I guess I was going to say do a GET against Regardless the proper conversation for this now is probably this issue. Note that @Gargron and company have implemented tags in Mastodon; maybe speak with them? |
We resolved on the Community Group call today to add a Tag type to the ActivityPub spec. Multiple implementers found it frustrating that there's a specific object type for Mentions, but not for everyday text-style tags.
The text was updated successfully, but these errors were encountered: