2 xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
4 xml.link "rel" => "self", "href" => url_for(:controller => 'feeds', :action => 'history', :format => 'atom', :only_path => false)
5 xml.link "rel" => "alternate", "href" => url_for(:controller => 'welcome', :only_path => false)
6 xml.id url_for(:controller => 'welcome', :only_path => false)
7 xml.updated CGI.rfc1123_date(@journals.first.created_on) if @journals.any?
8 xml.author { xml.name "#{Setting.app_title}" }
9 @journals.each do |journal|
12 xml.title "#{issue.project.name} - #{issue.tracker.name} ##{issue.id}: #{issue.subject}"
13 xml.link "rel" => "alternate", "href" => url_for(:controller => 'issues' , :action => 'show', :id => issue, :only_path => false)
14 xml.id url_for(:controller => 'issues' , :action => 'show', :id => issue, :only_path => false)
15 xml.updated CGI.rfc1123_date(journal.created_on)
16 xml.author { xml.name journal.user.name }
17 xml.summary journal.notes
18 xml.content "type" => "html" do
19 xml.text! journal.notes if journal.notes
21 journal.details.each do |detail|
22 xml.text! "<li>" + show_detail(detail, false) + "</li>"