Here's the situation: I need to call in an RSS feed to display on a
page, and am using the jfeed plugin for jquery to parse the feed and
display it, however, it will only parse a local feed, so in order to
parse a remote one, you need a proxy.
jfeed itself comes with an example proxy written in PHP, fine, but I'm
developing a rails-based website.
So here is my question: is there a way I can call the ruby script, in
a similar way to how you can call a php script, passing a parameter to
it and then using the result?
The example given by jfeed is: url: 'proxy.php?url=http://
(normally this should be the url of the feed, but if it's external you
need the proxy)
If there is no way of doing this, is there a similar way to do it?
Perhaps using AJAX?
Any help would be gratefully appreciated, I'm a bit stumped.