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 | 39cb444582460b2bc5351cea37c92ffb7a370682 (patch) | |
| tree | 0a70c0031e53d40f05e846486b25f91070274d66 /sample/rss/rss_recent.rb | |
| parent | b870981642399af0ce1ba819492ed01af987af4b (diff) | |
| download | ruby-39cb444582460b2bc5351cea37c92ffb7a370682.tar.gz ruby-39cb444582460b2bc5351cea37c92ffb7a370682.tar.xz ruby-39cb444582460b2bc5351cea37c92ffb7a370682.zip | |
* 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: http://svn.ruby-lang.org/repos/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 1b02835ad..38b57c37f 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 |
