kopia lustrzana https://gitlab.com/marnanel/chapeau
52 wiersze
2.8 KiB
XML
52 wiersze
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<feed xmlns="http://www.w3.org/2005/Atom"
|
|
xmlns:thr="http://purl.org/syndication/thread/1.0"
|
|
xmlns:activity="http://activitystrea.ms/spec/1.0/"
|
|
xmlns:poco="http://portablecontacts.net/spec/1.0"
|
|
xmlns:media="http://purl.org/syndication/atommedia"
|
|
xmlns:ostatus="http://ostatus.org/schema/1.0"
|
|
xmlns:mastodon="http://mastodon.social/schema/1.0">
|
|
|
|
<id>{{ self }}</id>
|
|
<title>{{ user.name }}</title>
|
|
<subtitle>{{ user.summary }}</subtitle>
|
|
|
|
<updated>{{ user.updated | date:"Y-m-d\TH:i:s\Z" }}</updated>
|
|
<icon>{{ user.icon }}</icon>
|
|
<logo>{{ user.icon }}</logo>
|
|
|
|
<author>
|
|
<id>{{ user.id }}</id>
|
|
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
|
|
<uri>{{ user.url }}</uri>
|
|
<name>{{ user.id }}</name>
|
|
<email>{{ user.email }}</email>
|
|
<summary type="html"><p>{{ user.summary | escape }}</p></summary>
|
|
<link rel="avatar" type="image/jpeg" media:width="120" media:height="120" href="{{ user.icon }}"/>
|
|
<link rel="header" type="image/jpeg" media:width="700" media:height="335" href="{{ user.header }}"/>
|
|
<poco:preferredUsername>{{ user.preferredUsername }}</poco:preferredUsername>
|
|
<poco:displayName>{{ user.name }}</poco:displayName>
|
|
<poco:note>{{ user.summary }}</poco:note>
|
|
<mastodon:scope>public</mastodon:scope>
|
|
</author>
|
|
|
|
<link rel="self" type="application/atom+xml" href="{{ user.feedURL }}"/>
|
|
{% for s in statuses %}
|
|
<entry>
|
|
<id>{{ s.url }}</id>
|
|
<published>{{ s.published | date:"Y-m-d\TH:i:s\Z" }}</published>
|
|
<updated>{{ s.updated | date:"Y-m-d\TH:i:s\Z" }}</updated>
|
|
<title>{{ s.object__find.content }}</title>
|
|
<activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
|
|
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
|
<link rel="alternate" type="application/activity+json" href="{{ s.url }}"/>
|
|
<link rel="alternate" type="text/html" href="{{ s.url }}"/>
|
|
<content type="html" xml:lang="{{ s.object__find.language }}"><p>{{ s.object__find.content | escape }}</p></content>
|
|
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public" />
|
|
<mastodon:scope>public</mastodon:scope>
|
|
<link rel="self" type="application/atom+xml" href="{{ s.url }}" />
|
|
<ostatus:conversation ref="{{ s.object__find.conversation }}" />
|
|
</entry>
|
|
{% endfor %}
|
|
</feed>
|