Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
slapos-mynij-dev
Commits
e4f776a6
Commit
e4f776a6
authored
Apr 16, 2014
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
monitoring: Display recent status at the top of the rss feed
parent
37b04b63
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
stack/monitor/status2rss.py
stack/monitor/status2rss.py
+2
-2
No files found.
stack/monitor/status2rss.py
View file @
e4f776a6
import
datetime
import
uuid
import
PyRSS2Gen
import
sys
from
email.utils
import
parsedate_tz
,
mktime_tz
...
...
@@ -35,6 +34,7 @@ while 1:
items
.
append
(
rss_item
)
### Build the rss feed
items
.
reverse
()
rss_feed
=
PyRSS2Gen
.
RSS2
(
title
=
TITLE
,
link
=
LINK
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment