is there a to_rss for respond_to blocks in 1.2

Ruby has rss functionality built in.
See: http://www.rubyrss.com/

you can do something like this:

in YourController:
def index
    respond_to do |format|
      format.rss { render :xml => YourModel.to_rss }
    end
end

in YourModel:

def self.to_rss()
    rss = RSS::Rss.new( "2.0" )
    channel = RSS::Rss::Channel.new
    channel.title = "Your Title
    channel.description = "Your Description."
    channel.link = "http://www.yoururl.whatever"
    rss.channel = channel

    selected_items = self.find( :all, :order => "created_on
DESC", :limit => 15)
    selected_items.each do |selected|
      item = RSS::Rss::Channel::Item.new
      item.title = selected.headline
      item.description = selected.body
      item.link = "some sort of link to the item"
      item.pubDate = selected.created_on
      channel.items << item
    end

    return rss.to_s
  end

in your environment.rb:
require 'rss/2.0'

- Brian