Make subtitle an HTML element.

This commit is contained in:
Tom Hughes 2009-07-04 12:15:29 +00:00
parent b450ce9d85
commit 0348316d0b

View file

@ -3,7 +3,11 @@ atom_feed(:language => I18n.locale, :schema_date => 2009,
:root_url => url_for(params.merge({ :only_path => false, :format => nil })),
"xmlns:georss" => "http://www.georss.org/georss") do |feed|
feed.title @title
feed.subtitle @description
feed.subtitle :type => 'xhtml' do |xhtml|
xhtml.p @description
end
feed.updated @edits.map {|e| [e.created_at, e.closed_at].max }.max
feed.icon "http://#{SERVER_URL}/favicon.ico"
feed.logo "http://#{SERVER_URL}/images/mag_map-rss2.0.png"