Support » Fixing WordPress » fetch_feed works on some feeds, not on others

  • The example code works fine on this RSS feed:

    But not on this one, which works fine in iTunes and the RSS clients I’ve tried:

    The var_dump on the retrieved feed gives:

    fetchedobject(WP_Error)#267 (2) { [“errors”]=> array(1) { [“simplepie-error”]=> array(1) { [0]=> string(59) “A feed could not be found at” } } [“error_data”]=> array(0) { } }

    What’s preventing my feed from working? (As an aside, I think the error handling is incorrect here; clearly there *is* a feed at the URL given, but something *about* the feed is confusing SimplePie or WP… if the error gave more detail I may have been able to fix it myself).

    Any suggestions gratefully received.

  • The topic ‘fetch_feed works on some feeds, not on others’ is closed to new replies.