From: Kouhei Sutou Date: 2006-06-15T01:07:15+09:00 Subject: Re: [ANN] rubyrss-1.0 Hi, In <9e7db9110606140759y89c73bet614a9b1708de4186@mail.gmail.com> "Re: [ANN] rubyrss-1.0" on Wed, 14 Jun 2006 23:59:25 +0900, "Austin Ziegler" wrote: > Inasmuch as it is possible, I really think that the RSS libraries > should implement a generic RSS-style description framework and then > have version-specific generators. rss/maker standard distributed library may have features what you want. What you want features are showed by the following code? def setup_maker(maker) maker.channel.XXX = XXX ... item = maker.items.new_item # We can set content:encoded whenever specified version # is "0.91", "1.0" or "2.0". If specified version is # "0.91" or "2.0", the value is just ignored. item.content_encoded = XXX ... end ["0.91", "1.0", "2.0"].each do |version| rss = RSS::Maker.make(version) do |maker| setup_maker(maker) end File.open("#{veresion}.xml", "w") do |f| f.print(rss.to_s) end end I may not understand what you mean. Can I satisfy you? Thanks, -- kou