aboutsummaryrefslogtreecommitdiffstats
path: root/view/api_timeline_atom.tpl
blob: f9c70ebb5bd6f23c7b1052d2f52c42d3c61961d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<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>
 <logo>$rss.logo</logo>
 <updated>$rss.updated</updated>
 <link type="text/html" rel="alternate" href="$rss.alternate"/>
 <link type="application/atom+xml" rel="self" href="$rss.self"/>
 
 
 <author>
	<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
	<uri>$user.url</uri>
	<name>$user.name</name>
	<link rel="alternate" type="text/html" href="$user.url"/>
	<link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="$user.profile_image_url"/>
	<link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="$user.profile_image_url"/>
	<link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="$user.profile_image_url"/>
	<link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="$user.profile_image_url"/>
	<georss:point></georss:point>
	<poco:preferredUsername>$user.screen_name</poco:preferredUsername>
	<poco:displayName>$user.name</poco:displayName>
	<poco:urls>
		<poco:type>homepage</poco:type>
		<poco:value>$user.url</poco:value>
		<poco:primary>true</poco:primary>
	</poco:urls>
	<statusnet:profile_info local_id="$user.id"></statusnet:profile_info>
 </author>

 <!--Deprecation warning: activity:subject is present only for backward compatibility. It will be removed in the next version of StatusNet.-->
 <activity:subject>
	<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
	<id>$user.url</id>
	<title>$user.name</title>
	<link rel="alternate" type="text/html" href="$user.url"/>
	<link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="$user.profile_image_url"/>
	<link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="$user.profile_image_url"/>
	<link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="$user.profile_image_url"/>
	<link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="$user.profile_image_url"/>
	<poco:preferredUsername>$user.screen_name</poco:preferredUsername>
	<poco:displayName>$user.name</poco:displayName>
	<poco:urls>
		<poco:type>homepage</poco:type>
		<poco:value>$user.url</poco:value>
		<poco:primary>true</poco:primary>
	</poco:urls>
	<statusnet:profile_info local_id="$user.id"></statusnet:profile_info>
 </activity:subject>
 
 
  	{{ for $statuses as $status }}
	<entry>
		<activity:object-type>$status.objecttype</activity:object-type>
		<id>$status.id</id>
		<title>$status.text</title>
		<content type="html">$status.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>

		<author>
			<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
			<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>
			<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> -->			
		</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.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>    
    {{ endfor }}
</feed>