@Edent @evan neither approach solves the interpreting values question which still needs to happen in code and convention / the long-really-long version is here – https://www.aaronland.info/weblog/2010/04/14/structure/#mw2010
-
@Edent @evan neither approach solves the interpreting values question which still needs to happen in code and convention / the long-really-long version is here – https://www.aaronland.info/weblog/2010/04/14/structure/#mw2010
-
Evan Prodromoureplied to thisisaaronland last edited by
@thisisaaronland @Edent one nice thing is that we already have a big-ass social vocabulary defined for AS2.
So we could pick a prefix like ap: and just use properties like ap:type=Event (override the content type) and ap:startTime=2024-09-15T09:00:00Z and there we go.
Users of platforms that implement the ActivityPub API can post extensible activities directly. Those using more constrained APIs can fall back to machine tags.
-
Evan Prodromoureplied to Evan Prodromou last edited by
@thisisaaronland @Edent for geotagging specifically, it would be nice to use Curies for the values so you could use different place vocabularies.
So, here, I'm showing my location using a Wikidata item.
ap:location=wd:Q3304955
And here I'm using an OpenStreetMap relation:
ap:location=osm:7950480
However, I'm not sure the value parts of machine tags are allowed to be that rich.
-
Evan Prodromoureplied to thisisaaronland last edited by
@thisisaaronland @Edent ha! You've got a @tomcoates slide! Every presentation should have one.
-
thisisaaronlandreplied to Evan Prodromou last edited by
-
Evan Prodromoureplied to thisisaaronland last edited by
@thisisaaronland @Edent tight.
Another question: since they both match the pattern something:other=third how can I tell that the first example is an URL and the second example is a machine tag?
(1) https://google.com/search?q=machine+tag
(2) dc:topic="machine tags"I think the first is not a machine tag because of the "/" and "?" and "." characters. I think it's probably a good rule of thumb to avoid the most common URL protocols (http, https, ftp, ...) as a namespace.
-
Evan Prodromoureplied to Evan Prodromou last edited by
@thisisaaronland @Edent Finally, did you ever discuss machine tags x hashtags with @chrismessina ?
In particular, for machine tags inline in the text, should we use a hash character prefix, or not?
#ns:pred=val
OR
ns:pred=val
I think the second one is preferable. The first one won't match most (?) hashtag identification regexes, with the punctuation in the middle. And I think the machine tag syntax is distinct enough that it can be matched on its own.
Downside? People are used to hashtags.