aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/atom_feed.tpl14
-rw-r--r--view/atom_item.tpl6
2 files changed, 8 insertions, 12 deletions
diff --git a/view/atom_feed.tpl b/view/atom_feed.tpl
index b77b14646..316fcb10b 100644
--- a/view/atom_feed.tpl
+++ b/view/atom_feed.tpl
@@ -2,20 +2,16 @@
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:thr="http://purl.org/syndication/thread/1.0"
xmlns:at="http://purl.org/atompub/tombstones/1.0"
+ xmlns:media="http://purl.org/syndication/atommedia"
xmlns:dfrn="http://purl.org/macgirvin/dfrn/1.0"
xmlns:as="http://activitystrea.ms/spec/1.0/" >
<id>$feed_id</id>
<title>$feed_title</title>
- <icon>$photo</icon>
- <dfrn:icon-updated>$picdate</dfrn:icon-updated>
<updated>$feed_updated</updated>
<author>
- <name>$name</name>
- <dfrn:name-updated>$namdate</dfrn:name-updated>
- <uri>$profile_page</uri>
- <dfrn:uri-updated>$uridate</dfrn:uri-updated>
- <dfrn:avatar>$thumb</dfrn:avatar>
- <dfrn:avatar-updated>$picdate</dfrn:avatar-updated>
- </author>
+ <name dfrn:updated="$namdate" >$name</name>
+ <uri dfrn:updated="$uridate" >$profile_page</uri>
+ <link rel="photo" type="image/jpeg" dfrn:updated="$picdate" href="$thumb" />
+ </author>
diff --git a/view/atom_item.tpl b/view/atom_item.tpl
index 1dae06db5..8104cfaa5 100644
--- a/view/atom_item.tpl
+++ b/view/atom_item.tpl
@@ -2,19 +2,19 @@
<author>
<name>$name</name>
<uri>$profile_page</uri>
- <dfrn:avatar>$thumb</dfrn:avatar>
+ <link rel="photo" type="image/jpeg" href="$thumb" />
</author>
<dfrn:owner>
<dfrn:name>$owner_name</dfrn:name>
<dfrn:uri>$owner_profile_page</dfrn:uri>
- <dfrn:avatar>$owner_thumb</dfrn:avatar>
+ <link rel="photo" type="image/jpeg" href="$owner_thumb" />
</dfrn:owner>
<id>$item_id</id>
<title>$title</title>
<published>$published</published>
<updated>$updated</updated>
- <content>$content</content>
+ <content type="$type" >$content</content>
<dfrn:location>$location</dfrn:location>
<dfrn:comment-allow>$comment_allow</dfrn:comment-allow>
</entry>