Commit e4f776a6 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

monitoring: Display recent status at the top of the rss feed

parent 37b04b63
import datetime import datetime
import uuid
import PyRSS2Gen import PyRSS2Gen
import sys import sys
from email.utils import parsedate_tz, mktime_tz from email.utils import parsedate_tz, mktime_tz
...@@ -35,6 +34,7 @@ while 1: ...@@ -35,6 +34,7 @@ while 1:
items.append(rss_item) items.append(rss_item)
### Build the rss feed ### Build the rss feed
items.reverse()
rss_feed = PyRSS2Gen.RSS2 ( rss_feed = PyRSS2Gen.RSS2 (
title = TITLE, title = TITLE,
link = LINK, link = LINK,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment