X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FJsonLD.php;h=78d81816e25b1747c0f749e9488470bdcdfb6727;hb=4894e89f036be1f8a82523ac69d56ae36e7685df;hp=bed7a67d60a01eeccf58bc6a312f6f363541f4b6;hpb=bd972151478f40f73585519110700222a1931d44;p=friendica.git diff --git a/src/Util/JsonLD.php b/src/Util/JsonLD.php index bed7a67d60..78d81816e2 100644 --- a/src/Util/JsonLD.php +++ b/src/Util/JsonLD.php @@ -90,7 +90,8 @@ class JsonLD 'dfrn' => (object)['@id' => 'http://purl.org/macgirvin/dfrn/1.0/', '@type' => '@id'], 'diaspora' => (object)['@id' => 'https://diasporafoundation.org/ns/', '@type' => '@id'], 'ostatus' => (object)['@id' => 'http://ostatus.org#', '@type' => '@id'], - 'dc' => (object)['@id' => 'http://purl.org/dc/terms/', '@type' => '@id']]; + 'dc' => (object)['@id' => 'http://purl.org/dc/terms/', '@type' => '@id'], + 'toot' => (object)['@id' => 'http://joinmastodon.org/ns#', '@type' => '@id']]; $jsonobj = json_decode(json_encode($json, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE));