From 272c76d3725f6392032214e9ef7dd6eadd2bac95 Mon Sep 17 00:00:00 2001
From: Falk Rehse <falk.rehse@tu-dortmund.de>
Date: Fri, 30 Aug 2024 19:34:40 +0000
Subject: [PATCH] Konfiguration aktualisiert

Mit aktuell genutzter Konfiguration abgeglichen
---
 base-config.yaml | 192 ++++++++---------------------------------------
 1 file changed, 33 insertions(+), 159 deletions(-)

diff --git a/base-config.yaml b/base-config.yaml
index 33417a1..b318749 100644
--- a/base-config.yaml
+++ b/base-config.yaml
@@ -1,168 +1,42 @@
 # Feed update interval in minutes
 update_interval: 60
+# Maximum backoff in minutes when failing to fetch feeds (defaults to 5 days)
+max_backoff: 1440
 # The time to sleep between send requests when broadcasting a new feed entry.
 # Set to 0 to disable sleep or -1 to run all requests asynchronously at once.
-spam_sleep: 0
+spam_sleep: 5
 # The prefix for all commands
 # It has to be prefixed with ! in matrix to be recognised
-command_prefix: "rss"
+command_prefix: rss
+# Default post notification template for new subscriptions
+notification_template: '**[$title]($link)**  </br>  $content'
 # Users who can bypass room permission checks
 admins:
-- "@maubot:fachschaften.org"
-# standard message template for all subscriptions
-notification_template: "**[$title]($link)**  </br>  $content  </br>  Feed abonnieren: $feed_url"
-# global standard-subscriptions that get silently added at startup
-# usage:
-#subscriptions:
-#  '!roomID:example.com':
-#     'Rss-Feed-url':
-#       notice: bool #(optional) send message as notice, default is true
+- '@maubot:fachschaften.org'
 subscriptions:
-  '!xiNiVUkEkkOuNpeXJE:fachschaften.org':
-   #tudo-fsinfo-news:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/posts/index.xml':
-        notice: False
-  '!yekRnyRAGBSrVuavyN:fachschaften.org':
-  #tudo-cs-czi:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal-groups/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig-groups/index.xml':
-        notice: False
-  '!EmUZduNHCJMRqHrTmQ:fachschaften.org':
-  #tudo-fsinfo-ernst:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig-groups/index.xml':
-        notice: False
-  '!jlVjEjWrSxZDgzIFNG:kif.rocks':
-  #tudo-cs:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal-groups/index.xml':
-        notice: False
-  '!UgTGSyWXPrYTUsTFxQ:fachschaften.org':
-  #tudo-cs-op-ws16-ernst:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig-groups/index.xml':
-        notice: False
-  '!aAwcfYWhsCuPgoeKNH:fachschaften.org':
-  #tudo-cs-op-ws16:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal-groups/index.xml':
-        notice: False
-  '!KDFMJQPAOUBuiCdTDT:fachschaften.org':
-  #tudo-cs-op-ss17-ernst:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig-groups/index.xml':
-        notice: False
-  '!aDWMPuYMtCgLcwJNGe:fachschaften.org':
-  #tudo-cs-op-ss17:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal-groups/index.xml':
-        notice: False
-  '!kWJpKOGpWhliCZzDIs:fachschaften.org':
-  #tudo-cs-op-ws17-ernst:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig-groups/index.xml':
-        notice: False
-  '!iJikBrQEKBrKaYAKoW:fachschaften.org':
-  #tudo-cs-op-ws17:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal-groups/index.xml':
-        notice: False
-  '!IYFSxqNONOtKQkKiML:fachschaften.org':
-  #tudo-cs-op-ss18-ernst:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig-groups/index.xml':
-        notice: False
-  '!dTELkETjoqjhlEndFY:fachschaften.org':
-  #tudo-cs-op-ss18:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal-groups/index.xml':
-        notice: False
-  '!cXRoqhFRaOJpHXXNIT:fachschaften.org':
-  #tudo-cs-op-ws18-ernst:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig-groups/index.xml':
-        notice: False
-  '!JTEvRnWEACBRcDTvGL:fachschaften.org':
-  #tudo-cs-op-ws18:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal-groups/index.xml':
-        notice: False
-  '!aWZyBIpmlzeKxdlnIe:fachschaften.org':
-  #tudo-cs-op-ss19-ernst:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig-groups/index.xml':
-        notice: False
-  '!KeETZSGPaSLWTaazZq:fachschaften.org':
-  #tudo-cs-op-ss19:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal-groups/index.xml':
-        notice: False
-  '!vuiArWVMtxWgGpxYdi:fachschaften.org':
-  #tudo-cs-op-ws19-ernst:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig-groups/index.xml':
-        notice: False
-  '!OmsVdbnWtqqsdOMNul:fachschaften.org':
-  #tudo-cs-op-ws19:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal-groups/index.xml':
-        notice: False
-  '!LInspgvDRBOTVgyplZ:fachschaften.org':
-  #seriouspunk:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig-groups/index.xml':
-        notice: False
-  '!EztQmsUQZIkihDfPkB:fachschaften.org':
-  #byberpunk:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal-groups/index.xml':
-        notice: False
-  '!CuKcIvbtqsSJBhzYQd:fachschaften.org':
-  #wise2020-ernst:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig-groups/index.xml':
-        notice: False
-  '!DwlTMYCYwudcCJYdov:fachschaften.org':
-  #wise2020-normal:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal-groups/index.xml':
-        notice: False
-  '!IfqhdZGLhZEjAykFLf:fachschaften.org':
-  #sose2021-normal:fachschaften.org
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/wichtig-groups/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal/index.xml':
-        notice: False
-      'https://tudo-fsinfo.fspages.org/oeffentlichkeit/news/tags/normal-groups/index.xml':
-        notice: False
-  '!jutnTQOvsBIbKjCQal:kif.rocks':
-  ##tudo-corona-faq:kif.rocks
-      'https://tudo-data.fspages.org/tu-dortmund-corona-infos/de.xml':
-        notice: False
\ No newline at end of file
+    '!xiNiVUkEkkOuNpeXJE:fachschaften.org':
+    #tudo-fsinfo-news:fachschaften.org
+        https://news.oh14.de/posts/index.xml:
+            notice: false
+    '!bUCirFxVqEgVplEKIR:fachschaften.org':
+    #tudo-cs-news-chat:fachschaften.org
+        https://news.oh14.de/posts/index.xml:
+            notice: true
+    '!yekRnyRAGBSrVuavyN:fachschaften.org':
+    #tudo-cs-czi:fachschaften.org
+        https://news.oh14.de/tags/normal/index.xml:
+            notice: false
+        https://news.oh14.de/tags/wichtig/index.xml:
+            notice: false
+    '!EmUZduNHCJMRqHrTmQ:fachschaften.org':
+    #tudo-fsinfo-ernst:fachschaften.org
+        https://news.oh14.de/tags/wichtig/index.xml:
+            notice: false
+    '!aAwcfYWhsCuPgoeKNH:fachschaften.org':
+    # #tudo-itmc-meldungen:fachschaften.org
+        https://itmc.tu-dortmund.de/meldungen.xml:
+            notice: false
+    '!MSLYbZpgOvoWxCTfis:fachschaften.org':
+    #latscher.in:fachschaften.org
+        https://latscher.in/rss:
+            notice: false
-- 
GitLab