summaryrefslogtreecommitdiffstats
path: root/sample/rss
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-23 09:24:17 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-23 09:24:17 +0000
commita05edcb1a85aa82826b2234b249864bc6b3be078 (patch)
tree2433c8b783f7af942de18409be11a6fded9852c9 /sample/rss
parentf0e5162753d3e6fd644a4f6555e2acfd43abce60 (diff)
downloadruby-a05edcb1a85aa82826b2234b249864bc6b3be078.tar.gz
ruby-a05edcb1a85aa82826b2234b249864bc6b3be078.tar.xz
ruby-a05edcb1a85aa82826b2234b249864bc6b3be078.zip
* lib/rss/maker/taxonomy.rb: implemented taxonomy module for RSS
Maker. * lib/rss/taxonomy.rb: supported RSS Maker. * lib/rss/maker.rb: added taxonomy module support. * lib/rss/rss.rb: adjusted to other element API. * lib/rss/1.0.rb: adjusted to other element API but backward compatibility is reserved. * lib/rss/0.9.rb: ditto. * test/rss/test_maker_taxo.rb: added test case for taxonomy module for RSS Maker. * test/rss/test_setup_maker_1.0.rb: added tests for taxo:topic. * test/rss/test_setup_maker_1.0.rb: added backward compatibility test. * test/rss/test_setup_maker_0.9.rb: ditto. * test/rss/test_setup_maker_2.0.rb: ditto. * test/rss/rss-testcase.rb: added convenience method for setting up taxo:topic. * test/rss/rss-assertions.rb: added assertion for taxo:topic. * sample/rss/blend.rb: followed new API. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/rss')
-rwxr-xr-xsample/rss/blend.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/rss/blend.rb b/sample/rss/blend.rb
index e578f26a8..2fbd6efed 100755
--- a/sample/rss/blend.rb
+++ b/sample/rss/blend.rb
@@ -61,7 +61,7 @@ rss = RSS::Maker.make("1.0") do |maker|
feeds.each do |feed|
feed.items.each do |item|
- item.setup_maker(maker)
+ item.setup_maker(maker.items)
end
end
maker.items.do_sort = true