summaryrefslogtreecommitdiff
path: root/webapp.py
diff options
context:
space:
mode:
authorAndré Glüpker <git@wgmd.de>2021-11-25 14:01:05 +0100
committerAndré Glüpker <git@wgmd.de>2021-11-25 14:01:05 +0100
commitf1f8c1810a9282acdace45066af0804057465446 (patch)
treed86986ae55f7251000d2655cb816d70f146cf7d4 /webapp.py
parentc87bd8fdaa1ed0af1f22902f8b2bfc4e7a6b1e8e (diff)
downloadrss-feeds-f1f8c1810a9282acdace45066af0804057465446.tar.gz
rss-feeds-f1f8c1810a9282acdace45066af0804057465446.tar.bz2
rss-feeds-f1f8c1810a9282acdace45066af0804057465446.zip
Add zammad release notes page
Diffstat (limited to 'webapp.py')
-rwxr-xr-xwebapp.py6
1 files changed, 6 insertions, 0 deletions
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)