templates/show_feed.xml.erb in weneedfeed-0.8.0 vs templates/show_feed.xml.erb in weneedfeed-0.9.0

- old
+ new

@@ -16,9 +16,12 @@ <pubDate><%= item.time.rfc822 %></pubDate> <% end %> <description><![CDATA[<%= item.description %>]]></description> <content:encoded><![CDATA[<%= item.description %>]]></content:encoded> <guid isPermaLink="true"><%= item.link %></guid> + <% if item.image_url %> + <enclosure url="<%= item.image_url %>" length="0" type="<%= item.image_mime_type %>"/> + <% end %> </item> <% end %> </channel> </rss>