diff --git a/Changelog.md b/Changelog.md index 600f856ba..da53f380d 100644 --- a/Changelog.md +++ b/Changelog.md @@ -52,6 +52,7 @@ Ruby 2.0 is no longer officially supported. * Cleanup and reorganize image assets [#6004](https://github.com/diaspora/diaspora/pull/6004) * Replace vendored assets for facebox by gem [#6005](https://github.com/diaspora/diaspora/pull/6005) * Improve styling of horizontal ruler in posts [#6016](https://github.com/diaspora/diaspora/pull/6016) +* Increase post titles length to 50 and use configured pod name as title in the atom feed [#6020](https://github.com/diaspora/diaspora/pull/6020) ## Bug fixes * Disable auto follow back on aspect deletion [#5846](https://github.com/diaspora/diaspora/pull/5846) diff --git a/app/views/users/public.atom.builder b/app/views/users/public.atom.builder index c2720ceb6..872553022 100644 --- a/app/views/users/public.atom.builder +++ b/app/views/users/public.atom.builder @@ -10,7 +10,7 @@ atom_feed({'xmlns:thr' => 'http://purl.org/syndication/thread/1.0', feed.tag! :generator, 'Diaspora', :uri => "#{AppConfig.pod_uri.to_s}" feed.title "#{@user.name}'s Public Feed" - feed.subtitle "Updates from #{@user.name} on diaspora*" + feed.subtitle "Updates from #{@user.name} on #{AppConfig.settings.pod_name}" feed.logo "#{@user.image_url(:thumb_small)}" feed.updated @posts[0].created_at if @posts.length > 0 feed.tag! :link, :rel => 'avatar', :type => 'image/jpeg', 'media:width' => '100', @@ -30,7 +30,7 @@ atom_feed({'xmlns:thr' => 'http://purl.org/syndication/thread/1.0', feed.entry post, :url => "#{@user.url}p/#{post.id}", :id => "#{@user.url}p/#{post.id}" do |entry| - entry.title post.message.title + entry.title post.message.title(length: 50) entry.content post.message.markdownified(disable_hovercards: true), :type => 'html' entry.tag! 'activity:verb', 'http://activitystrea.ms/schema/1.0/post' entry.tag! 'activity:object-type', 'http://activitystrea.ms/schema/1.0/note'