I’m trying to write a RoR program to create an RSS feed. I’m pretty sure
the XML it’s producing is valid (it looks fine when viewed in Firefox)
but I get very strange behaviour when testing it in Safari.
If I hit “http://localhost/rss/”, Safari does a redirect to
“feed:http://” and then of course fails. If I’m lucky (!) Safari then
refuses to load any more web pages unless I restart it.
So I experimented by saving the “View Source” of the page (courtesy of
Firefox) into a static file and put that in my ~/Sites dir. Now when I
go to http://localhost/~ratkins/example.xml, I get a redirect to
http://example.xml/, which of course fails.
Can anybody tell me what’s going on?