aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/advisories.rss
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/advisories.rss')
-rw-r--r--tmpl/advisories.rss17
1 files changed, 17 insertions, 0 deletions
diff --git a/tmpl/advisories.rss b/tmpl/advisories.rss
new file mode 100644
index 0000000..cdde3c7
--- /dev/null
+++ b/tmpl/advisories.rss
@@ -0,0 +1,17 @@
+[%- USE date -%]
+<?xml version="1.0"?>
+
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
+ <channel>
+ <title>Mageia Advisories</title>
+ <link>[% config.site_url %]</link>
+ <description>Mageia Advisories</description>
+ <language>en</language>
+
+ <atom:link href="[% config.site_url %]/advisories.rss" rel="self" type="application/rss+xml" />
+
+ [%- FOR adv IN advdb.sorted -%]
+ [% INCLUDE advisory_item.rss %]
+ [%- END -%]
+ </channel>
+</rss>