diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-05 03:03:05 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-05 03:03:05 +0000 |
commit | 71976790ec02f88d9fb51fab151312124f6df223 (patch) | |
tree | 0a70c0031e53d40f05e846486b25f91070274d66 /sample/rss/rss_recent.rb | |
parent | 43009063c70fe62028eb035e67a06863b98dc540 (diff) | |
download | ruby-71976790ec02f88d9fb51fab151312124f6df223.tar.gz |
* 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
Diffstat (limited to 'sample/rss/rss_recent.rb')
-rwxr-xr-x | sample/rss/rss_recent.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sample/rss/rss_recent.rb b/sample/rss/rss_recent.rb index 1b02835ad1..38b57c37fa 100755 --- a/sample/rss/rss_recent.rb +++ b/sample/rss/rss_recent.rb @@ -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 |