diff options
author | pdp8 <pdp8@pdp8.info> | 2023-07-19 14:45:07 +0200 |
---|---|---|
committer | pdp8 <pdp8@pdp8.info> | 2023-07-19 14:45:07 +0200 |
commit | edf5c00313b42308271fdad84a003b78a9483fc8 (patch) | |
tree | f4ee567fdecbe293c157cd7601d060aff0994833 /activitypub.rb | |
parent | bd7e17e927824461c1af167fae292906b6212894 (diff) |
tags and mentions
Diffstat (limited to 'activitypub.rb')
-rw-r--r-- | activitypub.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/activitypub.rb b/activitypub.rb index 7416cca..5148a27 100644 --- a/activitypub.rb +++ b/activitypub.rb @@ -9,13 +9,14 @@ SOCIAL_DIR = '/srv/social/' PUBLIC_DIR = File.join(SOCIAL_DIR, 'public') PRIVATE_DIR = File.join(SOCIAL_DIR, 'private') OUTBOX_DIR = File.join(PUBLIC_DIR, 'outbox') +TAGS_DIR = File.join(PUBLIC_DIR, 'tags') INBOX = File.join(PRIVATE_DIR, 'inbox.json') FOLLOWERS = File.join(PUBLIC_DIR, 'followers.json') FOLLOWING = File.join(PUBLIC_DIR, 'following.json') OUTBOX = File.join(PUBLIC_DIR, 'outbox.json') SHARED = File.join(PUBLIC_DIR, 'shared.json') -VISITED = File.join(PRIVATE_DIR, 'visited') +# VISITED = File.join(PRIVATE_DIR, 'visited') USER = 'pdp8' SOCIAL_DOMAIN = 'social.pdp8.info' @@ -25,6 +26,7 @@ WEBFINGER = File.join(PUBLIC_DIR, MENTION + '.json') SOCIAL_URL = "https://#{SOCIAL_DOMAIN}" ACTOR = File.join(SOCIAL_URL, USER) OUTBOX_URL = File.join(SOCIAL_URL, 'outbox') +TAGS_URL = File.join(SOCIAL_URL, 'tags') CONTENT_TYPE = 'application/activity+json' # CONTENT_TYPE = 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"' |