Archived
2
0
Fork 0

Update profile information and download avatar of remote accounts

This commit is contained in:
Eugen Rochko 2016-02-28 14:26:26 +01:00
parent 2825991e09
commit ad5ae3f60e
9 changed files with 87 additions and 18 deletions

View file

@ -4,12 +4,13 @@ Nokogiri::XML::Builder.new do |xml|
title xml, @account.display_name
subtitle xml, @account.note
updated_at xml, stream_updated_at
logo xml, asset_url(@account.avatar.url(:medium))
author(xml) do
include_author xml, @account
end
link_alternate xml, profile_url(name: @account.username)
link_alternate xml, profile_url(@account)
link_self xml, atom_user_stream_url(id: @account.id)
link_hub xml, HUB_URL
link_salmon xml, salmon_url(@account)