From 27ee98cf4cce74b10ba05e08c08b46df2b3dfacb Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Sat, 29 Oct 2016 17:05:30 +0200 Subject: [PATCH 1/1] Make the image title match the feed title in diary rss This is recommended at https://validator.w3.org/feed/docs/warning/ImageTitleDoesntMatch.html --- app/views/diary_entry/rss.rss.builder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/diary_entry/rss.rss.builder b/app/views/diary_entry/rss.rss.builder index 7adcb3b52..23db5984e 100644 --- a/app/views/diary_entry/rss.rss.builder +++ b/app/views/diary_entry/rss.rss.builder @@ -9,7 +9,7 @@ xml.rss("version" => "2.0", xml.link url_for(:action => "list", :host => SERVER_URL) xml.image do xml.url image_path("mag_map-rss2.0.png") - xml.title "OpenStreetMap" + xml.title @title xml.width "100" xml.height "100" xml.link url_for(:action => "list", :host => SERVER_URL) -- 2.39.5