ocamlot
ocamlot copied to clipboard
Contents of OrderedCollection should be a list of objects
Example courtesy of Adam Sjøgren via email:
Response from ocamlot from outbox:
"orderedItems": [
{
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1"
],
"actor": "https://ocamlot.xyz/users/gopiandcode",
"attachment": [
{
"mediaType": "image/gif",
"name": "",
"type": "Document",
"url": "https://ocamlot.xyz/images/91eb9074-e08f-4deb-8588-be4b1c78e52d.gif"
}
],
"cc": [],
"content": "Got the skeleton of an interaction system now working. As it turns out, sets in Rhombus are not the same as sets in Racket --- if you try to pass a Rhombus set to in-set, then you'll get a runtime crash. Ouch. Oh well, more hacks I guess.",
"id": "https://ocamlot.xyz/activity/0f5de023-20f3-4319-b990-b5ab5d1ff54c",
"published": "2023-05-07T15:08:13Z",
"sensitive": false,
"source": "Got the skeleton of an interaction system now working. As it turns out, sets in Rhombus are not the same as sets in Racket --- if you try to pass a Rhombus set to in-set, then you'll get a runtime crash. Ouch. Oh well, more hacks I guess.",
"tags": [],
"to": [],
"type": "Note"
},
whereas from pleroma:
"orderedItems": [
{
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://magnetic-ink.dk/schemas/litepub-0.1.jsonld",
{
"@language": "und"
}
],
"actor": "https://magnetic-ink.dk/users/kas",
"cc": [
"https://www.w3.org/ns/activitystreams#Public"
],
"context": "https://magnetic-ink.dk/contexts/f021ce62-c5dd-4e79-8364-9ad19b45dc7d",
"context_id": 35038,
"directMessage": false,
"id": "https://magnetic-ink.dk/activities/80818498-e244-4d45-a1c2-52363618845e",
"object": {
"actor": "https://magnetic-ink.dk/users/kas",
"attachment": [],
"attributedTo": "https://magnetic-ink.dk/users/kas",
"cc": [
"https://www.w3.org/ns/activitystreams#Public"
],
"content": "<span class=\"h-card\"><a class=\"u-url mention\" data-user=\"ATFK2cCxqACxzbo0wK\" href=\"https://mastodon.social/@selmins\" rel=\"ugc\">@<span>selmins</span></a></span> I don't think there is any community here in <a class=\"hashtag\" data-tag=\"denmark\" href=\"https://magnetic-ink.dk/tag/denmark\" rel=\"tag ugc\">#Denmark</a> either. Perhaps I can spend the accumulated <a class=\"hashtag\" data-tag=\"circlesubi\" href=\"https://magnetic-ink.dk/tag/circlesubi\" rel=\"tag ugc\">#circlesUBI</a> at the online market, it's been a while since I looked into it.",
"context": "https://magnetic-ink.dk/contexts/f021ce62-c5dd-4e79-8364-9ad19b45dc7d",
"conversation": "https://magnetic-ink.dk/contexts/f021ce62-c5dd-4e79-8364-9ad19b45dc7d",
"id": "https://magnetic-ink.dk/objects/eb897a1c-861c-4c41-b7fc-3254ca59916c",
"inReplyTo": "https://mastodon.social/users/selmins/statuses/110328079126407821",
"published": "2023-05-07T15:47:48.228058Z",
"sensitive": null,
"source": "@[email protected] I don't think there is any community here in #Denmark either. Perhaps I can spend the accumulated #circlesUBI at the online market, it's been a while since I looked into it.",
"summary": "",
"tag": [
{
"href": "https://magnetic-ink.dk/tags/denmark",
"name": "#denmark",
"type": "Hashtag"
},
{
"href": "https://magnetic-ink.dk/tags/circlesubi",
"name": "#circlesubi",
"type": "Hashtag"
},
{
"href": "https://mastodon.social/users/selmins",
"name": "@[email protected]",
"type": "Mention"
}
],
"to": [
"https://mastodon.social/users/selmins",
"https://magnetic-ink.dk/users/kas/followers"
],
"type": "Note"
},
"published": "2023-05-07T15:47:48.227965Z",
"to": [
"https://mastodon.social/users/selmins",
"https://magnetic-ink.dk/users/kas/followers"
],
"type": "Create"
},