Use a full url for the image in the diary rss feed.
authorAndy Allan <git@gravitystorm.co.uk>
Sat, 29 Oct 2016 15:08:16 +0000 (17:08 +0200)
committerAndy Allan <git@gravitystorm.co.uk>
Sat, 29 Oct 2016 15:08:21 +0000 (17:08 +0200)
Picked up by a validator, see
https://validator.w3.org/feed/docs/error/InvalidFullLink.html

app/views/trace/georss.rss.builder

index 176f2bdbf9c9aa43f8197d4fb74d3283bce2478f..6d3aeebe022d9b6d32dccef09abf2a47ebf3c6a2 100644 (file)
@@ -10,7 +10,7 @@ xml.rss("version" => "2.0",
     xml.link url_for(:controller => :trace, :action => :list, :only_path => false)
 
     xml.image do
-      xml.url image_path("mag_map-rss2.0.png")
+      xml.url image_path("mag_map-rss2.0.png", :host => SERVER_URL)
       xml.title t("trace.georss.title")
       xml.width 100
       xml.height 100