]> git.decadent.org.uk Git - memories.git/blob - templates/recent.rss
Add new dependencies
[memories.git] / templates / recent.rss
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <rss version="2.0" xmlns:media="http://search.yahoo.com/mrss">
3     <channel>
4         <title>Memories photostream</title>
5         <link>[%base%]</link>
6         <description>Recent photos from [%base %]</description>
7 [% FOR photo = request.recent %]
8     <item>
9         <title>[%photo.title|html%]</title>
10         <pubDate>[%photo.shot.strftime("%a, %d %b %Y %H:%M:%S %z") %]</pubDate>
11
12         <description>
13 [% FILTER html %]
14         <a href="[%base%]/photo/view/[%photo.id%]">
15         <img src="[% photo.thumb_url %]" alt="[%photo.title|html%]"/>
16         </a>
17 [% END %]
18         </description>
19     </item>
20 [% END %]
21 </channel>
22 </rss>