Make the image title match the feed title in diary rss
authorAndy Allan <git@gravitystorm.co.uk>
Sat, 29 Oct 2016 15:05:30 +0000 (17:05 +0200)
committerAndy Allan <git@gravitystorm.co.uk>
Sat, 29 Oct 2016 15:05:30 +0000 (17:05 +0200)
This is recommended at https://validator.w3.org/feed/docs/warning/ImageTitleDoesntMatch.html

app/views/diary_entry/rss.rss.builder

index 7adcb3b5245309c17693cabaea040e3170d8f8d7..23db5984e836490208101039537a214b101ac850 100644 (file)
@@ -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)