From d8e16a226a570a7d262bdeb067273ce35b03cc7c Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 17 Jun 2023 17:49:11 +0200 Subject: [chore/bugfix] Refactor `ap/extract.go` functions, return URIs more reliably (#1897) --- internal/ap/activitystreams.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'internal/ap/activitystreams.go') diff --git a/internal/ap/activitystreams.go b/internal/ap/activitystreams.go index a434a6a07..e8a362800 100644 --- a/internal/ap/activitystreams.go +++ b/internal/ap/activitystreams.go @@ -69,4 +69,11 @@ const ( ObjectCollection = "Collection" // ActivityStreamsCollection https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collection ObjectCollectionPage = "CollectionPage" // ActivityStreamsCollectionPage https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collectionpage ObjectOrderedCollection = "OrderedCollection" // ActivityStreamsOrderedCollection https://www.w3.org/TR/activitystreams-vocabulary/#dfn-orderedcollection + + // Hashtag is not in the AS spec per se, but it tends to get used + // as though 'Hashtag' is a named type under the Tag property. + // + // See https://www.w3.org/TR/activitystreams-vocabulary/#microsyntaxes + // and https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tag + TagHashtag = "Hashtag" ) -- cgit v1.2.3