diff --git a/includes/functions.php b/includes/functions.php index 3143eee..9dc133c 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -14,7 +14,18 @@ function get_context() { 'manuallyApprovesFollowers' => 'as:manuallyApprovesFollowers', 'PropertyValue' => 'schema:PropertyValue', 'schema' => 'http://schema.org#', + 'pt' => 'https://joinpeertube.org/ns#', + 'toot' => 'http://joinmastodon.org/ns#', 'value' => 'schema:value', + 'Hashtag' => 'as:Hashtag', + 'featured' => array( + '@id' => 'toot:featured', + '@type' => '@id' + ), + 'featuredTags' => array( + '@id' => 'toot:featuredTags', + '@type' => '@id' + ), ), );