ZF-12082: Zend_Feed_Rss::description() sometimes returns an array and not text
Description
Now then, on a feed which the W3C validator tells me is a valid feed and which upon visual inspection has no quirks (for example http://dailymail.co.uk/home/search.rss/… ) I am getting unexpected results from Zend_Feed_Rss::description().
Yes, I am using brackets [->description() and not ->description] so I would expect to get the text of the returned, BUT what I actually get for this particular feed is this:
array ( 0 => DOMElement::__set_state(array( )), 1 => DOMElement::__set_state(array( )), )
And I wondered if I'm doing something wrong or if the feed is dodgy or if it is something in the framework? Low priority but any advice appreciated. Thank you dudes.
Comments
Posted by Daniel Rhodes (danielrhodeswarp) on 2012-03-02T11:31:09.000+0000
I've just realised that the given feed will be in a constant state of flux, so here I include a snapshot of it where - for me - the mentioned bug is happening:
<?xml version="1.0" encoding="ISO-8859-1"?> www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0"> syria | Search Results | Mail Onlinehttp://dailymail.co.uk/home/search.html/… syria Searchen-gb
Posted by Daniel Rhodes (danielrhodeswarp) on 2012-04-19T11:10:12.000+0000
Ho hum. No interest in this? Never mind, it's probably to do with the:
xmlns:media="http://search.yahoo.com/mrss/"
Isn't it?