mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rss, test/rss:
- supported Atom. - bumped version 0.1.6 to 0.1.7. * sample/rss/convert.rb: added new sample. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
53cbab0484
commit
966a25465a
71 changed files with 10254 additions and 3045 deletions
|
@ -64,6 +64,12 @@ rss = RSS::Maker.make("1.0") do |maker|
|
|||
item.setup_maker(maker.items)
|
||||
end
|
||||
end
|
||||
|
||||
maker.items.each do |item|
|
||||
item.title.content ||= "UNKNOWN"
|
||||
item.link ||= "UNKNOWN"
|
||||
end
|
||||
|
||||
maker.items.do_sort = true
|
||||
maker.items.max_size = 15
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue