mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rss, sample/rss, test/rss:
- 0.1.7 -> 0.1.8. - supported <itunes:XXX>. - reverted backward incompatibility API changes introduced 0.1.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
43009063c7
commit
71976790ec
43 changed files with 3055 additions and 1457 deletions
|
@ -58,8 +58,9 @@ ARGV.each do |fname|
|
|||
|
||||
rss = rss.to_rss("1.0") do |maker|
|
||||
maker.channel.about ||= maker.channel.link
|
||||
maker.channel.description.content ||= "No description"
|
||||
maker.channel.description ||= "No description"
|
||||
maker.items.each do |item|
|
||||
item.title ||= "UNKNOWN"
|
||||
item.link ||= "UNKNOWN"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue