templates/show_feed.xml.erb in weneedfeed-0.3.0 vs templates/show_feed.xml.erb in weneedfeed-0.4.0
- old
+ new
@@ -2,10 +2,10 @@
<rss version="2.0"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title><![CDATA[<%= @page.title %>]]></title>
- <link><%= "#{request.base_url}#{request.path}" %></link>
+ <link><%= "#{request.base_url}#{top_page_path}" %></link>
<atom:link href="<%= "#{request.base_url}#{request.path}" %>" rel="self"/>
<description><![CDATA[Recent content on <%= @page.title %>]]></description>
<lastBuildDate><%= Time.now.rfc822 %></lastBuildDate>
<% items.each do |item| %>
<item>