Page 1 of 1

getFeed Question

Posted: Sat May 23, 2009 11:00 am
by olly79
Hi all,

I'm retrieving an XML feed via php:

Code: Select all

<?php
   header('Content-type: text/xml');
   echo file_get_contents('http://www.somexmlfeed.com/feed.xml');
?>
Now this is working fine and I'm able to work with the XML data to populate my website - this data is only updated when the page is refreshed; therefore I wondered if there was a way I could send out this request every couple of seconds without a page refresh?

Any help much appreciated as I'm struggling with this.