Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
diaspora
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Milan
diaspora
Commits
35e75b3c
Commit
35e75b3c
authored
May 31, 2015
by
Steffen van Bergerem
Committed by
Dennis Schubert
Jun 01, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Atom feed: set post title length to 50 and use configured pod name in the feed title
closes #6020
parent
ea63343b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Changelog.md
Changelog.md
+1
-0
app/views/users/public.atom.builder
app/views/users/public.atom.builder
+2
-2
No files found.
Changelog.md
View file @
35e75b3c
...
...
@@ -22,6 +22,7 @@
*
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
)
...
...
app/views/users/public.atom.builder
View file @
35e75b3c
...
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment