publish both forms of profile pictures in feeds for compatibility. Also set sizes.
This commit is contained in:
parent
c1fb819d34
commit
0f660c25d9
3 changed files with 8 additions and 4 deletions
|
@ -2,7 +2,8 @@
|
||||||
<author>
|
<author>
|
||||||
<name>$name</name>
|
<name>$name</name>
|
||||||
<uri>$profile_page</uri>
|
<uri>$profile_page</uri>
|
||||||
<link rel="photo" type="image/jpeg" href="$thumb" />
|
<link rel="photo" type="image/jpeg" media:width="80" media:height="80" href="$thumb" />
|
||||||
|
<link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="$thumb" />
|
||||||
</author>
|
</author>
|
||||||
|
|
||||||
<thr:in-reply-to ref="$parent_id" />
|
<thr:in-reply-to ref="$parent_id" />
|
||||||
|
|
|
@ -18,5 +18,6 @@
|
||||||
<author>
|
<author>
|
||||||
<name dfrn:updated="$namdate" >$name</name>
|
<name dfrn:updated="$namdate" >$name</name>
|
||||||
<uri dfrn:updated="$uridate" >$profile_page</uri>
|
<uri dfrn:updated="$uridate" >$profile_page</uri>
|
||||||
<link rel="photo" type="image/jpeg" dfrn:updated="$picdate" href="$thumb" />
|
<link rel="photo" type="image/jpeg" dfrn:updated="$picdate" media:width="175" media:height="175" href="$photo" />
|
||||||
|
<link rel="avatar" type="image/jpeg" dfrn:updated="$picdate" media:width="175" media:height="175" href="$photo" />
|
||||||
</author>
|
</author>
|
||||||
|
|
|
@ -2,12 +2,14 @@
|
||||||
<author>
|
<author>
|
||||||
<name>$name</name>
|
<name>$name</name>
|
||||||
<uri>$profile_page</uri>
|
<uri>$profile_page</uri>
|
||||||
<link rel="photo" type="image/jpeg" href="$thumb" />
|
<link rel="photo" type="image/jpeg" media:width="80" media:height="80" href="$thumb" />
|
||||||
|
<link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="$thumb" />
|
||||||
</author>
|
</author>
|
||||||
<dfrn:owner>
|
<dfrn:owner>
|
||||||
<name>$owner_name</name>
|
<name>$owner_name</name>
|
||||||
<uri>$owner_profile_page</uri>
|
<uri>$owner_profile_page</uri>
|
||||||
<link rel="photo" type="image/jpeg" href="$owner_thumb" />
|
<link rel="photo" type="image/jpeg" media:width="80" media:height="80" href="$owner_thumb" />
|
||||||
|
<link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="$owner_thumb" />
|
||||||
</dfrn:owner>
|
</dfrn:owner>
|
||||||
|
|
||||||
<id>$item_id</id>
|
<id>$item_id</id>
|
||||||
|
|
Loading…
Reference in a new issue