When implementing an RSS feed on this site, we ran into an intersting problem. The feeds worked perfectly on my development machine and on our development server. However, once the site was placed on the live server, the feeds no longer worked.
After searching and trying to debug the issue for quite some time, I noticed I was running Ruby 1.8.2 locally and the server had Ruby 1.8.4. Pulling up IRB on the server, I discovered that 1.8.4 has an RSS library. The RSS namespace I was using on this site (www.plexusweb.com/rss/news) was conflicting with the one built into Ruby. I changed the namespace to be Feeds and all was well with the world again. (www.plexusweb.com/feeds/news)
So just a note of warning. Watch for namespace conflicts!





Post a Comment