Rearrange titles on RSS feeds

https://www.pivotaltracker.com/n/projects/646869/stories/50492161
This commit is contained in:
Kevin Rio
2014-11-12 13:54:01 -05:00
parent 43fa356670
commit 8d74fd52db
7 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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