File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -13,25 +13,17 @@ xml.rss :version => "2.0",
13
13
14
14
xml . itunes :author , @author
15
15
xml . itunes :image , :href => @art_work_url
16
- xml . itunes :type , "episodic"
17
16
xml . itunes :explicit , "clean"
18
17
xml . itunes :owner do
19
18
xml . itunes :name , "Yohei Yasukawa"
20
19
xml . itunes :email , "yohei@coderdojo.jp"
21
20
end
22
- xml . itunes :category , :text => "Education" do
23
- xml . itunes :category , :text => "Educational Technology"
24
- end
25
- xml . itunes :category , :text => "Government & Organizations" do
26
- xml . itunes :category , :text => "Non-Profit"
27
- end
21
+ xml . itunes :category , :text => "Education"
28
22
29
23
@episodes . each do |episode |
30
24
description = ActionView ::Base . full_sanitizer . sanitize ( Kramdown ::Document . new ( episode . description , input : 'GFM' ) . to_html ) . strip
31
25
xml . item do
32
26
xml . title episode . title
33
- xml . author @author
34
- xml . content :encoded , description
35
27
xml . description description
36
28
xml . link "#{ @base_url } #{ episode . url } "
37
29
xml . guid ( { :isPermaLink => "false" } , "#{ @base_url } #{ episode . url } " )
You can’t perform that action at this time.
0 commit comments