xml.instruct!
xml.rss("version" => "2.0") do
  xml.channel do
    xml.title "dradis rss feed"
    xml.link "/home/rss"
    xml.description "This feed containt the latest updates to the dradis knowledge base"
    xml.language "en-gb"

    for feed in @feeds
      xml.item do
        xml.pubDate feed.actioned_at.strftime("%a, %d %b %Y %H:%M:%S %z")
        xml.title feed.title
        xml.description feed.value
      end
    end
  end
end
