I am a newbie to programming and recently made a rss feeds for my app. Now can anyone gimme a idea bout how I can save rss feeds to my local box from an external rss feeds url. Thanks
I would suggest to use cURL to retrieve the data and any xml-parser to analyze. Or just use google ;-) -> using-php-curl-to-read-rss-feed-xml
Assuming you wanted to read the contents and then save to a local file, you could do the following:
$feedurl = "http://someurl/feed/";
$feedme = file_get_contents($feedurl);
if($feedme):
$fh = fopen('path/to/newfeed.xml', 'w+'); //create new file if not exists
fwrite($fh, $feedme) or die("Failed to write contents to new file"); //write contents to new XML file
fclose($fh) or die("failed to close stream resource"); //close resource stream
else:
die("Failed to read contents of feed at $feedurl");
endif;
That is a REALLY simple example to get you started.