From 3dd88fd176fe50592b316686ea24b097d13e9044 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Tue, 12 Jan 2021 12:45:17 +0100 Subject: [PATCH] prepare `context` for coming features --- includes/functions.php | 11 +++++++++++ 1 file changed, 11 insertions(+) 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' + ), ), );