diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2011-08-17 17:35:37 +0200 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2011-08-17 17:35:37 +0200 |
commit | bdf42473a0341f291cd256323d122aa80bb0cb0b (patch) | |
tree | 922a5ba24a34d7ea89673019e82f68436edb7091 /view/api_timeline_atom.tpl | |
parent | 6c423feed2d8bc5bd36d2a1cbac073915e523749 (diff) | |
parent | db03b1ab173d61b1ee75271dac1e48f3475ad42c (diff) | |
download | volse-hubzilla-bdf42473a0341f291cd256323d122aa80bb0cb0b.tar.gz volse-hubzilla-bdf42473a0341f291cd256323d122aa80bb0cb0b.tar.bz2 volse-hubzilla-bdf42473a0341f291cd256323d122aa80bb0cb0b.zip |
Merge remote-tracking branch 'friendika/master' into newui
Diffstat (limited to 'view/api_timeline_atom.tpl')
-rw-r--r-- | view/api_timeline_atom.tpl | 51 |
1 files changed, 8 insertions, 43 deletions
diff --git a/view/api_timeline_atom.tpl b/view/api_timeline_atom.tpl index bd674f330..0e427feaa 100644 --- a/view/api_timeline_atom.tpl +++ b/view/api_timeline_atom.tpl @@ -1,10 +1,10 @@ <feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:georss="http://www.georss.org/georss" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:media="http://purl.org/syndication/atommedia" xmlns:poco="http://portablecontacts.net/spec/1.0" xmlns:ostatus="http://ostatus.org/schema/1.0" xmlns:statusnet="http://status.net/schema/api/1/"> <generator uri="http://status.net" version="0.9.7">StatusNet</generator> - <id>tag:friendika:PublicTimeline</id> - <title>Network on Friendika</title> - <subtitle>Your network updates on Friendika</subtitle> + <id>$rss.self</id> + <title>Friendika</title> + <subtitle>Friendika API feed</subtitle> <logo>$rss.logo</logo> - <updated>$rss.updated</updated> + <updated>$rss.atom_updated</updated> <link type="text/html" rel="alternate" href="$rss.alternate"/> <link type="application/atom+xml" rel="self" href="$rss.self"/> @@ -53,28 +53,17 @@ {{ for $statuses as $status }} <entry> <activity:object-type>$status.objecttype</activity:object-type> - <id>$status.id</id> + <id>$status.message_id</id> <title>$status.text</title> - <content type="html">$status.html</content> + <content type="html">$status.statusnet_html</content> <link rel="alternate" type="text/html" href="$status.url"/> <activity:verb>$status.verb</activity:verb> <published>$status.published</published> <updated>$status.updated</updated> - <!-- - <source> - <id>http://identi.ca/api/statuses/user_timeline/397830.atom</id> - <title>Sin Mobopolitan</title> - <link rel="alternate" type="text/html" href="http://identi.ca/mobopolitan"/> - <link rel="self" type="application/atom+xml" href="http://identi.ca/api/statuses/user_timeline/397830.atom"/> - <link rel="license" href="http://creativecommons.org/licenses/by/3.0/"/> - <icon>http://avatar.identi.ca/397830-96-20110312195623.jpeg</icon> - <updated>2011-04-21T18:39:32+00:00</updated> - </source> - --> <link rel="self" type="application/atom+xml" href="$status.self"/> <link rel="edit" type="application/atom+xml" href="$status.edit"/> - <statusnet:notice_info local_id="$status.id" source="$status.source" favorite="false" repeated="false"> + <statusnet:notice_info local_id="$status.id" source="$status.source" > </statusnet:notice_info> <author> @@ -82,10 +71,8 @@ <uri>$status.user.url</uri> <name>$status.user.name</name> <link rel="alternate" type="text/html" href="$status.user.url"/> - <link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="$status.user.profile_image_url"/> - <link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="$status.user.profile_image_url"/> <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="$status.user.profile_image_url"/> - <link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="$status.user.profile_image_url"/> + <georss:point/> <poco:preferredUsername>$status.user.screen_name</poco:preferredUsername> <poco:displayName>$status.user.name</poco:displayName> @@ -95,29 +82,7 @@ <poco:value>$status.user.url</poco:value> <poco:primary>true</poco:primary> </poco:urls> - <!-- <statusnet:profile_info local_id="123710" following="true" blocking="false"></statusnet:profile_info> --> </author> - <!--Deprecation warning: activity:actor is present only for backward compatibility. It will be removed in the next version of StatusNet.--> - <activity:actor> - <activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type> - <id>$status.user.contact_url</id> - <title>$status.user.name</title> - <link rel="alternate" type="text/html" href="$status.user.url"/> - <link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="$status.user.profile_image_url"/> - <link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="$status.user.profile_image_url"/> - <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="$status.user.profile_image_url"/> - <link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="$status.user.profile_image_url"/> - <georss:point/> - <poco:preferredUsername>$status.user.screen_name</poco:preferredUsername> - <poco:displayName>$status.user.name</poco:displayName> - <poco:address /> - <poco:urls> - <poco:type>homepage</poco:type> - <poco:value>$status.user.url</poco:value> - <poco:primary>true</poco:primary> - </poco:urls> - <!-- <statusnet:profile_info local_id="123710" following="true" blocking="false"></statusnet:profile_info> --> - </activity:actor> <link rel="ostatus:conversation" href="$status.url"/> </entry> |