xml.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8"
xml.rss "version"=>"2.0", "xmlns:dc"=>"http://purl.org/dc/elements/1.1/", 
        "xmlns:trackback"=>"http://madskills.com/public/xml/rss/module/trackback/" do
  xml.channel do
    xml.title @feed_title
    xml.link @feed_link
    xml.language "en-us"
    xml.ttl "40"
    xml.description @feed_description
    xml.lastBuildDate @flares_last.updated_at

    for feed in @flares
      xml.item do
        xml.title feed.title
        xml.description feed.description
        xml.pubDate feed.updated_at
        xml.link feed.url
      end
    end
  end
end
