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((@changes.first ? @changes.first.event_datetime : Time.now).xmlschema)
8 xml.author { xml.name "#{Setting.app_title}" }
9 @changes.each do |change|
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, :journal_id => change, :only_path => false)
15 xml.updated change.created_on.xmlschema
17 xml.name change.user.name
18 xml.email(change.user.mail)
20 xml.content "type" => "html" do
22 change.details.each do |detail|
23 xml.text! '<li>' + show_detail(detail, false) + '</li>'
26 xml.text! textilizable(change.notes) unless change.notes.blank?