copying RSS feed / XML to local server (cloning to local)
Posted: Sun Nov 05, 2006 9:34 am
Hi there,
Im very new to php, but have figured out it may be the solution to my problem
I have created a java application that grabs RSS feed from a file, (say yahoo news)
then displays it as a ticker (this works client side). The problem is that java applets arent allowed to read from non local files without the use of a certificate.
I think there might be a way of copying the xml / rss feed to my servers local folder using php e.g:
from : http://rss.news.yahoo.com/rss/topstories
to : http://www.example.com/afile.html
I have had a search on google but couldnt see any easy way of doing this, it was all mostly database related and I just want to save it as a local file.
Does anyone know a simple bit of php that will do this, or a bit of info that I should be looking at?
Thanks for any help
Im very new to php, but have figured out it may be the solution to my problem
I have created a java application that grabs RSS feed from a file, (say yahoo news)
then displays it as a ticker (this works client side). The problem is that java applets arent allowed to read from non local files without the use of a certificate.
I think there might be a way of copying the xml / rss feed to my servers local folder using php e.g:
from : http://rss.news.yahoo.com/rss/topstories
to : http://www.example.com/afile.html
I have had a search on google but couldnt see any easy way of doing this, it was all mostly database related and I just want to save it as a local file.
Does anyone know a simple bit of php that will do this, or a bit of info that I should be looking at?
Thanks for any help