I want to submit to the very same page though, that is the issue for me
On the top of the page I have my text form with the submit button.
Below I want to parse the rss feeds on the fly.
And if possible I'd like to prevent refreshing the page and go for ajax solution instead. And that's where I'm stuck as I dunno how to process the foreach loop
Edit: I guess I will be going for ajax and just pass a finished array