commit 5a28dae35d06dbf00398e05584e6cf612951cfdb
parent cfaf86dc24b3390a2a58d4c2c1cb9519abca67ef
Author: René Wagner <rwa@clttr.info>
Date: Sun, 5 Mar 2023 16:40:33 +0100
include twtxt.txt feeds in known-feeds page
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/serve/models.py b/serve/models.py
@@ -58,9 +58,12 @@ class GUS:
WHERE last_success_status = 20
AND (p.url LIKE '%atom.xml'
OR p.url LIKE '%feed.xml'
+ OR p.url LIKE '%rss.xml'
OR p.url LIKE '%.rss'
OR p.url LIKE '%.atom'
+ OR p.url LIKE '%twtxt.txt'
OR p.content_type IN ('application/atom+xml', 'application/rss+xml'))
+ ORDER BY p.url
""")
self.feeds = feeds_query.execute()
diff --git a/serve/templates/news.gmi b/serve/templates/news.gmi
@@ -2,6 +2,10 @@
## News
+### 2023-03-04 twtxt
+The "known feeds" page now includes twtxt.txt feeds.
+=> known-feeds check the "Known feeds" page
+
### 2023-02-10
We now provide a list of URIs that are currently excluded from crawl & indexing. This should improve the transparency on what geminispace.info is doing. At the moment there is no reason given as to why a specific exclude is in place. We might add this in the feature.
=> documentation/filters list of excluded URIs