But, somehow Bookwyrm can infer if the request is coming from another Bookwyrm server.
(I'd assume using one or more HTTP request headers in the HTTP request.)
And, when that happens it returns type="Quotation" (instead of type="Note").
...
But, somehow Bookwyrm can infer if the request is coming from another Bookwyrm server.
(I'd assume using one or more HTTP request headers in the HTTP request.)
And, when that happens it returns type="Quotation" (instead of type="Note").
...
Looking at what is returned, it looks like there is a new "quote" field, for the content of the quotation.
And who and what is being cited is in an attachment type="Document".
...
The Bookwyrm developer could do something like this:
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Quotation": "as:Quotation",
"quote": "as:quote"
},
],
For the JSON-LD for the new field.
...
Although, I would have went with this instead:
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Quotation": "as:Quotation",
"citation": "as:citation",
"quotation": "as:quotation"
},
],