I'm looking for your opinions from the developers of the fediverse.
-
I'm looking for your opinions from the developers of the fediverse.
A common HTML web page can contain related links via the
<link>
tag. I would like to do the same for Activity Streams objects, for example:{ "@context": "https://www.w3.org/ns/activitystreams", "id": "https://writings.hongminhee.org/ap/2024/12/a-year-with-the-fediverse.json", "type": "Article", "name": "A year with the fediverse", "content": "2024 was truly a year where I was deeply immersed in the fediverse. …", "url": "https://writings.hongminhee.org/2024/12/a-year-with-the-fediverse/", "attachment": [ { "type": "Link", "rel": "alternate", "hreflang": "ko", "href": "https://writings.hongminhee.org/2024/12/a-year-with-the-fediverse/index.ko-hang-kr.html", "mediaType": "text/html" }, { "type": "Link", "rel": "alternate", "hreflang": "ja", "href": "https://writings.hongminhee.org/2024/12/a-year-with-the-fediverse/index.ja.html", "mediaType": "text/html" } ] }
Do you think this makes sense, and would it be appropriate to put
Link
objects in theattachment
?#fedidev #ActivityPub #ActivityStreams
-
Evan Prodromoureplied to 洪 民憙 (Hong Minhee) last edited by
@hongminhee we've got a task force working on this! Draft here.
-
@[email protected] seems different for @[email protected]'s use case?
For an AS2 Object to refer to an html variant,
url
is sufficient, but for different languages is a whole 'nother ball game... -
@julian @hongminhee it's a really long document!
-
@julian @hongminhee anyway, in this case, with alternate, it should be multiple values in `url`.
-
...and use `hreflang` to differentiate the language versions.
-
@[email protected] cool! TIL, although I don't think it's applicable for me.