I'm trying to parse an RSS feed and I'm having no problems with most if the tags but 1. Let's say my XML RSS feed has the following (small portion of the whole feed):
<item rdf:about="http://www.camelotherald.com/more/197.php">
<title>Archer Bug Discovered</title>
<description>Since Sanya's much smarter than I and has left for the evening, I'm posting this notice. We've found a bug that causes non-max specialized archers to do FAR less damage than they should be with Critical Shots against both monsters and enemy players. If an archer is max-specialized in their bow skill, they probably wouldn't have noticed this, but anyone who was less than max specced in bow is noticing right now that they are doing much less damage than they should be. Please note that this bug affects Critical Shot only - not regular bow shots. We'll have this bug fixed and up on the live servers for you tomorrow morning, and we apologize for the inconvienence this has caused.</description>
<link>http://www.camelotherald.com/more/197.php</link>
<dc:date>2002-02-07 19:14:24</dc:date>
</item>
I have no problem reading the title, link, and description tags, but cannot get the date tags to parse. Here's the function in question:
function characterData($parser, $data) {
global $insideitem, $tag, $title, $description, $link;
if ($insideitem) {
switch ($tag) {
case "TITLE":
$title .= $data;
break;
case "DESCRIPTION":
$description .= $data;
break;
case "LINK":
$link .= $data;
break;
case "DATE":
$date .= $data;
break;
My question is, what tag should I be looking for to get the date?? I tried DC😃ATE and DATE and neither work. Any hints??
Thank you,
Robert