/[soft]/mga-treasurer/trunk/tmpl/donations.rss
ViewVC logotype

Contents of /mga-treasurer/trunk/tmpl/donations.rss

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8546 - (show annotations) (download)
Wed Jun 19 21:58:34 2013 UTC (10 years, 3 months ago) by boklm
File size: 1125 byte(s)
Remove empty line at the top of donations.rss
1 [%- USE date -%]
2 <?xml version="1.0"?>
3
4 <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
5 <channel>
6 <title>[% config.sitename %]: Donations</title>
7 <link>[% config.siteurl %]</link>
8 <description>[% config.sitename %] Donations</description>
9 <language>en</language>
10
11 <atom:link href="[% config.siteurl %]/donations.rss" rel="self" type="application/rss+xml" />
12
13 [%- FOR don IN donations.donations.sort('date').reverse -%]
14
15 <item>
16 <title>[% don.who %] donated [% don.amount %] Euros</title>
17 <link>[% config.siteurl %]/donations_m_[% date.format(don.date, format => '%Y-%m') %].html</link>
18 <guid isPermaLink="false">[% config.sitename %]:donations:[% don.nb %]</guid>
19 <pubDate>[% date.format(don.date, format => '%a, %d %b %Y %H:%M:%S', gmt => 1) %] GMT</pubDate>
20 <category>[% don.sc_name %]</category>
21 <description>
22 [% don.who %] donated [% don.amount %] Euros ([% don.sc_name %]).
23 </description>
24 </item>
25
26 [%- END -%]
27 </channel>
28 </rss>

  ViewVC Help
Powered by ViewVC 1.1.28