I was pleasantly surprised to see how easy it is to use a Builder
template to format the xml for the RSS feed I’m implementing. There were
lots of helpful example on the Web to follow.
My problem has to do with serving the feed.
The feed is initiated in the rss method in my xml_controller; there’s
also an rss.rxml.
If I point my browser to localhost:3000/xml/rss, the content appears in
xml format and looks just right. But my feed reader chokes when I
give it that URL.
If I point to localhost:3000/xml/rss in my browser and do a “save as
/public/xml/rss.xml”, my feed reader has no trouble finding the file and
displays its contents flawlessly.
Does an actual .xml file really need to be saved somewhere? I didn’t
think that was necessary?
Any hints would be greatly appreciated.
What am I missing?