1 xml.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8"
3 xml.rss "version" => "2.0",
4 'xmlns:opensearch' => "http://a9.com/-/spec/opensearch/1.1/",
5 'xmlns:atom' => "http://www.w3.org/2005/Atom" do
7 xml.title "Recent Posts in '{topic}' | Beast"[:recent_posts_in_topic,@topic.title]
8 xml.link topic_url(@forum, @topic)
9 xml.language "en-us"[:feed_language]
11 xml.tag! "atom:link", :rel => 'search', :type => 'application/opensearchdescription+xml', :href => "http://#{request.host_with_port+request.relative_url_root}/open_search.xml"
12 xml.description @topic.body
14 render :partial => "layouts/post", :collection => @posts, :locals => {:xm => xml}