Yes, there is a date. This is the date that the data was added to the xml feed:
<published>2010-10-14T13:33:37.572209-08:00</published>
Short answer to your question. I need oldest in db first because of other progs accessing it. Newest must always be last, which is reverse order of xml feed given to me.
Having a hard time understand php arrays.
preg_match_all ("/<entry>([^`]*?)<\/entry>/", $data, $marray);
// Tried both ways, but still gives me the newest one first.
// $matches = array_reverse($marray);
// $matches = array_reverse($marray, true);
foreach ($matches[0] as $match) {
preg_match ("/<published>([^`]*?)<\/published>/", $match, $temp);
$published = $temp[1];
// insert into db
}