Open sebilasse opened 3 years ago
(See also Using ActivityPub for Podcast Comments on SocialHub where this is discussed) and #4 (because you're invited to join).
Hey @sebilasse,
I didn't know that the type
property could be an array, is it something that other activitypub implementations can parse? Won't they expect a string?
Is there a reason on why the attachment property is an array? Or, maybe I'm not understanding it correctly, I guess there could be more than one attachment (as you mentioned, captions and chapters could maybe go there).
Also, just a thought: podcasting comes with its own vocabulary, so there needs to be great care into naming as there could be trade-offs on both sides.
I didn't know that the
type
property could be an array, is it something that other activitypub implementations can parse? Won't they expect a string?Is there a reason on why the attachment property is an array?
In ActivityPub anything (which is not marked as Functional
in the spec. ) is an Array …
“Properties marked as being "Functional" can have only one value. Items not marked as "Functional" can have multiple values.” https://www.w3.org/TR/activitystreams-vocabulary/#h-properties
I didn't know that the type property could be an array, is it something that other activitypub implementations can parse? Won't they expect a string?
You can see an example of this in Example 8 of ActivityStreams Core spec. You are correct about possibility that other impls cannot parse this. In this case it is those impls that are not spec-compliant, so technically a bug on their end. I think spec compliance means they should take the first type specified in the array, which is in the activitystreams namespace, and ignore the other types they don't understand.
If you define an entire new actor type, like Podcast
, then you are more flexible to create its definition as you want to set it up, and I'd encourage spec compliance in that. But it definitely needs some proper investigation before doing so.
Hello there,
just wanted to mention the
attachment
property in ActivityPub. This is handled by many generic AP Servers while the description- and audio-property needs active work for other fediverse implementations to support Castopod etc. While I did also ask myself why there is and “image” property but no “audio” or “video” in the Vocab.So, I'd propose two changes,
And I think it is a nice move to support VTT like caption, transcript, chapters. We could handle them as attachment too with Mime
text/vtt
and the kind, maybe conformant to WebVTT with thesekind
sPlease note also that instead of “explicit” the
as:sensitive
convention / proposed extension exists which others use.Would love to get your thoughts, in any case, it would be good if projects like Castopod use it to document it in the federation.md document - the best way would be to create a Fediverse Enhancement Proposal for Podcasts …
See also https://socialhub.activitypub.rocks/t/seeking-opinions-on-time-based-content/1566
This is just a proposal …