Afficher un message
Vieux 28/03/2008, 22h31   #1
GorseFox
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Simple XML - difficult parsing

I have been using Simple-XML in PHP 5.2.5 to try and parse an RSS feed
from feedburner. Most of what I want has worked just fine... except
the attempt to extract the content from the tag
"<feedburnerrigLink>".

As an example, this tag contains:
<feedburnerrigLink>http://someblog.blogspot.com/2008/03/
php.html</feedburnerrigLink>

Because this tag uses a special character I used:

$item_origlink = (string) $item->{'feedburnerrigLink'};
echo "<p>Original link was: ", $item_origlink , "</p>";

but I never seem to get the content of the tag.

Can anyone offer any suggestions?

Thanks in advance
  Réponse avec citation
 
Page generated in 0,05033 seconds with 9 queries