]> git.mxchange.org Git - friendica.git/blob - view/api_timeline_rss.tpl
revup
[friendica.git] / view / api_timeline_rss.tpl
1 <rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:georss="http://www.georss.org/georss" xmlns:twitter="http://api.twitter.com">
2   <channel>
3     <title>Friendika</title>
4     <link>$rss.alternate</link>
5     <atom:link type="application/rss+xml" rel="self" href="$rss.self"/>
6     <description>Friendika timeline</description>
7     <language>$rss.language</language>
8     <ttl>40</ttl>
9         <image>
10                 <link>$user.link</link>
11                 <title>$user.name's items</title>
12                 <url>$user.profile_image_url</url>
13         </image>
14         
15 {{ for $statuses as $status }}
16   <item>
17     <title>$status.user.name: $status.text</title>
18     <description>$status.text</description>
19     <pubDate>$status.created_at</pubDate>
20     <guid>$status.url</guid>
21     <link>$status.url</link>
22     <twitter:source>$status.source</twitter:source>
23   </item>
24 {{ endfor }}
25   </channel>
26 </rss>