mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-24 01:32:40 -04:00
Rearrange titles on RSS feeds
https://www.pivotaltracker.com/n/projects/646869/stories/50492161
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
%rss{:version => 2.0}
|
||||
%channel
|
||||
%title #{ENV['GROWSTUFF_SITE_NAME']} - Recent comments on all posts
|
||||
%title Recent comments on all posts (#{ENV['GROWSTUFF_SITE_NAME']})
|
||||
%link= comments_url
|
||||
- @comments.each do |comment|
|
||||
%item
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
%rss{:version => 2.0}
|
||||
%channel
|
||||
%title #{ENV['GROWSTUFF_SITE_NAME']} - Recently added crops
|
||||
%title Recently added crops (#{ENV['GROWSTUFF_SITE_NAME']})
|
||||
%link= crops_url
|
||||
- @crops.each do |crop|
|
||||
%item
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
%rss{:version => 2.0}
|
||||
%channel
|
||||
%title #{ENV['GROWSTUFF_SITE_NAME']} - #{@member.login_name}'s recent posts
|
||||
%title #{@member.login_name}'s recent posts (#{ENV['GROWSTUFF_SITE_NAME']})
|
||||
%link= member_url(@member)
|
||||
- @posts.each do |post|
|
||||
%item
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%rss{:version => 2.0}
|
||||
%channel
|
||||
%title
|
||||
#{ENV['GROWSTUFF_SITE_NAME']} - Recent plantings from #{ @owner ? @owner : 'all members' }
|
||||
Recent plantings from #{ @owner ? @owner : 'all members' } (#{ENV['GROWSTUFF_SITE_NAME']})
|
||||
%link= plantings_url
|
||||
- @plantings.each do |planting|
|
||||
%item
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%rss{:version => 2.0}
|
||||
%channel
|
||||
%title
|
||||
#{ENV['GROWSTUFF_SITE_NAME']} - Recent posts from #{ @author ? @author : 'all members' }
|
||||
Recent posts from #{ @author ? @author : 'all members' } (#{ENV['GROWSTUFF_SITE_NAME']})
|
||||
%link= posts_url
|
||||
- @posts.each do |post|
|
||||
%item
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
%rss{:version => 2.0}
|
||||
%channel
|
||||
%title #{ENV['GROWSTUFF_SITE_NAME']} - Recent comments on #{@post.subject}
|
||||
%title Recent comments on #{@post.subject} (#{ENV['GROWSTUFF_SITE_NAME']})
|
||||
%link= post_url(@post)
|
||||
- @post.comments.each do |comment|
|
||||
%item
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%rss{:version => 2.0}
|
||||
%channel
|
||||
%title
|
||||
#{ENV['GROWSTUFF_SITE_NAME']} - Recent seeds from #{ @owner ? @owner : 'all members' }
|
||||
Recent seeds from #{ @owner ? @owner : 'all members' } (#{ENV['GROWSTUFF_SITE_NAME']})
|
||||
%link= seeds_url
|
||||
- @seeds.each do |seed|
|
||||
%item
|
||||
|
||||
Reference in New Issue
Block a user