xml.item do
xml.title trace.name
- xml.link url_for(:controller => :traces, :action => :view, :id => trace.id, :display_name => trace.user.display_name, :only_path => false)
- xml.guid url_for(:controller => :traces, :action => :view, :id => trace.id, :display_name => trace.user.display_name, :only_path => false)
+ xml.link url_for(:controller => :traces, :action => :show, :id => trace.id, :display_name => trace.user.display_name, :only_path => false)
+ xml.guid url_for(:controller => :traces, :action => :show, :id => trace.id, :display_name => trace.user.display_name, :only_path => false)
xml.description do
xml.cdata! render(:partial => "description", :object => trace, :formats => [:html])
xml.dc :creator, trace.user.display_name
- xml.pubDate trace.timestamp.to_s(:rfc822)
+ xml.pubDate trace.timestamp.to_formatted_s(:rfc822)
if trace.latitude && trace.longitude
xml.geo :lat, trace.latitude