File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
xml . instruct! :xml , :version => "1.0"
2
- xml . rss :version => "2.0" , "xmlns:itunes" => "http://www.itunes.com/dtds/Podcast-1.0.dtd" do
2
+ xml . rss :version => "2.0" ,
3
+ "xmlns:itunes" => "http://www.itunes.com/dtds/Podcast-1.0.dtd" ,
4
+ "xmlns:atom" => "http://www.w3.org/2005/Atom" ,
5
+ "xmlns:media" => "http://search.yahoo.com/mrss/" do
3
6
xml . channel do
4
7
xml . title @title
5
8
xml . description @description
@@ -8,7 +11,7 @@ xml.rss :version => "2.0", "xmlns:itunes" => "http://www.itunes.com/dtds/Podcast
8
11
xml . language "ja"
9
12
10
13
xml . itunes :author , @author
11
- xml . itunes :image , @art_work_url
14
+ xml . itunes :image , :href => @art_work_url
12
15
xml . itunes :type , "episodic"
13
16
xml . itunes :explicit , "clean"
14
17
xml . itunes :owner do
@@ -27,7 +30,6 @@ xml.rss :version => "2.0", "xmlns:itunes" => "http://www.itunes.com/dtds/Podcast
27
30
xml . item do
28
31
xml . title episode . title
29
32
xml . author @author
30
- xml . itunes :image , @art_work_url
31
33
xml . content :encoded , description
32
34
xml . description description
33
35
xml . link "#{ @base_url } #{ episode . url } "
You can’t perform that action at this time.
0 commit comments