lib/carte/server/views/cards.builder in carte-server-0.0.4 vs lib/carte/server/views/cards.builder in carte-server-0.0.5

- old
+ new

@@ -1,10 +1,10 @@ xml.instruct! :xml, version: '1.0' xml.rss version: "2.0", :"xmlns:atom" => "http://www.w3.org/2005/Atom" do xml.channel do xml.tag! "atom:link", href: "http://#{request.host}/api/cards.xml?#{request.env['QUERY_STRING']}", rel: "self", type: "application/rss+xml" - xml.title "carte" - xml.description "something like dictionary, wiki, or information card" + xml.title settings.carte['title'] + xml.description settings.carte['description'] xml.link "http://#{request.host}/" @cards.each do |card| xml.item do xml.title(card.title) xml.description card.content