aboutsummaryrefslogtreecommitdiffstats
path: root/sample/rss/list_description.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-05 03:03:05 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-05 03:03:05 +0000
commit71976790ec02f88d9fb51fab151312124f6df223 (patch)
tree0a70c0031e53d40f05e846486b25f91070274d66 /sample/rss/list_description.rb
parent43009063c70fe62028eb035e67a06863b98dc540 (diff)
downloadruby-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/list_description.rb')
-rwxr-xr-xsample/rss/list_description.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/rss/list_description.rb b/sample/rss/list_description.rb
index 5f7069f3db..d4b98a9ac6 100755
--- a/sample/rss/list_description.rb
+++ b/sample/rss/list_description.rb
@@ -59,9 +59,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.content ||= "No title"
+ item.title ||= "No title"
item.link ||= "UNKNOWN"
end
end