- xml.link url_for(:action => "view", :id => entry.id, :display_name => entry.user.display_name, :host => SERVER_URL)
- xml.guid url_for(:action => "view", :id => entry.id, :display_name => entry.user.display_name, :host => SERVER_URL)
+ xml.link diary_entry_url(entry.user, entry, :only_path => false)
+ xml.guid diary_entry_url(entry.user, entry, :only_path => false)