]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/rss.rss.builder
Use a full url for the image in the diary rss feed.
[rails.git] / app / views / diary_entry / rss.rss.builder
index d9cc40797eae0653c7a02b1648fd600531460dd6..8a6915bf1ee82453787cd482d38d4d805065d934 100644 (file)
@@ -1,6 +1,7 @@
 xml.instruct!
 
 xml.rss("version" => "2.0",
+        "xmlns:dc" => "http://purl.org/dc/elements/1.1/",
         "xmlns:geo" => "http://www.w3.org/2003/01/geo/wgs84_pos#",
         "xmlns:georss" => "http://www.georss.org/georss") do
   xml.channel do
@@ -8,7 +9,7 @@ xml.rss("version" => "2.0",
     xml.description @description
     xml.link url_for(:action => "list", :host => SERVER_URL)
     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 @title
       xml.width "100"
       xml.height "100"