From ce173bbb74ac4abae4c408b32e862a35920db78d Mon Sep 17 00:00:00 2001 From: Melody Date: Fri, 30 Aug 2024 13:48:13 +0200 Subject: [PATCH] And new keys --- constants.go | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/constants.go b/constants.go index 4a1b391..575a3f6 100644 --- a/constants.go +++ b/constants.go @@ -56,6 +56,8 @@ const ( KEY_ACTIVITYSTREAMS_TO = "https://www.w3.org/ns/activitystreams#to" // Urls to send an activity to KEY_ACTIVITYSTREAMS_URL = "https://www.w3.org/ns/activitystreams#url" // Some url KEY_ACTIVITYSTREAMS_UPDATED = "https://www.w3.org/ns/activitystreams#updated" // When the content was last updated + KEY_ACTIVITYSTREAMS_INREPLYTO = "https://www.w3.org/ns/activitystreams#inReplyTo" // What the object is replying to + KEY_ACTIVITYSTREAMS_QUOTEURL = "https://www.w3.org/ns/activitystreams#quoteUrl" // Url to the object being quoted // Object types (I think) // Those are values the object type can have @@ -93,9 +95,11 @@ const ( const ( KEY_MISSKEY_MKSUMMARY = "https://misskey-hub.net/ns#_misskey_summary" // Misskey specific formatted summary KEY_MISSKEY_ISCAT = "https://misskey-hub.net/ns#isCat" // Does the account identify as cat? + KEY_MISSKEY_MKQUOTE = "https://misskey-hub.net/ns#_misskey_quote" // Misskey specific quote field KEY_FIREFISH_SPEAKASCAT = "https://joinfirefish.org/ns#speakAsCat" // Does the account speak like a cat? ) +// No idea what either of those two do or are used for const ( KEY_LITEPUB_CAPABILITIES = "http://litepub.social/ns#capabilities" KEY_LITEPUB_OAUTHREGISTRATION = "http://litepub.social/ns#oauthRegistrationEndpoint" @@ -107,8 +111,9 @@ const ( // NOTE: ostatus.org seems to be redirecting to some weird scam(?) page const ( - KEY_OSTATUS_ATOMURI = "http://ostatus.org#atomUri" - KEY_OSTATUS_CONVERSATION = "http://ostatus.org#conversation" + KEY_OSTATUS_ATOMURI = "http://ostatus.org#atomUri" // Same as @id I think + KEY_OSTATUS_CONVERSATION = "http://ostatus.org#conversation" // Similar to inReplyTo + KEY_OSTATUS_INREPLYTOATOMURI = "http://ostatus.org#inReplyToAtomUri" // Same as InReplyTo, but with an atom uri as target ) const ( @@ -116,3 +121,7 @@ const ( KEY_MYSTERIOUS_BACKGROUNDURL = "_:backgroundUrl" KEY_MYSTERIOUS_FEATURED = "_:featured" ) + +const ( + KEY_FEDIBIRD_QUOTEURI = "http://fedibird.com/ns#quoteUri" +)