From f1f8c1810a9282acdace45066af0804057465446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Gl=C3=BCpker?= Date: Thu, 25 Nov 2021 14:01:05 +0100 Subject: Add zammad release notes page --- webapp.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'webapp.py') diff --git a/webapp.py b/webapp.py index 84ded9a..552c4a9 100755 --- a/webapp.py +++ b/webapp.py @@ -18,6 +18,7 @@ from flask import Flask, Response from netto import netto from rss import buildRSS from twitter import twitter +from zammad import zammad from zdf import zdf app = Flask(__name__) @@ -70,6 +71,11 @@ def filterZDFFeed(feed): return rssResponse(zdf(feed)) +@app.route("/zammad") +def filterZammadFeed(): + return rssResponse(zammad()) + + if __name__ == "__main__": logging.basicConfig(filename="./main.log", level=logging.INFO) -- cgit v1.2.3