Thanks for the comment.
-
Thanks for the comment. It's something one needs to investigate / think about. Now some thoughts:
As usual it is too much to ask from W3C ActivityPub to provide a single way to do stuff.
After a bit of research: Nodebb and Sharkey currently use a
<link rel="alternate" type="application/activity+json"in their head to link to the ActivityPub representation. I personally also like it because it's easier to parse, read, write.I'm deploying a new cattle_grid version right now to see what content-type is actually used.
See also issue#60.
-
Thanks for the comment. It's something one needs to investigate / think about. Now some thoughts:
As usual it is too much to ask from W3C ActivityPub to provide a single way to do stuff.
After a bit of research: Nodebb and Sharkey currently use a
<link rel="alternate" type="application/activity+json"in their head to link to the ActivityPub representation. I personally also like it because it's easier to parse, read, write.I'm deploying a new cattle_grid version right now to see what content-type is actually used.
See also issue#60.
@helge ActivityPub requires
application/ld+json; profile="https://www.w3.org/ns/activitystreams"https://www.w3.org/TR/activitypub/#retrieving-objects
The shorter form
application/activity+jsonis nicer, but media type is one of the things about which specification is not ambiguous, so I always use the required one.application/activity+jsonis (or was) used by Mastodon, so of course everyone copy-pasted it into their projects. -
@helge ActivityPub requires
application/ld+json; profile="https://www.w3.org/ns/activitystreams"https://www.w3.org/TR/activitypub/#retrieving-objects
The shorter form
application/activity+jsonis nicer, but media type is one of the things about which specification is not ambiguous, so I always use the required one.application/activity+jsonis (or was) used by Mastodon, so of course everyone copy-pasted it into their projects.
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi