Code:
function getContent($url)
{
$ch = curl_init ($url);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 5);
$result = curl_exec($ch);
curl_close ($ch);
return $result;
}
call getContent('http://www.website.com/rss.php'), it'll give you the page's rss feed..
from there you can either load it under
SimpleXML or parse it manually (which could be painful)
Need more help or need something done? Feel free to contact me at xenilk(at)gmail.com