I'm still not clear about the discussion we had yesterday.
-
Evan Prodromoureplied to Steve Bate on last edited by
@steve also, you don't have to wait for some imaginary future version. If you want to change ActivityPub, make extensions. It's really easy, and if your extension gets popular, it will get merged into the main AS2 context.
-
Evan Prodromoureplied to Steve Bate on last edited by
@steve it's no longer up to you or me. The AS2 spec was standardized in 2018 and AP in 2019. We have hundreds of implementations, tens of thousands of servers, and tens of millions of user accounts.
-
Evan Prodromoureplied to Evan Prodromou on last edited by
@steve there's no latitude at all to change the primary serialization format for AS2. JSON-LD meets all our needs, anyway.
-
Evan Prodromoureplied to Evan Prodromou on last edited by [email protected]
@steve so, I did a gist that I think represents your original point, namely, that regardless of whether the object is represented as a JSON object or an URL in the `items` property array value of an AS2 `Collection`, the triple generated to represent the relationship of containment is the same. Is that roughly it?
Converting an AS2 collection from JSON-LD to n-quads
Converting an AS2 collection from JSON-LD to n-quads - collection1a.jsonld
Gist (gist.github.com)
-
Evan Prodromoureplied to Evan Prodromou on last edited by [email protected]
@steve I can definitely agree with that, although it gets more complicated with paged collections. For AS2 and AP, this also shows a single note in a collection, but the RDF is not the same.
Paged collection
Paged collection. GitHub Gist: instantly share code, notes, and snippets.
Gist (gist.github.com)
-
Steve Batereplied to Evan Prodromou on last edited by
@evan Yes, that’s essentially it. The AS2 Collection paging is a whole other discussion. The RDF triples are accurately representing what’s in the page-related JSON-LD, but the JSON-LD isn’t literally serializing one item in a Collection. It’s serializing a Collection referencing a CollectionPage (via `first`) that references one item (which is consistent with the RDF triples).
-
Evan Prodromoureplied to Steve Bate on last edited by
@steve the note is contained in the collection in all three examples. That's the abstract model. I agree, the RDF is different.
-
Steve Batereplied to Evan Prodromou on last edited by
@evan Right, the RDF differs because the Collection's JSON-LD serialization is different in the paged serialization. I'd prefer that the Collection representation wouldn't change for paging, but I know that's another aspect of AS2 that will not change. Linked Data Platform (LDP) Paging describes a different way that doesn't couple the Collection and page representations so tightly. IIRC, they use Link headers for page refs and transient objects (in AP terms) for pages. https://dvcs.w3.org/hg/ldpwg/raw-file/default/ldp-paging.html
-
Evan Prodromoureplied to Steve Bate on last edited by
@steve it's neat. I can't remember why we decided not to use LDP collections.
-
naturzukunftreplied to Evan Prodromou on last edited by
-
Evan Prodromoureplied to naturzukunft on last edited by
@naturzukunft @steve if you want one, please contact O'Reilly. We're doing ebook only at first, but they said if there's enough interest they'll do a print book. So please let them know!
-
naturzukunftreplied to Evan Prodromou on last edited by
-
naturzukunftreplied to naturzukunft on last edited by
Question:
Hi there, i would like to order the ActivityPub by Evan Prodromou ISBN: 9781098169466 as print version. Is this possible ?Answer:
Hi Fred,
Thanks for contacting us. Unfortunately, this title has been canceled and can't be ordered. Please let me know if you have any questions.Kind regards,
Paul | Senior Customer Support -
Evan Prodromoureplied to naturzukunft on last edited by
@naturzukunft @steve Wow, what a crazy response!