<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hey all:<br><div><div dir="ltr"><br>Been poking through the osm rails code and found an issue with the wrong URL for the map_map-rss2.0.png image.  It hard codes the URL to be http://www.openstreetmap.org/images/mag_map-rss2.0.png which comes back with a File not found error because there is no route in config/routes.rb for /images/.  So making the following change (did a git diff on my change) will fix the error.  Since I'm not a dev on the repository I thought I'd email in the solution, though I'd love to contribute in any way that I can.<br><br><a href="http://www.openstreetmap.org/diary/rss" target="_blank">http://www.openstreetmap.org/diary/rss</a><br>Source for the above link:<br><pre><?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:georss="http://www.georss.org/georss">
  <channel>
    <title>OpenStreetMap diary entries</title>
    <description>Recent diary entries from users of OpenStreetMap</description>
    <link>http://www.openstreetmap.org/diary</link>
    <image>
      <span style="background-color:rgb(255, 255, 0);"><url>http://www.openstreetmap.org/images/mag_map-rss2.0.png</url></span>
      <title>OpenStreetMap</title>
      <width>100</width>
      <height>100</height><br>... <br></pre><br><div id="ecxinlineImage0" style="display:inline-block;">    <span> </span>    <div class="ecxinlineImage" style="display:inline-block;" unselectable="on"><img src="cid:inlineImage0" height="331" width="372"></div>    <span> </span></div><br><br><br>Thanks,<br><br>Ben Marchant<br>github.com ID: <a href="https://github.com/bmarchant" target="_blank">bmarchant</a><br><br><br><br><b><font style="" face="Courier New,sans-serif">diff --git a/app/views/diary_entry/rss.rss.builder b/app/views/diary_entry/rss.rss.builder</font><font style="" face="Courier New,sans-serif"><br></font><font style="" face="Courier New,sans-serif">index 35f0502..61c51b1 100644</font><font style="" face="Courier New,sans-serif"><br></font><font style="" face="Courier New,sans-serif">--- a/app/views/diary_entry/rss.rss.builder</font><font style="" face="Courier New,sans-serif"><br></font><font style="" face="Courier New,sans-serif">+++ b/app/views/diary_entry/rss.rss.builder</font><font style="" face="Courier New,sans-serif"><br></font></b><font style="" face="Courier New,sans-serif"><b><font style="" color="#2672EC">@@ -8,7 +8,7 @@</font></b> xml.rss("version" => "2.0",</font><font style="" face="Courier New,sans-serif"><br></font><font style="" face="Courier New,sans-serif">     xml.description @description</font><font style="" face="Courier New,sans-serif"><br></font><font style="" face="Courier New,sans-serif">     xml.link url_for(:action => "list", :host => SERVER_URL)</font><font style="" face="Courier New,sans-serif"><br></font><font style="" face="Courier New,sans-serif">     xml.image do</font><font style="" face="Courier New,sans-serif"><br></font><b><font style="" color="#AC193D" face="Courier New,sans-serif">-      xml.url "http://www.openstreetmap.org/images/mag_map-rss2.0.png"</font><font style="" color="#AC193D" face="Courier New,sans-serif"><br></font><font style="" color="#008A17" face="Courier New,sans-serif">+      xml.url path_to_image("mag_map-rss2.0.png")</font><font style="" color="#008A17" face="Courier New,sans-serif"><br></font></b><font style="" face="Courier New,sans-serif">       xml.title "OpenStreetMap"</font><font style="" face="Courier New,sans-serif"><br></font><font style="" face="Courier New,sans-serif">       xml.width "100"</font><font style="" face="Courier New,sans-serif"><br></font><font style="" face="Courier New,sans-serif">       xml.height "100"</font><br><br>                                          </div></div>                                        </div></body>
</html>