Search code examples
phpxmlrssfeedsimplepie

SimplePie Problem


I got problem with SimplePie while retrieving mostly feeds.

  • At first, at says to use force_feed()
  • But when i enabled force_feed(), it says again:

    This XML document is invalid, likely due to invalid characters. XML error: EntityRef: expecting ';' at line ... etc

Sample Feed

It is OK on SimplePie Official Demo Page here
I want like that.

p.s. I also have installed all required libraries and are working well.


Solution

  • I suspect the stackoverflow feed is not working due to the nature of the content (contains code).

    I have had similar issues with seemingly "normal" feeds using many feed parsers, though the one I've had the most luck with recently is Zend_Feed. Give it a try from here