From 71976790ec02f88d9fb51fab151312124f6df223 Mon Sep 17 00:00:00 2001 From: kou Date: Sun, 5 Aug 2007 03:03:05 +0000 Subject: * lib/rss, sample/rss, test/rss: - 0.1.7 -> 0.1.8. - supported . - 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 --- sample/rss/rss_recent.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sample/rss/rss_recent.rb') 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 -- cgit v1.2.3