From 5ab1167d38449ccef84c8f2e06da3598e286060e Mon Sep 17 00:00:00 2001 From: Max Nuding Date: Fri, 14 Apr 2023 20:04:46 +0200 Subject: [PATCH] Fix #9: Add WebSub support --- .env.EXAMPLE | 1 + src/app.html | 1 + src/lib/server/rss.ts | 19 ++++++++++++++++++- 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/.env.EXAMPLE b/.env.EXAMPLE index f833e39..d792037 100644 --- a/.env.EXAMPLE +++ b/.env.EXAMPLE @@ -6,6 +6,7 @@ MASTODON_INSTANCE = 'metalhead.club' BASE_URL = 'https://moshingmammut.phlaym.net' VERBOSE = false IGNORE_USERS = @moshhead@metalhead.club +WEBSUB_HUB = 'http://pubsubhubbub.superfeedr.com' PUBLIC_REFRESH_INTERVAL = 10000 PUBLIC_MASTODON_INSTANCE_DISPLAY_NAME = 'Metalhead.club' \ No newline at end of file diff --git a/src/app.html b/src/app.html index e9115b2..7c2e126 100644 --- a/src/app.html +++ b/src/app.html @@ -15,6 +15,7 @@ + %sveltekit.head%