I am getting the xml file from a newsfeed which they send to my ftp as filename.xml
I am using PHP to extract the data.
Here is a small section of the xml file :
- <title>
- <![CDATA[ DJ US West Daily Pwr Mkt Down; Loads Still Low, Unit Returns ]]>
</title>
<StoryDate>2001-07-11</StoryDate>
And here is a small section of my PHP file :
{ ereg("<title>(.*)</title>",$filechunks[$i], $title);
echo "<tr><td>";
echo $title[1];
echo "</td><td>";
echo "</td></tr>";
}
With this, I getting nothing on the screen.
However, if I replace <title>(.)</title>
with <StoryDate>(.)</StoryDate>
then I get the 2001-07-11, which is correct.
Its just that I can't get whats between the title tags.
thanx