I want to read a remote RSS feed (have the feed URL) and make few changes to the content, and save it locally as XML file. Any help would be greatly appreciated.
<?php $file_data = file_get_contents('http://www.domain.com/feed.xml'); // do modifications here $fcon = fopen('textfile.txt', 'w') or die("rut roh!"); fwrite($fcon, $file_data); fclose($fcon); ?> PHP: