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