diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-06-13 21:25:47 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-06-13 21:25:47 +0000 |
commit | 598a6147aadc3e3aecca6b2a1f62c86fcf42d6c4 (patch) | |
tree | d2e10383baaf0d987e6873a941947c69964f8bd6 /tmpl/advisories.rss | |
parent | 4c01a9deaaccf95603e4483a4599335ac39a7e0d (diff) | |
download | mgaadvisories-598a6147aadc3e3aecca6b2a1f62c86fcf42d6c4.tar mgaadvisories-598a6147aadc3e3aecca6b2a1f62c86fcf42d6c4.tar.gz mgaadvisories-598a6147aadc3e3aecca6b2a1f62c86fcf42d6c4.tar.bz2 mgaadvisories-598a6147aadc3e3aecca6b2a1f62c86fcf42d6c4.tar.xz mgaadvisories-598a6147aadc3e3aecca6b2a1f62c86fcf42d6c4.zip |
Add RSS feeds
Diffstat (limited to 'tmpl/advisories.rss')
-rw-r--r-- | tmpl/advisories.rss | 17 |
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> |