Skip to content

Commit de31642

Browse files
committed
Fix wrong way to passing parameters to iTunes RSS
1 parent 4bd194f commit de31642

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/views/podcasts/feed.rss.builder

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ xml.rss :version => "2.0", "xmlns:itunes" => "http://www.itunes.com/dtds/Podcast
77
xml.copyright @copyright
88
xml.language "ja"
99

10-
xml.itunes :author, :text => @author
10+
xml.itunes :author, @author
1111
xml.itunes :image, @art_work_url
1212
xml.itunes :type, "episodic"
1313
xml.itunes :explicit, "clean"
14-
xml.itunes :owner, :text => @author do
15-
xml.itunes :name, :text => "Yohei Yasukawa"
16-
xml.itunes :email, :text => "yohei@coderdojo.jp"
14+
xml.itunes :owner do
15+
xml.itunes :name, "Yohei Yasukawa"
16+
xml.itunes :email, "yohei@coderdojo.jp"
1717
end
1818
xml.itunes :category, :text => "Education" do
1919
xml.itunes :category, :text => "Educational Technology"
@@ -28,7 +28,7 @@ xml.rss :version => "2.0", "xmlns:itunes" => "http://www.itunes.com/dtds/Podcast
2828
xml.title episode.title
2929
xml.author @author
3030
xml.itunes :image, @art_work_url
31-
xml.content :encoded, :text => description
31+
xml.content :encoded, description
3232
xml.description description
3333
xml.link "#{@base_url}#{episode.url}"
3434
xml.guid({:isPermaLink => "false"}, "#{@base_url}#{episode.url}")

0 commit comments

Comments
 (0)