Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
4.2 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. <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/">
  2. <generator uri="http://status.net" version="0.9.7">StatusNet</generator>
  3. <id>$rss.self</id>
  4. <title>Friendica</title>
  5. <subtitle>Friendica API feed</subtitle>
  6. <logo>$rss.logo</logo>
  7. <updated>$rss.atom_updated</updated>
  8. <link type="text/html" rel="alternate" href="$rss.alternate"/>
  9. <link type="application/atom+xml" rel="self" href="$rss.self"/>
  10. <author>
  11. <activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
  12. <uri>$user.url</uri>
  13. <name>$user.name</name>
  14. <link rel="alternate" type="text/html" href="$user.url"/>
  15. <link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="$user.profile_image_url"/>
  16. <link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="$user.profile_image_url"/>
  17. <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="$user.profile_image_url"/>
  18. <link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="$user.profile_image_url"/>
  19. <georss:point></georss:point>
  20. <poco:preferredUsername>$user.screen_name</poco:preferredUsername>
  21. <poco:displayName>$user.name</poco:displayName>
  22. <poco:urls>
  23. <poco:type>homepage</poco:type>
  24. <poco:value>$user.url</poco:value>
  25. <poco:primary>true</poco:primary>
  26. </poco:urls>
  27. <statusnet:profile_info local_id="$user.id"></statusnet:profile_info>
  28. </author>
  29. <!--Deprecation warning: activity:subject is present only for backward compatibility. It will be removed in the next version of StatusNet.-->
  30. <activity:subject>
  31. <activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
  32. <id>$user.contact_url</id>
  33. <title>$user.name</title>
  34. <link rel="alternate" type="text/html" href="$user.url"/>
  35. <link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="$user.profile_image_url"/>
  36. <link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="$user.profile_image_url"/>
  37. <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="$user.profile_image_url"/>
  38. <link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="$user.profile_image_url"/>
  39. <poco:preferredUsername>$user.screen_name</poco:preferredUsername>
  40. <poco:displayName>$user.name</poco:displayName>
  41. <poco:urls>
  42. <poco:type>homepage</poco:type>
  43. <poco:value>$user.url</poco:value>
  44. <poco:primary>true</poco:primary>
  45. </poco:urls>
  46. <statusnet:profile_info local_id="$user.id"></statusnet:profile_info>
  47. </activity:subject>
  48. {{ for $statuses as $status }}
  49. <entry>
  50. <activity:object-type>$status.objecttype</activity:object-type>
  51. <id>$status.message_id</id>
  52. <title>$status.text</title>
  53. <content type="html">$status.statusnet_html</content>
  54. <link rel="alternate" type="text/html" href="$status.url"/>
  55. <activity:verb>$status.verb</activity:verb>
  56. <published>$status.published</published>
  57. <updated>$status.updated</updated>
  58. <link rel="self" type="application/atom+xml" href="$status.self"/>
  59. <link rel="edit" type="application/atom+xml" href="$status.edit"/>
  60. <statusnet:notice_info local_id="$status.id" source="$status.source" >
  61. </statusnet:notice_info>
  62. <author>
  63. <activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
  64. <uri>$status.user.url</uri>
  65. <name>$status.user.name</name>
  66. <link rel="alternate" type="text/html" href="$status.user.url"/>
  67. <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="$status.user.profile_image_url"/>
  68. <georss:point/>
  69. <poco:preferredUsername>$status.user.screen_name</poco:preferredUsername>
  70. <poco:displayName>$status.user.name</poco:displayName>
  71. <poco:address/>
  72. <poco:urls>
  73. <poco:type>homepage</poco:type>
  74. <poco:value>$status.user.url</poco:value>
  75. <poco:primary>true</poco:primary>
  76. </poco:urls>
  77. </author>
  78. <link rel="ostatus:conversation" type="text/html" href="$status.url"/>
  79. </entry>
  80. {{ endfor }}
  81. </feed>