Hello, I am using the provided xml class to parse my rss feed from my blog. But when I parse the xml and spit out the array all of the html entities have been removed.
here is what a link looks like: a href="http://picasaweb.google.com/lh/ photo/05ihu8FUhDHgVl9LmOx3kw? authkey=Gv1sRgCLr4g4iGjZCvgwEfeat=embedwebsite" It is missing the < (<) and > (>) signs. and here is the php code: function index() { App::import('Xml'); // antoni-s blog $aBlog = "http://antoni-s.blogspot.com/atom.xml"; // now parse it $antoni_xml =& new XML($aBlog); $antoni_xml = Set::reverse($antoni_xml); // this is what i call magic // see the returned array //debug($antoni_xml); //set the array for antoni-s to news view $this->set('news',$antoni_xml); // antoni-tech blog $tBlog = "http://antoni-tech.blogspot.com/atom.xml"; // now parse it $tech_xml =& new XML($tBlog); $tech_xml = Set::reverse($tech_xml); // this is what i call magic // see the returned array //debug($tech_xml); //set the array for antoni-s to news view $this->set('tech',$tech_xml); }//end function If someone could help I would appreciate it. Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
