diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-04-21 17:03:31 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-04-21 17:03:31 +0200 |
commit | 41f6ccc039633890b42f3a1a4495dfd8c7262da0 (patch) | |
tree | 0f5725227c81334d7f19b7938e8487929c593c41 /view/api_timeline_rss.tpl | |
parent | e472d79b1e64c91dd3e19227151bdf82eb209192 (diff) | |
download | volse-hubzilla-41f6ccc039633890b42f3a1a4495dfd8c7262da0.tar.gz volse-hubzilla-41f6ccc039633890b42f3a1a4495dfd8c7262da0.tar.bz2 volse-hubzilla-41f6ccc039633890b42f3a1a4495dfd8c7262da0.zip |
More works on api
Diffstat (limited to 'view/api_timeline_rss.tpl')
-rw-r--r-- | view/api_timeline_rss.tpl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/view/api_timeline_rss.tpl b/view/api_timeline_rss.tpl new file mode 100644 index 000000000..d07ac42ad --- /dev/null +++ b/view/api_timeline_rss.tpl @@ -0,0 +1,23 @@ +<feed xml:lang="en-US" xmlns:georss="http://www.georss.org/georss" xmlns="http://www.w3.org/2005/Atom" xmlns:twitter="http://api.twitter.com"> + <title>Friendika</title> + <id>tag:friendika:Status</id> + <link type="text/html" rel="alternate" href="$rss.alternate"/> + <link type="application/atom+xml" rel="self" href="$rss.self"/> + <updated>$rss.updated</updated> + <subtitle>Friendika timeline</subtitle> + {{ for $statuses as $status }} + <entry> + <title>$status.text</title> + <content type="html">$status.text</content> + <id>$status.id</id> + <published>$status.created_at</published> + <updated>$status.created_at</updated> + <link type="text/html" rel="alternate" href="$status.url"/> + <author> + <name>$status.user.name</name> + <uri>$status.user.url</uri> + </author> + <twitter:source>$status.source</twitter:source> + </entry> + {{ endfor }} +</feed>
\ No newline at end of file |