From 2dcb6795677c08425d8bdd31fe55ae280c297aa9 Mon Sep 17 00:00:00 2001 From: Lucidiot Date: Sat, 17 Apr 2021 18:53:32 +0200 Subject: [PATCH] Set monthly updates --- genfeed.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/genfeed.py b/genfeed.py index b94dab9..2842186 100755 --- a/genfeed.py +++ b/genfeed.py @@ -73,9 +73,12 @@ def main(): "docs": "https://www.rssboard.org/rss-specification", "webMaster": "dozens@tilde.town (~dozens)", "generator": "Python " + ".".join(map(str, sys.version_info[:3])), - "sy:updatePeriod": "weekly", + # Update on the first of every month, at midnight UTC + "sy:updatePeriod": "monthly", "sy:updateFrequency": "1", "sy:updateBase": "1971-01-01T00:00+00:00", + # One month, roughly, for clients that do not support mod_syndication + "ttl": 60 * 24 * 30, "item": list(map(parse_book, csv.DictReader(sys.stdin))), } }