]> git.mxchange.org Git - friendica.git/blob - view/smarty3/api_timeline_rss.tpl
e89c7d0803f81a171085f6a2da740671926dddf7
[friendica.git] / view / smarty3 / api_timeline_rss.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6 <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">
7   <channel>
8     <title>Friendica</title>
9     <link>{{$rss.alternate}}</link>
10     <atom:link type="application/rss+xml" rel="self" href="{{$rss.self}}"/>
11     <description>Friendica timeline</description>
12     <language>{{$rss.language}}</language>
13     <ttl>40</ttl>
14         <image>
15                 <link>{{$user.link}}</link>
16                 <title>{{$user.name}}'s items</title>
17                 <url>{{$user.profile_image_url}}</url>
18         </image>
19         
20 {{foreach $statuses as $status}}
21   <item>
22     <title>{{$status.user.name}}: {{$status.text}}</title>
23     <description>{{$status.text}}</description>
24     <pubDate>{{$status.created_at}}</pubDate>
25     <guid>{{$status.url}}</guid>
26     <link>{{$status.url}}</link>
27     <twitter:source>{{$status.source}}</twitter:source>
28   </item>
29 {{/foreach}}
30   </channel>
31 </rss>