mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:50:11 +00:00
Improved parsing of AP profiles
This commit is contained in:
parent
72a7671010
commit
5c13ecdf6e
2 changed files with 40 additions and 17 deletions
|
@ -88,7 +88,7 @@ class JsonLD
|
|||
'ostatus' => (object)['@id' => 'http://ostatus.org#', '@type' => '@id'],
|
||||
'diaspora' => (object)['@id' => 'https://diasporafoundation.org/ns/', '@type' => '@id'],
|
||||
'dc' => (object)['@id' => 'http://purl.org/dc/terms/', '@type' => '@id'],
|
||||
'uuid' => (object)['@id' => 'http://schema.org/identifier', '@type' => '@id']];
|
||||
'ldp' => (object)['@id' => 'http://www.w3.org/ns/ldp#', '@type' => '@id']];
|
||||
|
||||
$jsonobj = json_decode(json_encode($json, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue