From: Andy Allan Date: Sat, 29 Oct 2016 15:05:30 +0000 (+0200) Subject: Make the image title match the feed title in diary rss X-Git-Tag: live~4249^2~3 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/27ee98cf4cce74b10ba05e08c08b46df2b3dfacb?hp=f7b4793c5048e7e939e7d614bed2c1b2473433d3 Make the image title match the feed title in diary rss This is recommended at https://validator.w3.org/feed/docs/warning/ImageTitleDoesntMatch.html --- 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)