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 | |
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')
-rwxr-xr-x | sample/rss/blend.rb | 2 | ||||
-rwxr-xr-x | sample/rss/list_description.rb | 4 | ||||
-rwxr-xr-x | sample/rss/rss_recent.rb | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/sample/rss/blend.rb b/sample/rss/blend.rb index 7d6b239613..351f6f373f 100755 --- a/sample/rss/blend.rb +++ b/sample/rss/blend.rb @@ -66,7 +66,7 @@ rss = RSS::Maker.make("1.0") do |maker| end maker.items.each do |item| - item.title.content ||= "UNKNOWN" + item.title ||= "UNKNOWN" item.link ||= "UNKNOWN" end 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 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 |