From: Mark Thomas Date: 2009-03-16T07:37:40+09:00 Subject: Re: rAtom and Atom::Generation On Mar 15, 4:42 pm, sutch wrote: > I'm attempting to produce an atom feed using rAtom and have run into > one issue with Atom::Generator.  The docs are not real clear.  I have > created a new generator using: > >   feed.generator = Atom::Generator.new({:version => "0.1"}) > > This produces: > >   > > There does not seem to be a method for setting the contents of the > generator.  What I want output is something along the lines of: > >   My Generator > > Anyone know how this might be accomplished? See the README file for rAtom (http://ratom.rubyforge.org) You use a construct like: feed = Atom::Feed.new do |f| .. end puts feed.to_xml I don't think you use Atom::Generator directly. -- Mark.