Set monthly updates

pull/1/head
Lucidiot 2021-04-17 18:53:32 +02:00
parent b00b383411
commit 2dcb679567
Signed by untrusted user who does not match committer: lucidiot
GPG Key ID: 3358C1CA6906FB8D
1 changed files with 4 additions and 1 deletions

View File

@ -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))),
}
}