Handling Randomly Updated XML Feeds

From: Date: Tue, 30 Mar 2004 01:19:52 +0000
Subject: Handling Randomly Updated XML Feeds
Groups: php.general 
Request: Send a blank email to php-general+get-181756@lists.php.net to get a copy of this message
Hello everyone, Say, I want to retrieve the Today's XML Feed from site A but site A updates their XML Feed on random days. Also, this XML Feed might have 2 items with the Same Date. What's the best way to retrieve/display the latest XML Feed Item? I ask this because it seems like the running time for my loop would be O(n*n) if I'm not wrong. I should add that my script looks for items created today, then looks for yesterday and if that item is not available, it looks again until it finds something. Thanks. -gohaku

« previous php.general (#181756) next »