diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-11 04:08:05 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-11 04:08:05 +0000 |
commit | c51f645b44a1c22d16ffce69fe596f81a1a78050 (patch) | |
tree | 098c2f9c607368c95377a1718f6aa4e504d05583 /lib/rss/maker/1.0.rb | |
parent | fcf9d14561363e9be2ec532be0120994f4da2059 (diff) | |
download | ruby-c51f645b44a1c22d16ffce69fe596f81a1a78050.tar.gz |
* lib/rss/1.0.rb (RSS::RDF::Channel#setup_maker_attributes):
removed self.
* lib/rss/maker/base.rb (RSS::Maker::ItemsBase#<=>): use #date
instead of @date.
(RSS::Maker::Base::self.def_array_element): added #size.
* lib/rss/maker/1.0.rb
(RSS::Maker::RSS10::Channel#to_rss,
RSS::Maker::RSS10::Items::Item#to_rss): cleared dc_dates set
upped by using #date.
* lib/rss/maker/dublincore.rb
(RSS::Maker::ChannelBase, RSS::Maker::ItemsBase::ItemBase):
fixed opposite alias.
* test/rss/test_setup_maker_1.0.rb
(RSS::TestSetupMaker10::test_setup_maker_items_sort): added some
tests for RSS::Maker::ItemsBase#do_sort.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/maker/1.0.rb')
-rw-r--r-- | lib/rss/maker/1.0.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rss/maker/1.0.rb b/lib/rss/maker/1.0.rb index e38a2f89e0..3e6542a007 100644 --- a/lib/rss/maker/1.0.rb +++ b/lib/rss/maker/1.0.rb @@ -31,6 +31,7 @@ module RSS channel = RDF::Channel.new(@about) set = setup_values(channel) if set + channel.dc_dates.clear rss.channel = channel setup_items(rss) setup_image(rss) @@ -143,6 +144,7 @@ module RSS item = RDF::Item.new(@link) set = setup_values(item) if set + item.dc_dates.clear rss.items << item setup_other_elements(rss) end |