diff options
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 |